joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180042e80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r9d, r9d
mov r10, r8
mov rbx, rcx
shr r10, 3
mov r11d, r9d
mov esi, r9d
test r10, r10
je 0x180042ed4
mov rdi, rcx
mov rax, rdx
mov rsi, r10
sub rdi, rdx
nop word [rax + rax]
mov rcx, qword [rdi + rax]
add rax, 8
xor rcx, qword [rax - 8]
or r11, rcx
dec r10
jne 0x180042ec0
lea rax, [rsi*8]
sub r8, rax
jne 0x180042ef7
test r11, r11
sete al
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov r10, r11
add rbx, rax
add rdx, rax
shr r10, 0x20
mov rsi, r9
or r10d, r11d
mov r11, r8
shr r11, 2
test r11, r11
je 0x180042f42
mov rdi, rbx
mov rcx, rdx
mov rsi, r11
sub rdi, rdx
nop word [rax + rax]
mov eax, dword [rcx + rdi]
add rcx, 4
xor eax, dword [rcx - 4]
or r10d, eax
dec r11
jne 0x180042f30
lea rax, [rsi*4]
sub r8, rax
jne 0x180042f65
test r10d, r10d
sete al
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
add rbx, rax
add rdx, rax
mov ecx, r10d
shr ecx, 0x18
mov eax, r10d
shr eax, 0x10
or cl, al
mov eax, r10d
shr eax, 8
or cl, al
or cl, r10b
test r8, r8
je 0x180042fa1
sub rbx, rdx
nop dword [rax]
movzx eax, byte [rdx + rbx]
inc rdx
xor al, byte [rdx - 1]
or cl, al
dec r8
jne 0x180042f90
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
test cl, cl
sete al
ret

Function at 0x180043410
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rcx
mov eax, dword [0x180208ed0]
lea rbx, [0x180208ea8]
test al, 1
jne 0x180043456
or eax, 1
mov dword [0x180208ed0], eax
mov rcx, rbx
call fcn.1800368d0
lea rcx, [0x180178690]
call fcn.18011a41c
nop
cmp qword [0x180208ec0], 8
cmovae rbx, qword [0x180208ea8]
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x180047f80
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rbx, rdx
mov rdi, rcx
add rax, 4
add rcx, 8
mov dl, 7
mov qword [rcx + 8], rax
call fcn.1800490a0
mov rdx, rbx
mov rcx, rax
call fcn.180049120
mov r8d, dword [rdi + 0x10]
mov rcx, qword [rdi]
sub r8d, dword [rdi + 8]
mov rax, qword [rdi + 8]
lea r9d, [r8 - 4]
mov dword [rax], r9d
cmp rcx, 0xffffffffffffffff
je 0x180047feb
mov rdx, qword [rdi + 8]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180047f80
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rcx
mov eax, dword [0x180208ed0]
lea rbx, [0x180208ea8]
test al, 1
jne 0x180043456
or eax, 1
mov dword [0x180208ed0], eax
mov rcx, rbx
call fcn.1800368d0
lea rcx, [0x180178690]
call fcn.18011a41c
nop
cmp qword [0x180208ec0], 8
cmovae rbx, qword [0x180208ea8]
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x180047f80
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rbx, rdx
mov rdi, rcx
add rax, 4
add rcx, 8
mov dl, 7
mov qword [rcx + 8], rax
call fcn.1800490a0
mov rdx, rbx
mov rcx, rax
call fcn.180049120
mov r8d, dword [rdi + 0x10]
mov rcx, qword [rdi]
sub r8d, dword [rdi + 8]
mov rax, qword [rdi + 8]
lea r9d, [r8 - 4]
mov dword [rax], r9d
cmp rcx, 0xffffffffffffffff
je 0x180047feb
mov rdx, qword [rdi + 8]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180048000
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, r8
mov rbp, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rax + 8], r12d
mov qword [rdx + 0x18], 7
mov qword [rdx + 0x10], r12
mov word [rdx], r12w
mov dword [rax + 8], 1
mov rax, qword [rcx + 8]
add rax, 4
mov qword [rcx + 0x10], rax
mov dl, 1
add rcx, 8
call fcn.1800490a0
mov rcx, rax
mov rdx, rbx
call fcn.180049120
mov rcx, qword [rdi]
mov r8d, dword [rdi + 0x10]
sub r8d, dword [rdi + 8]
lea edx, [r8 - 4]
mov rax, qword [rdi + 8]
mov dword [rax], edx
cmp rcx, 0xffffffffffffffff
je 0x180048095
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x98]
mov rdx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rdi]
lea rcx, [rdi + 8]
call fcn.180049240
test al, al
je 0x1800480b6
mov rdx, rbp
lea rcx, [rdi + 8]
call fcn.1800491d0
mov rax, rbp
jmp 0x1800480f4
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x1800480cc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
lea rcx, [rsp + 0x38]
call fcn.180119da0
lea r11, vtable.settings_pipe_failed.0
mov qword [rsp + 0x38], r11
lea rdx, [0x1801ea750]
lea rcx, [rsp + 0x38]
call fcn.18011a040
nop
add rsp, 0x50
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800483c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rbx, rdx
mov rsi, rcx
add rax, 4
add rcx, 8
mov dl, 2
mov qword [rcx + 8], rax
mov rdi, r8
call fcn.1800490a0
mov rcx, rax
mov rdx, rbx
call fcn.180049120
mov rdx, rdi
mov rcx, rax
call fcn.180049120
mov r8d, dword [rsi + 0x10]
mov rcx, qword [rsi]
sub r8d, dword [rsi + 8]
mov rax, qword [rsi + 8]
lea r9d, [r8 - 4]
mov dword [rax], r9d
cmp rcx, 0xffffffffffffffff
je 0x18004843e
mov rdx, qword [rsi + 8]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x180048460
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x90
mov rax, qword [0x1801fdc38]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
mov r12, rcx
lea rdx, [0x18019e4f4]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rax, qword [r12 + 8]
lea rcx, [r12 + 8]
add rax, 4
mov dl, 2
mov qword [r12 + 0x10], rax
call fcn.1800490a0
mov rdx, rdi
mov rcx, rax
call fcn.180049120
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
mov rbx, rax
xor eax, eax
repne scasw ax, word [rdi]
mov eax, dword [rbx]
sub eax, dword [rbx + 8]
not rcx
lea rbp, [rcx - 1]
mov ecx, dword [rbx + 0x10]
add ebp, ebp
add eax, ecx
lea edx, [rbp + 4]
cmp eax, edx
jae 0x18004851b
cmp ecx, edx
cmova edx, ecx
add dword [rbx + 0x10], edx
mov ecx, dword [rbx + 0x10]
call fcn.18011a46c
mov ecx, dword [rbx + 8]
sub ecx, dword [rbx]
mov rdi, rax
je 0x180048510
mov rdx, qword [rbx]
mov r8d, ecx
mov rcx, rax
call fcn.180119850
mov rcx, qword [rbx]
call fcn.18011a474
mov qword [rbx], rdi
mov rax, qword [rbx + 8]
lea rdx, [rsp + 0x40]
mov r8d, ebp
mov dword [rax], ebp
add qword [rbx + 8], 4
mov rcx, qword [rbx + 8]
mov edi, ebp
call fcn.180119850
add qword [rbx + 8], rdi
mov r8d, dword [r12 + 0x10]
mov rdi, qword [r12]
mov rax, qword [r12 + 8]
sub r8d, dword [r12 + 8]
lea ecx, [r8 - 4]
mov dword [rax], ecx
cmp rdi, 0xffffffffffffffff
je 0x180048578
mov rdx, qword [r12 + 8]
lea r9, [rsp + 0x30]
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180119820
add rsp, 0x90
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800485a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x90
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1801fdc38]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, r8
mov r12, rdx
mov rbp, rcx
mov qword [rsp + 0x58], rdx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rsp + 0x30], 1
lea rdi, [rcx + 8]
mov rax, qword [rdi]
add rax, 4
mov qword [rdi + 8], rax
mov dl, 3
mov rcx, rdi
call fcn.1800490a0
mov rcx, rax
mov rdx, rbx
call fcn.180049120
mov rcx, qword [rbp]
mov r8d, dword [rdi + 8]
sub r8d, dword [rdi]
lea r9d, [r8 - 4]
mov rax, qword [rdi]
mov dword [rax], r9d
cmp rcx, 0xffffffffffffffff
je 0x180048655
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
mov rdx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbp]
mov rcx, rdi
call fcn.180049240
test al, al
je 0x1800486e6
mov rax, qword [rdi + 8]
mov ebp, dword [rax]
add rax, 4
mov qword [rdi + 8], rax
test ebp, ebp
je 0x1800486e6
nop dword [rax + rax]
mov rax, qword [rdi + 8]
mov ecx, dword [rax]
lea rdx, [rax + 4]
mov qword [rdi + 8], rdx
cmp ecx, 0xffffffff
je 0x1800486be
mov ebx, ecx
mov r8d, ecx
shr r8, 1
lea rcx, [rsp + 0x60]
call fcn.180015970
add qword [rdi + 8], rbx
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1800402e0
inc esi
cmp esi, ebp
jb 0x180048680
jmp 0x1800486e6
lea rcx, [rsp + 0x40]
call fcn.180119da0
lea r11, vtable.missing_setting.0
mov qword [rsp + 0x40], r11
lea rdx, [0x1801e9d80]
lea rcx, [rsp + 0x40]
call fcn.18011a040
nop
cmp qword [rsp + 0x78], 8
jb 0x1800486f8
mov rcx, qword [rsp + 0x60]
call fcn.1801196dc
mov rax, r12
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180119820
add rsp, 0x90
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180048720
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x90
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1801fdc38]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, r8
mov r12, rdx
mov rbp, rcx
mov qword [rsp + 0x58], rdx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rsp + 0x30], 1
lea rdi, [rcx + 8]
mov rax, qword [rdi]
add rax, 4
mov qword [rdi + 8], rax
mov dl, 4
mov rcx, rdi
call fcn.1800490a0
mov rcx, rax
mov rdx, rbx
call fcn.180049120
mov rcx, qword [rbp]
mov r8d, dword [rdi + 8]
sub r8d, dword [rdi]
lea r9d, [r8 - 4]
mov rax, qword [rdi]
mov dword [rax], r9d
cmp rcx, 0xffffffffffffffff
je 0x1800487d5
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
mov rdx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbp]
mov rcx, rdi
call fcn.180049240
test al, al
je 0x180048866
mov rax, qword [rdi + 8]
mov ebp, dword [rax]
add rax, 4
mov qword [rdi + 8], rax
test ebp, ebp
je 0x180048866
nop dword [rax + rax]
mov rax, qword [rdi + 8]
mov ecx, dword [rax]
lea rdx, [rax + 4]
mov qword [rdi + 8], rdx
cmp ecx, 0xffffffff
je 0x18004883e
mov ebx, ecx
mov r8d, ecx
shr r8, 1
lea rcx, [rsp + 0x60]
call fcn.180015970
add qword [rdi + 8], rbx
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1800402e0
inc esi
cmp esi, ebp
jb 0x180048800
jmp 0x180048866
lea rcx, [rsp + 0x40]
call fcn.180119da0
lea r11, vtable.missing_setting.0
mov qword [rsp + 0x40], r11
lea rdx, [0x1801e9d80]
lea rcx, [rsp + 0x40]
call fcn.18011a040
nop
cmp qword [rsp + 0x78], 8
jb 0x180048878
mov rcx, qword [rsp + 0x60]
call fcn.1801196dc
mov rax, r12
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180119820
add rsp, 0x90
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800488a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rbx, rdx
mov rdi, rcx
add rax, 4
add rcx, 8
mov dl, 5
mov qword [rcx + 8], rax
call fcn.1800490a0
mov rdx, rbx
mov rcx, rax
call fcn.180049120
mov r8d, dword [rdi + 0x10]
mov rcx, qword [rdi]
sub r8d, dword [rdi + 8]
mov rax, qword [rdi + 8]
lea r9d, [r8 - 4]
mov dword [rax], r9d
cmp rcx, 0xffffffffffffffff
je 0x18004890b
mov rdx, qword [rdi + 8]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180049240
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0xffffffffffffffff
je 0x1800492da
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov qword [rcx + 8], rax
mov r8d, 4
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800492da
cmp dword [rsp + 0x50], 4
jne 0x1800492da
cmp dword [rbx + 0x10], 0
je 0x1800492cd
mov edx, dword [rsp + 0x48]
mov rcx, rbx
call fcn.180049040
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rbx]
lea r9, [rsp + 0x50]
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800492da
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x50], eax
jne 0x1800492da
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180056410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov byte [r11 + 0x18], r8b
mov qword [r11 + 0x10], rdx
push rbp
sub rsp, 0x70
movsxd rax, dword [rdx + 0x3c]
mov rbp, rdx
cmp dword [rax + rdx + 0x94], 0
je 0x1800565fc
mov qword [r11 - 0x10], rsi
mov esi, dword [rax + rdx + 0x90]
add rsi, rdx
mov qword [rsp + 0x20], rsi
je 0x1800565f7
mov eax, dword [rsi + 0xc]
test eax, eax
je 0x1800565f7
mov qword [r11 + 8], rbx
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
add rcx, 0xa8
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
mov qword [rsp + 0x38], rcx
nop dword [rax]
mov edi, eax
mov r12, rcx
add rdi, rbp
xor ebx, ebx
nop word [rax + rax]
mov rdx, qword [r12]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1800564b1
inc ebx
add r12, 0x18
cmp ebx, 1
jb 0x180056490
jmp 0x1800565bd
mov rdx, qword [rsp + 0x88]
mov ecx, dword [rsi]
mov r14d, dword [rsi + 0x10]
add rcx, rdx
xor r15d, r15d
add r14, rdx
mov qword [rsp + 0x30], rcx
mov rax, rcx
cmp qword [rcx], r15
je 0x1800565b5
xor r13d, r13d
nop dword [rax]
mov rcx, qword [rax]
xor ebp, ebp
cmp dword [r12 + 0x10], ebp
jbe 0x180056593
lea rax, [rdx + rcx + 2]
xor ebx, ebx
mov qword [rsp + 0x28], rax
nop dword [rax]
mov rdi, qword [r12 + 8]
mov rdx, rax
mov rcx, qword [rbx + rdi]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x180056535
lea rsi, [r13 + r14]
cmp byte [rsp + 0x90], al
je 0x18005652b
mov rdi, qword [rbx + rdi + 0x10]
jmp 0x180056530
mov rdi, qword [rbx + rdi + 8]
cmp rdi, qword [rsi]
jne 0x180056549
inc ebp
add rbx, 0x18
cmp ebp, dword [r12 + 0x10]
jae 0x18005658b
mov rax, qword [rsp + 0x28]
jmp 0x180056500
mov rax, qword [0x180204ae0]
mov edx, 8
lea r9, [rsp + 0x98]
lea r8d, [rdx + 0x38]
mov rcx, rsi
call rax
test eax, eax
je 0x18005658b
mov r8d, dword [rsp + 0x98]
lea r9, [rsp + 0x98]
mov edx, 8
mov rcx, rsi
mov qword [rsi], rdi
call qword [0x180204ae0]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x30]
inc r15
lea r13, [r15*8]
add rax, r13
cmp qword [rax], 0
jne 0x1800564e0
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x88]
mov eax, dword [rsi + 0x20]
mov rcx, qword [rsp + 0x38]
add rsi, 0x14
mov qword [rsp + 0x20], rsi
test eax, eax
jne 0x180056480
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x68]
add rsp, 0x70
pop rbp
ret
Function at 0x180057030
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rdi, rcx
mov ecx, dword [rcx + 0x28]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x18005709f
lea ecx, [rax + 0x30]
call fcn.1801196e4
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18005707c
add rax, 0x28
mov qword [rsp + 0x48], rax
mov qword [rax], 0
jmp 0x18005707e
xor ebx, ebx
mov rcx, qword [rdi + 0x40]
mov qword [rbx], rcx
mov qword [rdi + 0x40], rbx
mov dword [rbx + 0x20], 0
mov rdx, rbx
mov ecx, dword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180057b40
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801fdc38]
xor rax, rsp
mov qword [rsp + 0x470], rax
movzx edi, dl
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x180057be3
mov dword [rsp + 0x30], 0x438
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x180057be3
nop dword [rax]
movzx r8d, dil
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.180056410
movzx r8d, dil
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.180057670
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x180057bb0
cmp rbx, 0xffffffffffffffff
je 0x180057bf2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180119820
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x180057c20
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180057c96
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180057c96
lea rdx, [rdi + 0x100]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180057c96
lea rcx, [rdi + 0x100]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rdi + 0x100]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rdi + 0x100]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rdi + 0x308], eax
lea rdx, [rdi + 0x30c]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180057cdc
lea rcx, [rdi + 0x30c]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rdi + 0x30c]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rdi + 0x30c]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rdi + 0x514], eax
mov dl, 1
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.180057b40
Function at 0x180057e10
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
xor ecx, ecx
mov qword [rbx + 0x30], rcx
lea rax, [rbx + 0x38]
mov qword [rsp + 0x48], rax
mov qword [rax], rcx
lea rax, [rbx + 0x40]
mov qword [rsp + 0x48], rax
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 0x28], eax
test eax, eax
je 0x180057e70
lea rdx, [0x180057400]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov qword [rbx + 0x30], rax
jmp 0x180057e70
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180058580
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0x480
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1801fdc38]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
lea rax, vtable.FFJSBlocker.0
mov qword [rcx], rax
mov byte [rcx + 8], 0
lea rbx, [rcx + 0x10]
mov qword [rbx + 0x18], 7
xor r12d, r12d
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
mov qword [rcx + 0x48], r12
xor eax, eax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov word [r11 - 0x238], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [r11 - 0x236]
call fcn.18011a1e0
lea rdx, [rsp + 0x260]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov word [rsp + 0x50], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.18011a1e0
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [0x18017a498]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180015970
lea rcx, [0x18017a480]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x1800586cf
lea rdx, str.FNNtQueryInformationFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180204fd0], rax
lea rdx, [0x18017a448]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180204fc8], rax
test rax, rax
je 0x1800586cf
cmp qword [rbx + 0x18], 8
jb 0x1800586c6
mov rdx, qword [rbx]
jmp 0x1800586c9
mov rdx, rbx
lea rcx, [rsi + 0x38]
call rax
cmp qword [rbx + 0x18], 8
jb 0x1800586db
mov rcx, qword [rbx]
jmp 0x1800586de
mov rcx, rbx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x180058713
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x180058725
mov qword [rbx + 0x10], r12
cmp qword [rbx + 0x18], 8
jb 0x180058721
mov rbx, qword [rbx]
mov word [rbx], r12w
mov rax, rsi
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180119820
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret