joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402d30
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x427250]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0040d600
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.SilverLight.exe
lea edx, [ebp - 0x110]
push edx
call fcn.0040dbb0
add esp, 8
push 0x422968
push 0xcb
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x402e7e
mov eax, dword [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x402e7e
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x402e7e
mov edx, dword [ebp - 0x118]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x124], eax
push 0x42296c
lea eax, [ebp - 0x110]
push eax
call fcn.0040e321
add esp, 8
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x402e7e
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x124]
push edx
push 1
mov eax, dword [ebp - 0x120]
push eax
call fcn.0040e1db
add esp, 0x10
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.0040dffd
add esp, 4
mov dword [ebp - 0x114], 1
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d67a
mov esp, ebp
pop ebp
ret

Function at 0x402ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 0x10]
push eax
push str.SoftWareMicrosoftSilverlight
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x422990
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
push eax
call fcn.0040d750
add esp, 4
test eax, eax
jne 0x402f44
lea ecx, [ebp - 0x10]
push ecx
push str.SoftWareWow6432NodeMicrosoftSilverlight
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push str.Version
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040d750
add esp, 4
xor edx, edx
cmp edx, eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret 4
Function at 0x407ff0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x427250]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0x14]
call fcn.00407db0
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00407f90
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40805b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x124], edx
lea ecx, [ebp - 0x14]
call fcn.00407de0
mov eax, dword [ebp - 0x124]
jmp 0x4080ec
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x120]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4080c1
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00407ff0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4080b8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x128], edx
lea ecx, [ebp - 0x14]
call fcn.00407de0
mov eax, dword [ebp - 0x128]
jmp 0x4080ec
mov dword [ebp - 4], 0x100
jmp 0x408062
lea ecx, [ebp - 0x14]
call fcn.00407ed0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x130]
call fcn.00407e70
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x14]
call fcn.00407de0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040d67a
mov esp, ebp
pop ebp
ret 4
Function at 0x408740
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x408749
xor ecx, ecx
jne 0x408749
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x40876a
mov eax, 0xd
jmp 0x408796
xor eax, eax
jne 0x408751
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4087a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x4087a9
xor ecx, ecx
jne 0x4087a9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4087ca
mov eax, 0xd
jmp 0x40881f
xor eax, eax
jne 0x4087b1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 1
jne 0x4087db
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8
Function at 0x40a210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x427250]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00409ed0
add esp, 0xc
test eax, eax
je 0x40a246
xor eax, eax
jmp 0x40a307
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
lea ecx, [ebp - 0x114]
call fcn.0040ad80
lea ecx, [ebp - 0x114]
call fcn.0040ad60
movzx eax, al
test eax, eax
jne 0x40a2a0
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x114]
call fcn.0040acf0
mov eax, dword [ebp - 0x11c]
jmp 0x40a307
mov dword [ebp - 0x118], 0
push 0
lea ecx, [ebp - 0x118]
push ecx
push 8
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x114]
call fcn.00407e00
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40a2ec
mov dword [ebp - 0x120], 1
lea ecx, [ebp - 0x114]
call fcn.0040acf0
mov eax, dword [ebp - 0x120]
jmp 0x40a307
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x114]
call fcn.0040acf0
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d67a
mov esp, ebp
pop ebp
ret

Function at 0x40b290
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0x288
call fcn.00411053
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x288
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40b2eb
mov edx, dword [ebp - 4]
push edx
call fcn.004108da
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00411053
add esp, 4
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40b351
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b34d
cmp dword [ebp - 0x14], 6
jl 0x40b31c
jmp 0x40b34d
push 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x194
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*8]
push ecx
call fcn.0040e340
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x40b30e
mov al, 1
jmp 0x40b353
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x40b4e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret 8

Function at 0x40d67a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427250]
jne 0x40d684
repz ret
jmp fcn.0041227a
Function at 0x41d28b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00414ab1
and dword [ebp - 4], 0
cmp dword [0x4290fc], 0
mov ebx, eax
jne 0x41d33c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41d3ed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41d3ed
push eax
call fcn.00414a3f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4290fc], eax
call esi
push eax
call fcn.00414a3f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x429100], eax
call esi
push eax
call fcn.00414a3f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x429104], eax
call esi
push eax
call fcn.00414a3f
pop ecx
mov dword [0x42910c], eax
test eax, eax
je 0x41d33c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00414a3f
pop ecx
mov dword [0x429108], eax
mov eax, dword [0x429108]
cmp eax, ebx
je 0x41d394
cmp dword [0x42910c], ebx
je 0x41d394
push eax
call fcn.00414aba
push dword [0x42910c]
mov esi, eax
call fcn.00414aba
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41d394
test edi, edi
je 0x41d394
call esi
test eax, eax
je 0x41d38b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41d38b
test byte [ebp - 0xc], 1
jne 0x41d394
or dword [ebp + 0x10], 0x200000
jmp 0x41d3cd
mov eax, dword [0x429100]
cmp eax, ebx
je 0x41d3cd
push eax
call fcn.00414aba
pop ecx
test eax, eax
je 0x41d3cd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41d3cd
mov eax, dword [0x429104]
cmp eax, ebx
je 0x41d3cd
push eax
call fcn.00414aba
pop ecx
test eax, eax
je 0x41d3cd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4290fc]
call fcn.00414aba
pop ecx
test eax, eax
je 0x41d3ed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41d3ef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b0a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x488fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047d52e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b122
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047ad90
mov eax, dword [eax]
push 0x4a5234
push eax
call fcn.0045ae64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047d7b9
test bl, bl
je 0x40b122
push 0x4a5234
lea ecx, [esp + 0xc]
call fcn.0047db49
push 0x4a8dac
lea ecx, [esp + 0xc]
call fcn.0047db49
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40b15e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047d7b9
jmp 0x40b229
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40b1e2
lea edx, [esp + 0x7c]
push 0x4a8da8
push edx
call fcn.0045ae64
add esp, 8
test eax, eax
je 0x40b1e2
lea eax, [esp + 0x7c]
push 0x4a8da4
push eax
call fcn.0045ae64
add esp, 8
test eax, eax
je 0x40b1e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40b172
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047d7b9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40c4a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40c502
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40c510
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48911b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4af6cc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40c648
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c576
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047d7b9
xor eax, eax
jmp 0x40c6bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047d8f6
push esi
lea ecx, [esp + 0xc]
call fcn.0047db85
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4a8de4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c69d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040c4a0
test eax, eax
jne 0x40c69d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040c4a0
test eax, eax
jne 0x40c69d
lea eax, [esp + 0x14]
push 0x4a8dc0
push eax
call fcn.0045beb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c67c
lea ecx, [esp + 0x14]
push 0x4a8dbc
push ecx
call fcn.0045be30
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c67c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c67f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047d8a6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c58e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047d7b9
xor eax, eax
jmp 0x40c6bf
mov byte [esi], 0
push 0x4a8db8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0047d7b9
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x428560
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48a628
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x428599
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.00484ead
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00484ef9
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00428620
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00484f36
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
Function at 0x42cac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48adb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0042d640
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x42cb69
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042c750
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.0048415e
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.0043bfc0
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.004841d0
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x42d0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ade0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042aca0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x42d0f9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00428110
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00428100
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0042c750
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x4c]
call fcn.0048415e
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.0043bfc0
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042a700
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, ebx
call fcn.00428080
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x42d1c4
push edi
mov ecx, esi
call fcn.0042a810
push eax
push ebp
mov ecx, esi
call fcn.0042a9d0
cmp eax, dword [esp + 0x40]
jg 0x42d1c0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x42d19e
mov eax, ebx
jmp 0x42d1ca
cmp edi, ebx
jl 0x42d1c8
mov eax, ebx
jmp 0x42d1ca
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x42d1db
mov dword [esp + 0x30], eax
jmp 0x42d1e6
cmp edi, ebx
jl 0x42d1e1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00428040
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x42d22d
push edi
mov ecx, esi
call fcn.0042a730
push eax
push ebx
mov ecx, esi
call fcn.0042ab00
cmp eax, dword [esp + 0x44]
jg 0x42d225
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x42d1ff
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x42d237
cmp edi, ebp
jl 0x42d231
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x42d237
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x42d240
mov ecx, eax
jmp 0x42d249
cmp edi, ebp
jl 0x42d246
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0042a720
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.004841d0
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc