joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001688e
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0x7ff80000
mov ebx, 0x10000
jbe 0x100168b2
lea eax, [esi - 0x7ff80000]
mov dword [ebp + 8], eax
jmp 0x100168b5
mov dword [ebp + 8], ebx
cmp esi, 0x80000000
jae 0x100168c8
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x100168cf
mov dword [ebp - 4], 0xfff80000
mov eax, dword [0x10041568]
mov ecx, dword [0x10041564]
test eax, eax
jne 0x100168e9
test ecx, ecx
je 0x100168fe
mov eax, ecx
mov dword [0x10041568], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100168fe
cmp edx, dword [ebp + 8]
jb 0x100168fe
cmp edx, dword [ebp - 4]
jbe 0x10016a57
mov eax, ecx
test ecx, ecx
mov dword [0x10041568], eax
je 0x1001692e
test eax, eax
je 0x10016922
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10016922
cmp ecx, dword [ebp + 8]
jb 0x10016922
cmp ecx, dword [ebp - 4]
jbe 0x10016a57
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x10041568], eax
jne 0x1001690d
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, dword [ebp + 8]
mov edi, esi
jbe 0x10016996
cmp edi, 0x70000000
jb 0x10016953
cmp edi, 0x80000000
ja 0x10016953
mov edi, 0x6fff0000
lea eax, [ebp - 0x20]
push 0x1c
push eax
push edi
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x10016996
cmp dword [ebp - 0x10], ebx
jne 0x1001696e
cmp dword [ebp - 0x14], ebx
jae 0x1001697e
mov eax, dword [ebp - 0x1c]
lea edi, [eax - 0x10000]
cmp edi, dword [ebp + 8]
ja 0x1001693e
jmp 0x10016996
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.kernel32.dll_VirtualAlloc_1]
test eax, eax
mov dword [0x10041568], eax
jne 0x10016a0d
cmp esi, dword [ebp - 4]
jae 0x10016a7e
cmp esi, 0x70000000
jb 0x100169b4
cmp esi, 0x80000000
ja 0x100169b4
mov esi, 0x80010000
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x10016a7e
cmp dword [ebp - 0x10], ebx
jne 0x10016a02
cmp dword [ebp - 0x14], ebx
jb 0x10016a02
mov ecx, esi
and ecx, 0xffff
je 0x100169ea
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x14], eax
add dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.kernel32.dll_VirtualAlloc_1]
test eax, eax
mov dword [0x10041568], eax
jne 0x10016a0d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
lea esi, [eax + ecx]
jmp 0x10016996
mov dword [eax], 0x52727464
mov eax, dword [0x10041568]
xor ecx, ecx
mov dword [eax + 8], ecx
mov eax, dword [0x10041568]
mov edx, dword [0x10041564]
mov dword [eax + 4], edx
mov eax, dword [0x10041568]
mov dword [0x10041564], eax
add eax, 0xffe0
mov edx, 0x7fd
mov dword [eax + 0x18], ecx
mov ecx, eax
sub eax, 0x20
dec edx
jne 0x10016a3f
mov eax, dword [0x10041568]
mov dword [eax + 8], ecx
mov eax, dword [0x10041568]
mov esi, dword [eax + 8]
cmp esi, dword [ebp + 8]
jb 0x10016a7e
cmp esi, dword [ebp - 4]
ja 0x10016a7e
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.10017690
add esp, 0xc
mov eax, esi
jmp 0x10016a80
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10016a85
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d3f8
push 0x100175a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x10016afa
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x5a4d
jne 0x10016af6
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x10016af6
cmp word [eax + 0x14], 0
jne 0x10016aeb
xor eax, eax
or dword [ebp - 4], 0xffffffff
jmp 0x10016afc
mov eax, ecx
jmp 0x10016ae5
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10016b0b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_GetCurrentThreadId_1]
cmp dword [0x10041570], eax
je 0x10016b2a
mov eax, 0x10dd
jmp 0x10016c00
mov eax, dword [0x10041574]
test eax, eax
jne 0x10016c00
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10016b46
push 6
pop eax
jmp 0x10016c00
cmp dword [edi], 0
jne 0x10016b58
push 6
pop eax
mov dword [0x10041574], eax
jmp 0x10016bfa
push 0x18
call fcn.100176e8
mov esi, eax
pop ecx
test esi, esi
jne 0x10016b6b
push 8
pop edi
jmp 0x10016be4
mov edi, dword [edi]
push 0
push dword [ebp + 0xc]
call fcn.100160a0
movzx ecx, byte [edi + 0x17]
mov ebx, dword [edi + 0x18]
xor edx, edx
sub ebx, ecx
cmp ecx, edx
je 0x10016bd9
cmp ecx, 0x17
ja 0x10016bd9
cmp dword [edi + 0x1c], eax
jne 0x10016bd9
lea eax, [ebp - 4]
mov dword [ebp - 4], edx
push eax
push 0x40
push ecx
push ebx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x10016baf
call dword [sym.imp.kernel32.dll_GetLastError_1]
mov edi, eax
jmp 0x10016be4
mov eax, dword [ebp + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x10041580]
mov dword [esi], eax
mov dword [0x10041580], esi
xor eax, eax
jmp 0x10016c00
cmp dword [0x1004156c], edx
push 9
pop edi
jne 0x10016bea
mov dword [0x10041574], edi
test esi, esi
je 0x10016bf5
push esi
call fcn.1001767c
pop ecx
mov eax, edi
mov edi, dword [ebp + 8]
mov dword [0x10041578], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x6c482e10
Capabilities:
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 1
push ecx
sub esp, 0x5c
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov edx, dword [ecx + 8]
test eax, eax
je 0x6c482ee0
cmp eax, 1
jne 0x6c482ecb
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DisableThreadLibraryCalls]
lea eax, [ebp - 0x48]
sub esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionControls_FolderPowerCfg
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x6c482f00
test byte [0x6c484018], 8
jne 0x6c482f68
mov dword [esp + 0xc], str.PowerProfileRegistrySemaphore
mov ebx, 1
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreW]
mov dword [section..bss], eax
sub esp, 0x10
test eax, eax
je 0x6c482fa0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test edx, edx
jne 0x6c482ecb
mov eax, dword [section..bss]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x6c482ecb
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x28
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.LastID
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x6c482f4d
test byte [0x6c484018], 8
jne 0x6c482ff0
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x6c482e91
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionControls_FolderPowerCfg
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Couldnt_open_registry_key_HKLM_s__using_some_sane____defaults_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.DllMain
mov dword [esp + 4], 0x6c484018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6c482e91
test byte [0x6c484018], 2
jne 0x6c482fb0
xor ebx, ebx
jmp 0x6c482ecb
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Couldnt_create_Semaphore:__ld_n
xor ebx, ebx
mov dword [esp + 8], str.DllMain
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6c484018
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x6c482ecb
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionControls_FolderPowerCfg
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Couldnt_open_registry_entry_HKLM_sLastID__using_some_sane____defaults_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.DllMain
mov dword [esp + 4], 0x6c484018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6c482f4d
Function at 0x6c4830c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6c48311b
cmp byte [esi + ebx - 1], 0xa
je 0x6c4830ef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6c4880c4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x40c140
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
call fcn.0049f310
mov edi, eax
add edi, 0xa
push edi
call fcn.004f5441
push edi
mov esi, eax
push 0
push esi
call fcn.00520e40
mov edx, dword [esp + 0x24]
add esp, 0x14
xor eax, eax
test edx, edx
je 0x40c18d
mov cl, byte [edx]
test cl, cl
je 0x40c18d
xor byte [eax + esi], cl
add eax, 1
cmp eax, 0xa
jl 0x40c183
xor eax, eax
mov cl, byte [edx + 1]
add edx, 1
test cl, cl
jne 0x40c176
test ebx, ebx
je 0x40c1af
mov al, byte [ebx]
test al, al
je 0x40c1af
lea ecx, [esi + 0xa]
lea ebx, [ebx]
xor byte [ecx], al
mov al, byte [ebx + 1]
add ebx, 1
add ecx, 1
test al, al
jne 0x40c1a0
mov eax, dword [esp + 0x18]
push eax
push edi
push esi
call fcn.0049fc50
push esi
call fcn.004f543c
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x40dca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x53bfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
call fcn.0040d470
mov eax, dword [eax]
push 0x564af4
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x90], 0
call fcn.0042e2e0
add esp, 0x10
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x80], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dd1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0040d470
add esp, 4
mov eax, dword [eax]
push eax
mov ecx, 0x5ac550
mov byte [esp + 0x84], 3
call fcn.0045d860
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x80], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dd65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, 0x5ac550
call fcn.0045e1d0
mov ecx, 0x5ac530
mov dword [esp + 0x38], 0x5ac530
call fcn.00403c60
fld qword [0x564b88]
cmp dword [ebp + 8], 0
fst qword [esp + 0x3c]
mov byte [esp + 0x80], 4
je 0x40ddfd
fstp st(0)
mov ecx, 0x5adbf0
call fcn.0048a620
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
fst qword [esp + 0x3c]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x40ddc9
fstp qword [esp + 0x3c]
jmp 0x40ddcb
fstp st(0)
mov ecx, 0x5adbf0
call fcn.0048a630
fld qword [esp + 0x3c]
sub eax, 0
je 0x40ddf3
sub eax, 1
je 0x40ddeb
fmul qword [0x564b18]
jmp 0x40ddf9
fmul qword [0x564b80]
jmp 0x40ddf9
fmul qword [0x564b78]
fst qword [esp + 0x3c]
mov edx, dword [0x5ac52c]
push 0x5ac550
push 1
sub esp, 8
fstp qword [esp]
push 0
push edx
call fcn.0040d040
lea eax, [esp + 0x4c]
push eax
call fcn.0042d730
add esp, 0x1c
fld qword [esp + 0x3c]
mov eax, dword [eax]
push 0x5ac550
push 1
sub esp, 8
fstp qword [esp]
push 0x564b70
push eax
mov byte [esp + 0x98], 5
call fcn.0040d040
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x80], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, 0x5ac550
call fcn.0045e360
mov edx, dword [0x5ac530]
mov eax, dword [edx + 0x14]
mov ecx, 0x5ac530
mov byte [esp + 0x80], 2
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dec8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x417750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53cfbb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], 0x56542c
lea edi, [esi + 4]
call fcn.004fc960
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41779d
push 0x80004005
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov edx, dword [esp + 0x24]
test edx, edx
mov dword [esp + 0x1c], 0
jne 0x4177bf
xor eax, eax
jmp 0x4177cf
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4177c4
sub eax, ebx
push eax
push edx
mov ecx, edi
call fcn.004023a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x14], eax
mov eax, 1
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14

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

Disassembly:
push 0xffffffffffffffff
push 0x53ed0b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 4]
mov dword [esi], 0x5668fc
call fcn.0042a280
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x3c], 0x100
mov dword [esi + 0x24], 0x5668ec
mov dword [esi + 0x20], 1
mov dword [esi + 0x18], 0x10000
mov dword [esi + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x475340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5454a3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00475070
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.00402b80
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
mov byte [esp + 0x20], 1
call fcn.00402b80
add esp, 8
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x477240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x545984
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004fc960
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x477286
push 0x80004005
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x1c], ebx
call fcn.004fc960
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4772b2
push 0x80004005
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x1c], 1
call fcn.004fc960
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4772e0
push 0x80004005
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x1c], 2
call fcn.004fc960
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x47730e
push 0x80004005
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 3
call fcn.004738d0
mov ecx, dword [0x56b094]
mov dword [esi + 0x28], ecx
mov edx, dword [0x56b098]
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esi + 0x2c], edx
call fcn.004748c0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov ecx, esi
mov byte [esp + 0x1c], 4
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
call fcn.00473950
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x478090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x545a8b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x30]
sub eax, 0x10
mov dword [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4780df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x24]
call fcn.00478a70
add esi, 0x18
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00473580
mov ecx, dword [esi + 4]
push ecx
call fcn.004f543c
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x478480
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x545af9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00402b80
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.00402b80
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.00402b80
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 2
call fcn.00402b80
add eax, 0x10
add esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
lea edx, [edi + 0x30]
mov dword [esi + 0x2c], ecx
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 3
call fcn.00478220
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x483940
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x547002
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
lea eax, [esp + 0x14]
push 0x224
push eax
call fcn.0049f880
add esp, 8
mov eax, dword [eax]
push 0
push 0
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.0050ab39
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4839ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0xac]
mov dword [esi], 0x56c80c
call fcn.00482f40
lea ecx, [esi + 0x140]
mov byte [esp + 0x24], 3
call fcn.00483020
lea ecx, [esi + 0x20c]
mov byte [esp + 0x24], 4
call fcn.00481ab0
lea ecx, [esi + 0x294]
mov byte [esp + 0x24], 5
call fcn.00482da0
mov byte [esp + 0x24], 6
lea ebp, [esi + 0x324]
call fcn.004fc960
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x483a20
push 0x80004005
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x24], 7
lea ebx, [esi + 0x328]
call fcn.004fc960
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x483a54
push 0x80004005
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x24], 8
lea edi, [esi + 0x32c]
call fcn.004fc960
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x483a87
push 0x80004005
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea eax, [esi + 0xac]
push eax
mov ecx, esi
mov byte [esp + 0x28], 9
call fcn.0050a8d5
lea eax, [esi + 0x140]
push eax
mov ecx, esi
call fcn.0050a8d5
lea eax, [esi + 0x20c]
push eax
mov ecx, esi
call fcn.0050a8d5
lea eax, [esi + 0x294]
push eax
mov ecx, esi
call fcn.0050a8d5
push 0
push 0x564740
mov ecx, ebp
call fcn.004023a0
xor ebp, ebp
push ebp
push 0x564740
mov ecx, ebx
call fcn.004023a0
push ebp
push 0x564740
mov ecx, edi
call fcn.004023a0
mov dword [esi + 0x334], ebp
mov dword [esi + 0x330], ebp
mov ecx, dword [0x5a4c48]
or dword [esi + 0x58], 0x20
mov dword [esi + 0x338], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret