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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509408
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x551f18]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x551f18
mov dword [ebp - 0x18], esi
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x4905fc
test ebx, 0xffff0000
jne 0x4905fc
movzx edi, bx
call fcn.00459210
test eax, eax
je 0x490604
push eax
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.0045f7f0
jmp 0x490604
lea eax, [ebp - 0x10]
call fcn.0045f680
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call fcn.00490bb0
lea esi, [ebp - 0x14]
call fcn.00490760
push 0xa
push str.upload.dat
mov ebx, esi
mov byte [ebp - 4], 2
call fcn.0045b400
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 0x4906fa
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 0x490687
push ebx
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045f700
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 0x4906c0
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 0x4906e3
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 0x49071d
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 0x490743
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 0x4908c0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5088f1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
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 [0x551f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x551f18
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.004e53c6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4909bc
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 0x490949
cmp eax, 0x6f
jne 0x4909bc
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e53c6
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x490969
push ebx
call fcn.004e4d61
mov esi, edi
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4909c9
lea ecx, [ebp - 0x10]
push ecx
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x4909bc
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.004597f0
add esp, 0x1c
test esi, esi
je 0x4909c9
push esi
call fcn.004e4d61
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 0x491e90
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 0x491eba
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.004e4758
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 0x491eb2
mov eax, dword [ebx + 0x38]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x51d5c8
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x491eb2
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 0x491f30
cmp dword [ebp - 8], 4
jb 0x491f30
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 0x492bb0
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 0x492bf1
add edi, 0xfffffffe
jmp 0x492bd0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x492bd0
push esi
mov ecx, 0x15
mov esi, 0x527d48
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x492c00
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 0x492c41
add edi, 0xfffffffe
jmp 0x492c20
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x492c20
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 0x492f10
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, ebx
sub esp, 0x20
lea edx, [eax + 2]
jmp 0x492f20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x492f20
sub eax, edx
sar eax, 1
push esi
mov esi, eax
xor ecx, ecx
lea eax, [esi + 2]
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.004e4758
mov edi, eax
mov edx, edi
add esp, 4
mov eax, ebx
sub edx, ebx
jmp 0x492f60
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x492f60
xor eax, eax
mov dword [edi + esi*2], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 4], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 6], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov edx, 0x614
push ecx
mov word [ebp - 0x10], dx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
push edi
sbb esi, esi
call fcn.004e48a0
add esp, 4
pop edi
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x494aa0
Capabilities:
Resolve function by parsing pe exports

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5522c0]
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 0x4969b2
push ecx
push eax
lea edi, [ebp - 0x228]
call fcn.0048da60
xor edi, edi
jmp 0x4969c3
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 0x496abc
mov ecx, dword [ebp - 0x220]
xor eax, eax
cmp ecx, edi
je 0x4969e6
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 0x496abc
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 0x496a8c
mov edi, edi
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00496930
mov ebx, eax
cmp ebx, edi
jne 0x496b00
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 0x496a40
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x496aa3
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.00496b80
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x496ada
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.004e4840
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x496b1e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], edi
mov eax, ebx
jmp 0x496adc
Function at 0x497860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508876
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5522c0]
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 0x4978dc
call fcn.00465e30
mov esi, eax
jmp 0x497a03
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4978f5
call fcn.00465e30
jmp 0x4979fa
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x497913
call fcn.00465e30
jmp 0x4979fa
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 0x497934
mov esi, 0x8007000e
jmp 0x4979fc
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 0x497955
cmp eax, 0xffffffff
jbe 0x49795f
push 0x80070216
call fcn.0045a440
cmp eax, 0x400
jbe 0x49797b
lea ecx, [ebp - 0x418]
push ecx
call fcn.004962f0
mov dword [ebp - 4], 1
jmp 0x4979af
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
jmp 0x4979af
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x4979c0
mov esi, 0x8007000e
jmp 0x4979fc
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4979d9
call fcn.00465e30
jmp 0x4979fa
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.004976c0
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 0x497a20
lea eax, [ebp - 0x418]
call fcn.00496280
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.004e4840
mov esp, ebp
pop ebp
ret 0xc
Function at 0x498340
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 0x49839c
push esi
lea esp, [esp]
mov eax, dword [ecx + 0x74]
mov esi, dword [eax + ebx*4]
cmp dword [esi + 0xc], 6
je 0x498396
cmp dword [esi + 0x10], 2
jne 0x49838a
cmp byte [esi + 0x24], 0
je 0x49838a
cmp byte [esi + 0x26], 0
je 0x49838a
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 0x498360
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x499c90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506a3d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5522c0]
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 0x499dd2
mov eax, dword [edi + 8]
mov edi, dword [eax]
mov dword [ebp - 4], 0
lea eax, [esi + 0x1d0]
lea esi, [ebp - 0x24]
call fcn.0045d040
mov ecx, 1
mov byte [ebp - 4], cl
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], 0
jne 0x499d5b
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x499d21
mov eax, 0x104
lea ecx, [ebp - 0x24]
call fcn.00459710
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.004e72e4
add esp, 8
test eax, eax
js 0x499dee
cmp eax, dword [esi - 8]
jg 0x499dee
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [esi - 0xc]
test eax, eax
je 0x499dbf
mov edx, dword [0x55aec8]
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.004591f0
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.004e4840
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0045a440
int3
Function at 0x49ef10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004e9520
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 0x49ef7d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x49ef6d
cmp eax, 4
jne 0x49ef7d
cmp dword [ebp - 0x110], 0x5a
jb 0x49ef7d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4840
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.004e4840
mov esp, ebp
pop ebp
ret

Function at 0x4a0b20
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 0x4a0b4c
mov eax, dword [ebx + 4]
mov byte [ebx + 0x24], 0
mov word [ebx + 0x29], 0
test eax, eax
je 0x4a0b4c
call fcn.004a03e0
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 0x4a0bdb
push edi
mov ecx, dword [ebx + 0x74]
mov edi, dword [ecx + eax*4]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4a0bcf
cmp dword [edi + 0x14], 1
je 0x4a0bcf
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 0x4a0bcf
mov eax, dword [ebx + 0x1a0]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4a0bc4
mov esi, dword [edi + 4]
add esi, 0x6c
call fcn.00459460
cmp dword [ebx + 0x198], 0
je 0x4a0bc1
mov edi, dword [edi + 8]
mov esi, dword [ebp - 0xc]
lea ebx, [ebx + 0x198]
call fcn.004a02d0
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 0x4a0b63
pop edi
cmp byte [ebp + 8], 0
pop esi
jne 0x4a0bfe
cmp byte [ebx + 0x24], 0
mov byte [ebx + 0x21c], 0
jne 0x4a0bfe
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 0x4a2ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50b7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5522c0]
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 0x4a2b72
mov eax, dword [eax + 4]
add eax, 0x58
lea esi, [esp + 8]
call fcn.0045d040
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 8]
mov edx, dword [0x55ae00]
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004b28d0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00498050
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.004591f0
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 0x4a3180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504279
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.00497e50
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x70]
mov dword [esi], vtable.CSkinObjectContainer.0
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 1
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 0x14], eax
call fcn.004abd50
mov byte [ebp - 4], 3
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 4
mov word [esi + 0x24], bx
mov dword [esi + 0x38], 1
mov byte [ebp - 4], 5
lea eax, [edi + 0x130]
mov dword [edi], vtable.CSkinLayoutObject.1.0
mov dword [edi + 0x70], vtable.CSkinLayoutObject.0
mov dword [eax], vtable.CLayoutGroup.0
mov dword [ebp - 0x14], eax
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov byte [ebp - 4], 7
mov dword [edi + 0x12c], ebx
mov dword [ebp - 4], 0xffffffff
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
Function at 0x4a4130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5007ec
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
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.004591d0
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