joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444770
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b87d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4f52c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x4f4f18]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x4f4f18
mov dword [ebp - 0x18], esi
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x4447dc
test ebx, 0xffff0000
jne 0x4447dc
movzx edi, bx
call fcn.004019a0
test eax, eax
je 0x4447e4
push eax
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.00406b90
jmp 0x4447e4
lea eax, [ebp - 0x10]
call fcn.00406a20
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call fcn.00444da0
lea esi, [ebp - 0x14]
call fcn.00444940
push 0xa
push str.upload.dat
mov ebx, esi
mov byte [ebp - 4], 2
call fcn.00406d60
mov ecx, dword [ebp - 0x14]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4448da
lea edx, [ebp - 0x1c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [ebp - 0x10]
cmp dword [edi - 4], 1
mov ebx, dword [edi - 0xc]
jle 0x444867
push ebx
lea ecx, [ebp - 0x10]
push ecx
call fcn.00406aa0
mov edi, dword [ebp - 0x10]
push 0
lea edx, [ebp - 0x18]
push edx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4448a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4448c3
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4448fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444923
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444aa0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7ff1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4f52c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov edi, 1
mov dword [ebp - 4], edi
mov eax, dword [0x4f4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f4f18
call edx
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
push 0x288
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], 0x288
call fcn.004990eb
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x444b9c
lea edx, [ebp - 0x10]
push edx
mov esi, ebx
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x444b29
cmp eax, 0x6f
jne 0x444b9c
mov eax, dword [ebp - 0x10]
push eax
call fcn.004990eb
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x444b49
push ebx
call fcn.00499080
mov esi, edi
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x444ba9
lea ecx, [ebp - 0x10]
push ecx
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x444b9c
movzx edx, byte [esi + 0x199]
movzx eax, byte [esi + 0x198]
movzx ecx, byte [esi + 0x197]
mov edi, dword [ebp + 8]
push edx
movzx edx, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push ecx
movzx ecx, byte [esi + 0x194]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X
call fcn.00401f80
add esp, 0x1c
test esi, esi
je 0x444ba9
push esi
call fcn.00499080
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4462e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push edi
mov dword [ebp - 0xc], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jg 0x44630a
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00499075
add esp, 4
push eax
push esi
xor esi, esi
push esi
push edi
mov dword [ebx + 0x38], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x446302
mov eax, dword [ebx + 0x38]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x4c891c
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x446302
mov esi, dword [ebp - 4]
lea edi, [ebx + 4]
mov ecx, 0xd
mov dword [ebp - 0x10], edi
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x38]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push str.VarFileInfoTranslation
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x446380
cmp dword [ebp - 8], 4
jb 0x446380
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebx + 0x3c], edx
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ecx], 0xfeef04bd
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x446e00
Capabilities:
Get common file path

Disassembly:
push edi
push 1
push 0x1a
mov edi, eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x446e41
add edi, 0xfffffffe
jmp 0x446e20
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x446e20
push esi
mov ecx, 0x15
mov esi, 0x4d4b58
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x446e50
Capabilities:
Get common file path

Disassembly:
push edi
push 1
push 0x1a
mov edi, eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x446e91
add edi, 0xfffffffe
jmp 0x446e70
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x446e70
push esi
mov ecx, 0x1f
mov esi, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x447380
Capabilities:
Check if file exists
Check os version
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b94f6
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x4f52c0]
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
push 1
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x334]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00401d40
push 0xb
push 0x4d1be8
lea ebx, [ebp - 0x334]
mov dword [ebp - 4], 0
call fcn.00406d60
mov edx, dword [ebp - 0x334]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44749d
mov eax, dword [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x334]
push 0
push 0
push 2
push 0
push 0
push SysReAllocStringLen
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44746d
lea ecx, [ebp - 0x330]
push ecx
mov dword [ebp - 0x330], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x32c], 6
jb 0x447466
mov dword [ebp - method.CAccessRight.virtual_0], vtable.CAccessRight.0
mov byte [ebp - 4], 1
call fcn.00402c20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x334]
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0
push edx
push 0x1005
push 0x8000000
call esi
mov eax, dword [ebp - 0x334]
push 0
push eax
push 0x1005
push 0x800
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x334]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4474c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0049908b
mov esp, ebp
pop ebp
ret
Function at 0x449270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.00460610
Function at 0x44b120
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b48fb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], edi
mov dword [ebp - 4], edi
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x218]
mov eax, dword [eax]
or ebx, 0x2001f
mov dword [ebp - 0x228], edi
cmp esi, edi
je 0x44b1a2
push ecx
push eax
lea edi, [ebp - 0x228]
call fcn.00441c30
xor edi, edi
jmp 0x44b1b3
lea edx, [ebp - 0x228]
push edx
push ebx
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x44b2ac
mov ecx, dword [ebp - 0x220]
xor eax, eax
cmp ecx, edi
je 0x44b1d6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov ecx, dword [ebp - 0x228]
and ebx, 0x300
mov dword [ebp - 0x21c], edi
mov esi, eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ebx
cmp eax, edi
jne 0x44b2ac
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x238]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
push edi
push ecx
mov dword [ebp - 0x224], 0x100
call esi
test eax, eax
jne 0x44b27c
mov edi, edi
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0044b120
mov ebx, eax
cmp ebx, edi
jne 0x44b2f0
lea edx, [ebp - 0x238]
push edx
mov edx, dword [ebp - 0x220]
push edi
push edi
push edi
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push edi
push edx
mov dword [ebp - 0x224], 0x100
call esi
test eax, eax
je 0x44b230
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x44b293
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov ebx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], edi
call fcn.0044b370
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x44b2ca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, esi
mov dword [ebp - 0x21c], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x44b30e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, ebx
jmp 0x44b2cc
Function at 0x44c050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7f56
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x418], ecx
mov byte [ebp - 4], 1
push 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x44c0cc
call fcn.00413260
mov esi, eax
jmp 0x44c1f3
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x44c0e5
call fcn.00413260
jmp 0x44c1ea
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x44c103
call fcn.00413260
jmp 0x44c1ea
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x44c124
mov esi, 0x8007000e
jmp 0x44c1ec
mov byte [ebp - 4], 2
xor ecx, ecx
shld ecx, eax, 1
mov dword [ebp - 0x434], ecx
add eax, eax
mov dword [ebp - 0x438], eax
test ecx, ecx
jne 0x44c145
cmp eax, 0xffffffff
jbe 0x44c14f
push 0x80070216
call fcn.00402be0
cmp eax, 0x400
jbe 0x44c16b
lea ecx, [ebp - 0x418]
push ecx
call fcn.0044a370
mov dword [ebp - 4], 1
jmp 0x44c19f
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
jmp 0x44c19f
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x44c1b0
mov esi, 0x8007000e
jmp 0x44c1ec
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x44c1c9
call fcn.00413260
jmp 0x44c1ea
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 0x418]
lea esi, [ebp - 0x42c]
call fcn.0044beb0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x44c210
lea eax, [ebp - 0x418]
call fcn.0044ab00
mov dword [ebp - 4], 0xffffffff
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 - 0x14]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44cb80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ecx + 0x78]
sub edi, dword [ecx + 0x74]
xor ebx, ebx
sar edi, 2
mov dword [ebp - 4], ecx
test edi, edi
jle 0x44cbdc
push esi
lea esp, [esp]
mov eax, dword [ecx + 0x74]
mov esi, dword [eax + ebx*4]
cmp dword [esi + 0xc], 6
je 0x44cbd6
cmp dword [esi + 0x10], 2
jne 0x44cbca
cmp byte [esi + 0x24], 0
je 0x44cbca
cmp byte [esi + 0x26], 0
je 0x44cbca
mov ecx, dword [esi + 0x60]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
mov ecx, dword [ebp - 4]
inc ebx
cmp ebx, edi
jl 0x44cba0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44e4c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6fad
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f52c0]
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
lea ebx, [esi + 0x20c]
push ebx
mov dword [ebp - 0x28], esi
mov edi, edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x44e602
mov eax, dword [edi + 8]
mov edi, dword [eax]
mov dword [ebp - 4], 0
lea eax, [esi + 0x1d0]
lea esi, [ebp - 0x24]
call fcn.004043c0
mov ecx, 1
mov byte [ebp - 4], cl
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], 0
jne 0x44e58b
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x44e551
mov eax, 0x104
lea ecx, [ebp - 0x24]
call fcn.00401ea0
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push 0x104
push esi
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0049acee
add esp, 8
test eax, eax
js 0x44e61e
cmp eax, dword [esi - 8]
jg 0x44e61e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [esi - 0xc]
test eax, eax
je 0x44e5ef
mov edx, dword [0x4fb468]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x1f8]
mov eax, dword [ecx + 0x190]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
push 0x24
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push esi
sub ebx, 2
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401980
mov dword [ebp - 4], 0xffffffff
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.0049908b
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402be0
int3
Function at 0x4536e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0049dad0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45374d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x45373d
cmp eax, 4
jne 0x45374d
cmp dword [ebp - 0x110], 0x5a
jb 0x45374d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0049908b
mov esp, ebp
pop ebp
ret

Function at 0x455330
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov al, byte [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov byte [ebx + 0x28], al
test al, al
je 0x45535c
mov eax, dword [ebx + 4]
mov byte [ebx + 0x24], 0
mov word [ebx + 0x29], 0
test eax, eax
je 0x45535c
call fcn.00454bb0
push esi
mov esi, dword [ebx + 0x78]
sub esi, dword [ebx + 0x74]
xor eax, eax
sar esi, 2
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
test esi, esi
jle 0x4553eb
push edi
mov ecx, dword [ebx + 0x74]
mov edi, dword [ecx + eax*4]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4553df
cmp dword [edi + 0x14], 1
je 0x4553df
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x40]
push eax
mov ecx, edi
call edx
cmp byte [ebp + 8], 0
je 0x4553df
mov eax, dword [ebx + 0x1a0]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4553d4
mov esi, dword [edi + 4]
add esi, 0x6c
call fcn.00401bf0
cmp dword [ebx + 0x198], 0
je 0x4553d1
mov edi, dword [edi + 8]
mov esi, dword [ebp - 0xc]
lea ebx, [ebx + 0x198]
call fcn.00454aa0
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
push 0
mov ecx, edi
call edx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jl 0x455373
pop edi
cmp byte [ebp + 8], 0
pop esi
jne 0x45540e
cmp byte [ebx + 0x24], 0
mov byte [ebx + 0x21c], 0
jne 0x45540e
mov eax, dword [ebx + 0x1a0]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x456d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba988
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4f52c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
push edx
call eax
test eax, eax
je 0x456e02
mov eax, dword [eax + 4]
add eax, 0x58
lea esi, [esp + 8]
call fcn.004043c0
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 8]
mov edx, dword [0x4fb414]
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.00466d10
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
lea eax, [esp + 0x1c]
call fcn.0044c890
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, esi
call fcn.00401980
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b46ec
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4f52c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi], vtable.CDrawCache.0
mov dword [edi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x10], ebx
mov byte [ebp - 4], 1
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 2
lea esi, [edi + 0x48]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.00401960
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov dword [edi + 4], 1
mov dword [edi + 8], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x4c], ebx
mov dword [ebp - 4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4