joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69a800
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x7add98]
mov ecx, dword [0x7add94]
push ebp
push esi
push edi
push eax
push ecx
call fcn.0068ac30
mov edx, dword [0x7add98]
push edx
call fcn.0068b690
add esp, 0xc
test eax, eax
je 0x69a985
mov eax, dword [0x7d5c40]
mov ebp, dword [sym.imp.kernel32.dll_FreeLibrary]
test eax, eax
mov dword [0x7d5c3c], 1
je 0x69a848
push eax
call ebp
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryA]
push 0x7ade10
call edi
test eax, eax
mov dword [0x7d5c40], eax
jne 0x69a867
pop edi
pop esi
mov eax, 0x80000b10
pop ebp
ret
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x7ade08
push eax
call esi
test eax, eax
jne 0x69a882
pop edi
pop esi
mov eax, 0x80000b10
pop ebp
ret
mov dword [0x7e0670], eax
mov eax, dword [0x7d5c40]
push 0x7addfc
push eax
call esi
test eax, eax
jne 0x69a8a1
pop edi
pop esi
mov eax, 0x80000b10
pop ebp
ret
mov ecx, dword [0x7d5c40]
push 0x7addf0
push ecx
mov dword [0x7e066c], eax
call esi
test eax, eax
jne 0x69a8c1
pop edi
pop esi
mov eax, 0x80000b10
pop ebp
ret
mov edx, dword [0x7d5c40]
push 0x7adde4
push edx
mov dword [0x7e0668], eax
call esi
test eax, eax
jne 0x69a8e1
pop edi
pop esi
mov eax, 0x80000b10
pop ebp
ret
mov dword [0x7e0674], eax
mov eax, dword [0x7d5c48]
test eax, eax
je 0x69a8f2
push eax
call ebp
push 0x7addd4
call edi
test eax, eax
mov dword [0x7d5c48], eax
jne 0x69a90b
pop edi
pop esi
mov eax, 0x80000a00
pop ebp
ret
push 0x7addbc
push eax
call esi
test eax, eax
jne 0x69a920
pop edi
pop esi
mov eax, 0x80000a02
pop ebp
ret
mov dword [0x7e06d0], eax
mov eax, dword [0x7d5c48]
push 0x7adda8
push eax
call esi
test eax, eax
jne 0x69a93f
pop edi
pop esi
mov eax, 0x80000a03
pop ebp
ret
mov dword [0x7e06d4], eax
call dword [0x7e06d0]
xor ecx, ecx
mov cl, ah
cmp cl, 1
jne 0x69a966
pop edi
pop esi
mov dword [0x7d5c44], 1
and eax, 0xff
pop ebp
ret
mov eax, dword [0x7d5c48]
test eax, eax
je 0x69a972
push eax
call ebp
pop edi
pop esi
mov dword [0x7d5c44], 0
mov eax, 0x80000a04
pop ebp
ret
pop edi
pop esi
mov dword [0x7d5c3c], 0
mov eax, 0x80000a01
pop ebp
ret
Function at 0x69bca0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x7add98]
mov ecx, dword [0x7add94]
sub esp, 0x10
push eax
push ecx
call fcn.0068ac30
mov edx, dword [0x7add98]
push edx
call fcn.0068b750
add esp, 0xc
test eax, eax
je 0x69bd38
lea eax, [esp]
push eax
push 0x20019
push 0
push 0x7adf4c
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x69bd13
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0x7adf44
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
jmp 0x69bd1b
mov dword [esp + 4], 0
mov edx, dword [esp]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [esp + 4]
mov dword [0x7d5c58], 1
add esp, 0x10
ret
or eax, 0xffffffff
add esp, 0x10
ret
Function at 0x69c000
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x1c]
push ebp
mov ecx, edx
push esi
mov esi, dword [esp + 0x20]
mov ebp, ecx
push edi
xor eax, eax
mov edi, esi
mov dword [esp + 0xc], 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push eax
push ecx
push edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push 0xc
push edx
push 0x2d1400
push eax
call dword [sym.imp.kernel32.dll_DeviceIoControl]
neg eax
sbb eax, eax
pop edi
and eax, 0xc
pop esi
add eax, 0xfffffff4
pop ebp
add esp, 0x10
ret

Function at 0x69c070
Capabilities:
Get disk information

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [sym.imp.kernel32.dll_CreateFileA]
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
xor edi, edi
mov esi, 0x41
push esi
lea eax, [esp + 0x14]
push 0x7ade28
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x69c0eb
push 0
push 0
push 3
push 0
push 3
lea edx, [esp + 0x24]
push 0x80000000
push edx
mov byte [esp + 0x32], 0
call ebx
cmp eax, 0xffffffff
je 0x69c10b
push ebp
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.0069bd40
add esp, 0xc
test eax, eax
jl 0x69c103
mov eax, dword [esp + 0x58]
inc edi
add ebp, 0x7c
cmp edi, eax
je 0x69c0f1
inc esi
cmp esi, 0x5a
jle 0x69c088
mov ecx, dword [esp + 0x54]
mov dword [0x7d5c54], edi
mov dword [0x7d5c4c], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffff5
pop ebx
add esp, 0x40
ret
Function at 0x69c7c0
Capabilities:
Get disk information
Query or enumerate registry value

Disassembly:
sub esp, 0x30
mov eax, dword [0x7add98]
mov ecx, dword [0x7add94]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x18], ebx
call fcn.0068ac30
mov edx, dword [0x7add98]
push edx
call fcn.0068b690
add esp, 0xc
test eax, eax
je 0x69c7ff
pop edi
pop esi
pop ebp
mov eax, 0x80000c01
pop ebx
add esp, 0x30
ret
mov eax, dword [0x7add98]
mov ebp, dword [sym.imp.user32.dll_wsprintfA]
mov edi, dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, 0x41
mov ecx, dword [eax + 4]
mov dword [0x7d52a8], ecx
push esi
lea edx, [esp + 0x24]
push 0x7ade28
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x24]
mov byte [esp + 0x27], bl
push eax
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x69c881
mov eax, dword [0x7d52a8]
mov byte [esp + 0x26], bl
cmp eax, 4
jg 0x69c859
xor eax, eax
mov ecx, 0x80000000
jmp 0x69c863
mov eax, 3
mov ecx, 0xc0000000
push ebx
push ebx
push 3
push ebx
push eax
push ecx
lea ecx, [esp + 0x38]
push ecx
call edi
cmp eax, 0xffffffff
je 0x69c7f2
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
inc esi
cmp esi, 0x5a
jle 0x69c81e
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push 0x7adf4c
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x69c8d4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
push 0x7adf44
push eax
mov dword [esp + 0x30], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
jmp 0x69c8d8
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [0x7d5c5c], 1
pop ebx
add esp, 0x30
ret
Function at 0x6a0187
Capabilities:
Encode data using xor

Disassembly:
pushfd
sub esp, 0x14
mov dword [esp + 0x10], 0x17412975
mov dword [esp + 0xc], 0x107be
mov dword [esp + 8], edx
mov edx, 0x6a0154
ror dword [esp + 0x10], 8
mov dword [esp + 4], edi
mov edi, dword [edx]
add dword [esp + 0x10], edi
add edx, 4
dec word [esp + 0xc]
jne 0x6a01ad
and byte [esp + 0x10], 0xfe
mov edx, dword [esp + 0x10]
cmp edx, 0x432
je 0x6a01cf
int3
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 4]
add esp, 0x10
popfd
jb 0x6a01fd
add dword [esp], 0x665368
add dword [esp], 0x3aac3
jmp 0x6a01f7
ret
sub esp, 0x20
mov dword [esp + 0x1c], 0xebfb1193
mov dword [esp + 0x18], 0x2007f
mov dword [esp + 0x14], ebp
mov ebp, 0x6a01cc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ebp
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
xor ebp, ecx
add dword [esp + 0x1c], 4
dec word [esp + 0x18]
jne 0x6a0223
cmp ebp, 0xd53
je 0x6a0240
int3
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
add esp, 0x20
add dword [esp], 0x5adc45
add dword [esp], 0xf22c3
jmp 0x6a0255
ret

Function at 0x6bb3cb
Capabilities:
Encode data using xor

Disassembly:
add dword [esp], 0x81
push dword [esp]
sub dword [esp], 0x7e
push dword [esp]
xchg dword [esp], edx
mov edx, dword [edx]
sub esp, 0x24
mov dword [esp + 0x20], 0x6e9c5a21
mov dword [esp + 0x1c], 0x2007f
mov dword [esp + 0x18], eax
mov eax, 0x6bb398
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
xor eax, eax
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx]
xor eax, ebx
add dword [esp + 0x20], 4
dec word [esp + 0x1c]
jne 0x6bb40a
cmp eax, 0x34fa
je 0x6bb426
int3
mov ebx, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x18]
add esp, 0x24
xchg dword [esp], edx
mov dword [esp + 4], 0x6e0004c2
jmp 0x6bb43a
ret 4
Function at 0x6d0ab0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.006d7cfb
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 4], 0
jne 0x6d0af1
xor eax, eax
jmp 0x6d0ba7
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.006d6a60
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jae 0x6d0b7a
mov edx, dword [ebp - 0x10]
push edx
call fcn.006d64d0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x6d0b2a
jmp 0x6d0b7a
mov eax, dword [ebp - 0x18]
sub eax, 1
test eax, eax
jle 0x6d0b4c
mov ecx, dword [ebp - 0x18]
sub ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
call fcn.006d6da0
add esp, 0xc
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xcc
je 0x6d0b69
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x90
jne 0x6d0b6f
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
jmp 0x6d0b0b
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 4]
push ecx
call fcn.00698c00
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.006d7cf0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x6d2610
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e2afc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x528
mov eax, dword [0x7d676c]
mov dword [ebp - 0x14], eax
cmp dword [0x7d6764], 0
jne 0x6d2646
xor eax, eax
jmp 0x6d2763
mov ecx, dword [0x7d6768]
shr ecx, 3
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
sub edx, 1
cmp dword [ebp - 0x14], edx
jl 0x6d2685
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x7d6764]
mov dword [ecx + eax*8 - 4], 0xfffffffd
mov edx, dword [ebp - 0x24]
mov eax, dword [0x7d6764]
mov dword [eax + edx*8 - 8], 0xfffffffd
xor eax, eax
jmp 0x6d2763
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x7d6764]
mov eax, dword [ebp + 0xc]
mov dword [edx + ecx*8], eax
mov dword [ebp - 0x28], 0x7c0960
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.006d2ce0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x6d26bb
xor eax, eax
jmp 0x6d2763
mov eax, dword [0x7d676c]
add eax, 1
mov dword [0x7d676c], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x7c0970
lea edx, [ebp - 0x52c]
push edx
call fcn.00686850
add esp, 0xc
mov dword [ebp - 0x530], eax
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x534], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x534]
call fcn.00686890
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x52c]
call fcn.006868a0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0
push 2
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.006d2c50
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
je 0x6d2760
push 2
call fcn.006d2c40
add esp, 4
xor eax, eax
jmp 0x6d2763
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6de68c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7c3ab0
cmp edx, dword [eax]
je 0x6de6ae
add eax, 8
inc ecx
cmp eax, 0x7c3b40
jl 0x6de69f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7c3ab0]
jne 0x6de7dc
mov eax, dword [0x7d6824]
cmp eax, 1
je 0x6de7b6
test eax, eax
jne 0x6de6df
cmp dword [0x7c1644], 1
je 0x6de7b6
cmp edx, 0xfc
je 0x6de7dc
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6de716
lea eax, [ebp - 0x1a4]
push 0x7c5b88
push eax
call fcn.006d6e00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006d6f50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6de759
lea eax, [ebp - 0x1a4]
push eax
call fcn.006d6f50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7c5b84
push edi
call fcn.006d7560
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7c5b68
push eax
call fcn.006d6e00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006d6e10
lea eax, [ebp - 0xa0]
push 0x7c5b64
push eax
call fcn.006d6e10
push dword [esi + 0x7c3ab4]
lea eax, [ebp - 0xa0]
push eax
call fcn.006d6e10
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7c5b3c
push eax
call fcn.006e083f
add esp, 0x2c
pop edi
jmp 0x6de7dc
lea eax, [ebp + 8]
lea esi, [esi + 0x7c3ab4]
push 0
push eax
push dword [esi]
call fcn.006d6f50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4032b1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4032a0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x4081e9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408228
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408228
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408228
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408228
cmp dword [ecx + 0x74], 0xe
jbe 0x408228
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403040
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43f358
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0xa
lea ecx, [esp + 0x18]
call fcn.00414383
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.00409b60
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.0040a890
add esp, 4
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4030be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0040a4c0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
add esp, 4
push esi
push edx
mov edx, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.00403340
mov esi, eax
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40310f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.0041449a
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x403140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43f358
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0xa
lea ecx, [esp + 0x18]
call fcn.00414383
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.00409b60
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.0040a890
add esp, 4
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4031be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0040a4c0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
add esp, 4
push esi
push edx
mov edx, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.00403670
mov esi, eax
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40320f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.0041449a
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x403240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43f358
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0xa
lea ecx, [esp + 0x18]
call fcn.00414383
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.00409b60
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.0040a890
add esp, 4
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0040a4c0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
add esp, 4
push esi
push edx
mov edx, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
call fcn.00403a10
mov esi, eax
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40330f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.0041449a
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x405610
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x43f828
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.0040f060
lea ecx, [esp + 8]
mov dword [esp + 0xdc], 0
mov dword [0x453d08], ecx
test esi, esi
jne 0x405660
xor eax, eax
jmp 0x40566e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405665
sub eax, edx
push eax
push esi
mov ecx, 0x453cfc
call fcn.00409f10
test edi, edi
jne 0x405682
xor eax, eax
jmp 0x405690
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405687
sub eax, edx
push eax
push edi
mov ecx, 0x453d00
call fcn.00409f10
test ebx, ebx
jne 0x4056a4
xor eax, eax
jmp 0x4056b9
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4056b0
sub eax, edx
push eax
push ebx
mov ecx, 0x453d04
call fcn.00409f10
lea edx, [esp + 4]
push edx
push 0
push 0
push 0x401050
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 8]
call fcn.00414df3
lea ecx, [esp + 0x80]
mov dword [esp + 0xdc], 1
call fcn.0041510a
lea ecx, [esp + 8]
mov dword [esp + 0xdc], 0xffffffff
call fcn.004146a2
xor eax, eax
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xdc
ret

Function at 0x405790
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x43f828
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.0040f060
lea ecx, [esp + 8]
mov dword [esp + 0xdc], 0
mov dword [0x453d08], ecx
test esi, esi
jne 0x4057e0
xor eax, eax
jmp 0x4057ee
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4057e5
sub eax, edx
push eax
push esi
mov ecx, 0x453cfc
call fcn.00409f10
test edi, edi
jne 0x405802
xor eax, eax
jmp 0x405810
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405807
sub eax, edx
push eax
push edi
mov ecx, 0x453d00
call fcn.00409f10
lea edx, [esp + 4]
push edx
push 0
push 0
push 0x401110
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 8]
call fcn.00414df3
lea ecx, [esp + 0x80]
mov dword [esp + 0xdc], 1
call fcn.0041510a
lea ecx, [esp + 8]
mov dword [esp + 0xdc], 0xffffffff
call fcn.004146a2
xor eax, eax
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xdc
ret