joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d7f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push 0x426084
push dword [esp + 0x10]
push dword [0x4486ec]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40d8ec
push ebx
push esi
push dword [0x4486ec]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x40d849
push esi
push dword [0x4486ec]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40d849
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40d850
xor eax, eax
jmp 0x40d8eb
push ebp
push edi
push ebx
xor ebp, ebp
push 2
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x40d8e5
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40d8de
push ebx
push esi
push eax
call fcn.004130c0
add esp, 0xc
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x18]
push eax
push ebp
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40d8d7
push ebp
push dword [esp + 0x1c]
call fcn.0040d78b
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
je 0x40d8d7
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebp
test ecx, ecx
jne 0x40d8cf
push 0xffffff
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x40d8cf
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 4

Function at 0x40dd9b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.00411890
push 0x800
lea eax, [ebp - 0x1020]
push eax
call fcn.0040d7b4
cmp byte [0x454e12], 0
jne 0x40de30
push 6
push dword [0x42f03c]
lea eax, [ebp - 0x1020]
push eax
call fcn.004035a1
push eax
call fcn.00406e36
test eax, eax
jne 0x40de30
push 0x4252b8
call fcn.0040dc49
lea eax, [ebp - 0x1020]
push eax
call fcn.00416ae5
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x101e], cx
lea eax, [ebp - 0x20]
push eax
call fcn.004128a0
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esp, ebp
pop ebp
ret
Function at 0x40de8c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x42f054], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x40ded7
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x45df40], ax
xor eax, eax
mov word [0x45df42], ax
mov dword [0x42f054], 0x45df40
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405b3f
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x42f044
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40e131
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.00411890
cmp byte [0x448738], 0
je 0x40e1da
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0040f58e
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e1da
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e1d1
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x40e1b5
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.00405c1f
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x40e286
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.00411890
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x40e2a1
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x40e2ae
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x40e371
movzx eax, word [esi]
test ax, ax
je 0x40e371
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x40e2fb
test edi, edi
je 0x40e305
test ebx, ebx
jne 0x40e305
test ecx, ecx
je 0x40e2f7
mov byte [ecx], 1
mov ebx, ebp
jmp 0x40e31c
cmp eax, 0xd
je 0x40e32f
cmp eax, 0xa
je 0x40e332
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x40e32a
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x40e2dd
jmp 0x40e332
mov byte [edx], 1
jmp 0x40e332
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x40e36b
mov word [edi], ax
test ebx, ebx
je 0x40e36b
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00405c1f
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x40e373
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x40e37e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x40e3cd
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x40e3d5
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4107c5
Capabilities:
Hide graphical window

Disassembly:
and dword [0x4486e8], 0
push 1
push dword [esp + 8]
mov byte [0x448710], 1
mov byte [0x448711], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.0040113d
cmp dword [0x4486f8], 0
jne 0x410805
cmp byte [0x448716], 0
je 0x41080e
cmp dword [0x44870c], 0
jne 0x410821
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x4108f4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00411890
cmp byte [0x448738], 0
je 0x41097e
cmp word [0x45cf40], 0
je 0x41097e
push esi
lea eax, [ebp - 0x1008]
push eax
push 0x45cf40
call fcn.0040f58e
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41097d
push dword [ebp + 8]
call fcn.00416ae5
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x410984
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.00411890
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.004059f6
mov esi, eax
test esi, esi
je 0x4109dc
movzx ecx, word [esi]
push ecx
jmp 0x4109c7
add esi, 2
movzx eax, word [esi]
push eax
call fcn.00405aed
test al, al
jne 0x4109c0
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40b5ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041e1c0
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x40b5ca
xor al, al
jmp 0x40b734
push ebx
push edi
push esi
call fcn.0040b746
push esi
call fcn.004233f3
pop ecx
push esi
mov edi, eax
call fcn.0040b772
test al, al
je 0x40b65c
push esi
call fcn.0040b746
test al, al
je 0x40b613
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40b730
push dword [ebp + 0x10]
push str.__
push dword [ebp + 0xc]
call fcn.0040fd96
push dword [ebp + 0x10]
jmp 0x40b723
push 0x5c
pop eax
cmp word [esi], ax
jne 0x40b730
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x40b730
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x40b730
push esi
push str.__
push dword [ebp + 0xc]
call fcn.0040fd96
push esi
push 0x4328b8
push dword [ebp + 0xc]
call fcn.0040fd6e
push esi
push ebx
jmp 0x40b724
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40b730
cmp eax, ebx
ja 0x40b730
movzx eax, word [esi]
push eax
call fcn.0040b84d
test al, al
je 0x40b6c3
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x40b730
push edi
push str.__
push dword [ebp + 0xc]
call fcn.0040fd96
xor eax, eax
mov word [ebp - 0xffc], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.0040fd6e
jmp 0x40b722
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040b147
lea eax, [ebp - 0x1000]
push eax
call fcn.004233f3
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x40b730
push edi
push str.__
push dword [ebp + 0xc]
call fcn.0040fd96
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.0040fd6e
cmp word [esi], 0x2e
jne 0x40b722
movzx eax, word [esi + 2]
push eax
call fcn.0040b84d
test al, al
je 0x40b722
add esi, 4
push edi
push esi
push dword [ebp + 0xc]
call fcn.0040fd6e
mov al, 1
jmp 0x40b732
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40c36c
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40c389
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40c381
cmp cl, byte [edx]
jne 0x40c3c4
push esi
push edx
push 0xffffffffffffffff
call fcn.00405f0c
not eax
mov ecx, ebx
cmp dword [ecx + 0x43d02c], eax
jne 0x40c3aa
cmp dword [ecx + 0x43d028], esi
je 0x40c3b5
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40c39a
jmp 0x40c3c4
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43d030]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc
Function at 0x40b220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ef1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x92306c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x48], esi
lea edx, [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00406370
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cc50
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
jbe 0x40b2c5
nop
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
mov esi, 0x925584
lea ecx, [ebp - 0x40]
cmovae edi, dword [ebp - 0x28]
mov eax, ebx
cmp dword [0x925598], 0x10
cmovae esi, dword [0x925584]
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
xor edx, edx
div dword [0x925594]
mov al, byte [edx + esi]
xor al, byte [edi + ebx]
mov byte [ecx + ebx], al
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x40b280
mov esi, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00409140
lea ecx, [ebp - 0x40]
call fcn.0040f480
lea ecx, [ebp - 0x28]
call fcn.0040f480
lea ecx, [ebp + 8]
call fcn.0040f480
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00795bb5
mov esp, ebp
pop ebp
ret

Function at 0x40fdd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x92306c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40fe92
cmp byte [esi + 0x3e], 0
je 0x40fe92
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x40fe80
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40fe48
sub eax, 1
je 0x40fe4c
sub eax, 2
jne 0x40fe80
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00795bb5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40fe69
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0079d244
add esp, 0x10
cmp edi, eax
jne 0x40fe80
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00795bb5
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00795bb5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00795bb5
mov esp, ebp
pop ebp
ret
Function at 0x40ff90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x92306c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x41004a
cmp byte [esi + 0x3d], 0
je 0x41004a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x410038
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x410000
sub eax, 1
je 0x410004
sub eax, 2
jne 0x410038
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00795bb5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x410021
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0079d244
add esp, 0x10
cmp edi, eax
jne 0x410038
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00795bb5
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00795bb5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00795bb5
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f1f12
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x92306c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x30]
call fcn.0042d77d
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x2c]
call fcn.0042d77d
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x28]
call fcn.0042d77d
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x24]
call fcn.0042d77d
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0x20]
call fcn.0042d77d
mov dword [ebp - 4], 5
mov ecx, dword [esi + 0x1c]
call fcn.0042d77d
mov dword [ebp - 4], 6
mov ecx, dword [esi + 0x18]
call fcn.0042d77d
mov dword [ebp - 4], 7
mov ecx, dword [esi + 0xc]
call fcn.0042d77d
mov dword [ebp - 4], 8
mov ecx, dword [esi + 4]
call fcn.0042d77d
mov dword [ebp - 4], 9
mov ecx, dword [esi]
call fcn.0042d77d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x47293c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x7f6e0b
call fcn.007eae2c
push ecx
push esi
mov esi, ecx
push edi
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi], edi
call fcn.004411e4
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 4], edi
test ecx, ecx
je 0x47297a
mov dword [esi + 4], ecx
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 1
mov dword [esi + 8], edi
test ecx, ecx
je 0x47299b
mov dword [esi + 8], ecx
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

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

Disassembly:
mov eax, 0x7f70fc
call fcn.007eae2c
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042d734
mov dword [esi], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0042d734
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov byte [esi + 8], bl
call fcn.0042d734
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 2
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0042d734
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 3
call fcn.0042d734
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 4
call fcn.0042d734
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 5
call fcn.0042d734
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 6
call fcn.0042d734
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 7
call fcn.0042d734
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 8
call fcn.0042d734
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x47782c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x7f747d
call fcn.007eae2c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0042cf58
mov dword [esi], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov eax, 0xff
mov ebx, 0x80000000
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ebx
mov edi, 0xc0000000
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], ecx
mov byte [ebp - 4], 5
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], edi
call fcn.0042d734
mov dword [esi + 0x88], eax
mov byte [ebp - 4], 6
or dword [esi + 0x8c], 0xffffffff
mov dword [esi + 0x90], ebx
and dword [esi + 0x94], 0
mov dword [esi + 0x98], edi
call fcn.0042d734
mov dword [esi + 0x9c], eax
xor edi, edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov byte [ebp - 4], 8
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], 0x800000
call fcn.0042d734
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
or dword [esi + 0xc0], 0xffffffff
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], 0x800000
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x7f74b2
call fcn.007eae2c
push ecx
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [ebp - 4], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xff
mov eax, 0x80000000
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], 0xc0000000
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov byte [ebp - 4], 2
mov dword [esi + 0x2c], eax
call fcn.0042d734
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x477b01
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7f21c0
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x30]
call fcn.0042d77d
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 1
call fcn.0047860b
lea ecx, [esi + 0xc]
call fcn.00476ed1
lea ecx, [esi + 4]
mov dword [ebp - 4], 2
call fcn.0047860b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x478e42
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x7f78a9
call fcn.007eae2c
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x872a48
mov dword [esi + 4], ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.0047782c
lea ecx, [esi + 0xf8]
mov byte [ebp - 4], 1
call fcn.00477aa0
push ecx
lea ecx, [esi + 0x12c]
mov byte [ebp - 4], 2
call fcn.00478233
lea eax, [esi + 0x468]
mov dword [ebp - 0x14], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], ebx
mov byte [ebp - 4], 0x16
mov dword [esi + 8], 0x87f280
mov dword [esi], 0x87f288
mov dword [esi + 8], 0x87f2b0
call fcn.0042d734
mov dword [esi + 0x4b0], eax
mov word [esi + 0x4b4], bx
mov byte [esi + 0x4b6], bl
mov dword [esi + 0x4b8], ebx
mov dword [esi + 0x4bc], ebx
mov dword [esi + 0x4c0], ebx
mov dword [esi + 0x4c4], ebx
mov dword [esi + 0x4c8], ebx
mov dword [esi + 0x4cc], ebx
mov dword [esi + 0x4d0], ebx
mov dword [esi + 0x4d4], ebx
mov dword [esi + 0x4d8], ebx
mov byte [esi + 0x4dc], 1
mov dword [esi + 0x4e0], ebx
mov dword [esi + 0x4e4], ebx
mov dword [esi + 0x4e8], ebx
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x4ec], ebx
mov dword [esi + 0x4f0], ebx
mov dword [esi + 0x4f4], ebx
mov dword [esi + 0x4f8], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret