joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406560
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0040fe83
add esp, 4
lea edx, [esp + 0xc]
push edx
mov esi, eax
push esi
push ebx
call edi
mov edi, eax
cmp edi, ebx
je 0x4065e2
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
push ebp
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov eax, dword [esi + 4]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
push 0
push edi
mov dword [esp + 0x1c], 0
call ebx
push esi
call fcn.0040fe8e
mov edx, dword [esp + 0x14]
push edx
call fcn.0040fe83
add esp, 8
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x4065a4
lea ebx, [eax + 1]
pop ebp
test esi, esi
je 0x4065ef
push esi
call fcn.0040fe8e
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x406830
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4495b6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x45e700]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
mov eax, dword [0x45e700]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x104
call fcn.00401990
lea eax, [esp + 0xc]
mov dword [esp + 0x22c], 0
mov ecx, dword [esp + 0x14]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40699c
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push str.nslm
push ecx
mov dword [esp + 0x28], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40699c
call fcn.00410248
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4068ee
push 0x80004005
call fcn.00401dd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
lea esi, [esp + 8]
mov byte [esp + 0x22c], 1
call fcn.0040e220
push 3
push 0x451584
mov ecx, esi
call fcn.004028f0
mov esi, dword [esp + 8]
mov eax, dword [esi - 0xc]
mov edx, dword [esp + 0xc]
lea ecx, [eax + eax]
push ecx
push esi
push 1
push 0
push str.nslm
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041d21b
mov eax, dword [eax + 4]
push 0x451484
push str.auto
push 0x450c80
mov ecx, eax
call fcn.0041d4a4
push 1
lea ecx, [edi + 0x144]
push 0x451484
call fcn.00401c30
lea eax, [esi - 0x10]
mov byte [esp + 0x22c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40699c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x22c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4069c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0042e0b9
add esp, 0x228
ret
Function at 0x4069f0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44956b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x45e700]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x45e700]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0x104
call fcn.00401990
lea eax, [esp + 0xc]
mov dword [esp + 0x224], 0
mov ecx, dword [esp + 4]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x406ae6
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push str.nslm
push ecx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406ab6
call fcn.0041d21b
mov eax, dword [eax + 4]
push 0x451484
push str.auto
push 0x450c80
mov ecx, eax
call fcn.0041d4a4
push 1
push 0x451484
jmp 0x406adb
call fcn.0041d21b
mov eax, dword [eax + 4]
push 0x451488
push str.auto
push 0x450c80
mov ecx, eax
call fcn.0041d4a4
push 2
push 0x451488
lea ecx, [esi + 0x144]
call fcn.00401c30
mov dword [esp + 0x224], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406b11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0042e0b9
add esp, 0x224
ret

Function at 0x407700
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4490d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x45e700]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea ebx, [edi + 0x158]
push ebx
lea eax, [edi + 0x20c]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00409be0
add esp, 0xc
mov dword [esp + 0x1c], 0
cmp dword [edi + 0x154], 0
jne 0x40779c
mov eax, dword [esp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.00401e00
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040e560
add esp, 4
test eax, eax
je 0x40779c
mov edx, dword [ebx]
cmp dword [edx - 0xc], 0
je 0x40779c
push 0
push 0
push edi
push 0x4075d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4077c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x408cb0
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push esi
push 0x288
mov dword [esp + 8], 0x288
call fcn.0040fe54
mov esi, eax
add esp, 4
test esi, esi
je 0x408d84
push 0x288
push 0
push esi
call fcn.00430e70
add esp, 0xc
lea eax, [esp + 4]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x408cff
push esi
call fcn.0040fe8e
add esp, 4
pop esi
pop ecx
ret 4
lea ecx, [esp + 4]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x408d7b
mov eax, esi
mov ecx, 6
cmp dword [eax + 0x1a0], ecx
jne 0x408d25
cmp dword [eax + 0x190], ecx
je 0x408d39
mov eax, dword [eax]
test eax, eax
jne 0x408d15
push esi
call fcn.0040fe8e
add esp, 4
pop esi
pop ecx
ret 4
movzx edx, byte [esi + 0x199]
movzx eax, byte [esi + 0x198]
movzx ecx, byte [esi + 0x197]
push edx
movzx edx, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push ecx
movzx ecx, byte [esi + 0x194]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push str._02X__02X__02X__02X__02X__02X
push edx
call fcn.00402ef0
add esp, 0x20
push esi
call fcn.0040fe8e
add esp, 4
pop esi
pop ecx
ret 4

Function at 0x408d90
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ecx
push esi
push 0x170
mov dword [esp + 8], 0x170
call fcn.0040fe54
mov esi, eax
add esp, 4
test esi, esi
je 0x408e54
push 0x170
push 0
push esi
call fcn.00430e70
add esp, 0xc
lea eax, [esp + 4]
push eax
push esi
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x408de5
push esi
call fcn.0040fe8e
add esp, 4
pop esi
pop ecx
ret 4
lea ecx, [esp + 4]
push ecx
push esi
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x408e4b
mov eax, esi
mov ecx, 6
cmp dword [eax + 0x34], ecx
je 0x408e1b
mov eax, dword [eax + 8]
test eax, eax
jne 0x408e01
push esi
call fcn.0040fe8e
add esp, 4
pop esi
pop ecx
ret 4
movzx edx, byte [eax + 0x31]
movzx ecx, byte [eax + 0x30]
push edx
movzx edx, byte [eax + 0x2f]
push ecx
movzx ecx, byte [eax + 0x2e]
push edx
movzx edx, byte [eax + 0x2d]
movzx eax, byte [eax + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push str._02X__02X__02X__02X__02X__02X
push ecx
call fcn.00402ef0
add esp, 0x20
push esi
call fcn.0040fe8e
add esp, 4
pop esi
pop ecx
ret 4
Function at 0x40ad70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x45e700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x40
mov byte [esi + 0xa9], bl
mov byte [esi + 0xa8], 1
mov byte [esi + 0x1ea], bl
mov dword [ebp - 4], ebx
call fcn.0040fe83
add esp, 4
mov dword [esi + 0x94], eax
jmp 0x40adf6
mov eax, dword [esi + 0x94]
mov dword [esi + 0x90], eax
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x98], 0x67452301
mov dword [esi + 0x9c], 0xefcdab89
mov dword [esi + 0xa0], 0x98badcfe
mov dword [esi + 0xa4], 0x10325476
mov al, 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 4

Function at 0x40ba40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4492c7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45e700]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x451e28
mov dword [edi + 8], 0x451e30
mov dword [edi + 0x5c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0xc]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0040cb30
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
call fcn.0040d190
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x462f0c]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40d190
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x448bdb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45e700]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004470c4
push 4
mov dword [esp + 0x20], 0
call fcn.0040fe54
mov edi, eax
add esp, 4
test edi, edi
je 0x40d20e
call fcn.00446ca1
mov dword [edi], eax
call fcn.00446acf
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004469f3
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40d203
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00446a1b
jmp 0x40d210
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 4
Function at 0x40e560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x448cc8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45e700]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x40e5a4
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ac0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [esp + 0x18]
setne cl
mov esi, ecx
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0042f0e5
add esp, 8
test eax, eax
jl 0x40e61b
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x40e61b
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [ecx + eax*2], dx
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e608
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret
push 0x80070057
call fcn.00401dd0
int3
Function at 0x410e77
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x410ea2
call fcn.0041d21b
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x410ec5
push eax
push dword [esi + 4]
call fcn.00410dfd
push esi
push eax
mov ecx, 0x46017c
call fcn.00410a84
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4118d3
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x4476ec
call fcn.0043052a
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.00411893
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401d80
push dword [esi + 8]
mov edi, dword [edi + 8]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x41193a
push eax
push dword [esi + 8]
call fcn.00410dfd
push dword [esi + 0xc]
mov ecx, 0x46017c
push eax
call fcn.00410a84
mov eax, esi
call fcn.00430602
ret 0x1c

Function at 0x413bbb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x413bdf
cmp dword [edi + 0x54], 0
jne 0x413bdf
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041d21b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00413b7c
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x419360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4193a7
call fcn.0041d21b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4193a7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4193c3
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00418ed8
mov esi, eax
test edi, edi
je 0x4193c1
test ebx, ebx
je 0x4193c1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41a11c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x447dfc
call fcn.0043052a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41a141
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41a187
lea ecx, [ebp - 0x10]
call fcn.00401d80
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040ff13
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401e70
mov eax, esi
call fcn.00430602
ret 8

Function at 0x41bd37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41bd7f
call fcn.0041d21b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41bd7f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41bdc2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41bdab
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41bdab
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41bdbf
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42e0b9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45e700]
jne 0x42e0c3
repz ret
jmp fcn.004351c9
Function at 0x43f924
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.00434bd5
and dword [ebp - 4], 0
cmp dword [0x462c1c], 0
mov ebx, eax
jne 0x43f9d5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43fa86
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43fa86
push eax
call fcn.00434b63
mov dword [esp], 0x44ea68
push edi
mov dword [0x462c1c], eax
call esi
push eax
call fcn.00434b63
mov dword [esp], 0x44ea54
push edi
mov dword [0x462c20], eax
call esi
push eax
call fcn.00434b63
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x462c24], eax
call esi
push eax
call fcn.00434b63
pop ecx
mov dword [0x462c2c], eax
test eax, eax
je 0x43f9d5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00434b63
pop ecx
mov dword [0x462c28], eax
mov eax, dword [0x462c28]
cmp eax, ebx
je 0x43fa2d
cmp dword [0x462c2c], ebx
je 0x43fa2d
push eax
call fcn.00434bde
push dword [0x462c2c]
mov esi, eax
call fcn.00434bde
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43fa2d
test edi, edi
je 0x43fa2d
call esi
test eax, eax
je 0x43fa24
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43fa24
test byte [ebp - 0xc], 1
jne 0x43fa2d
or dword [ebp + 0x10], 0x200000
jmp 0x43fa66
mov eax, dword [0x462c20]
cmp eax, ebx
je 0x43fa66
push eax
call fcn.00434bde
pop ecx
test eax, eax
je 0x43fa66
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43fa66
mov eax, dword [0x462c24]
cmp eax, ebx
je 0x43fa66
push eax
call fcn.00434bde
pop ecx
test eax, eax
je 0x43fa66
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x462c1c]
call fcn.00434bde
pop ecx
test eax, eax
je 0x43fa86
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43fa88
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424345
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.0041df0c
and dword [ebp - 4], 0
cmp dword [0x44b378], 0
mov ebx, eax
jne 0x4243f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4244a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4244a7
push eax
call fcn.0041de9a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b378], eax
call esi
push eax
call fcn.0041de9a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b37c], eax
call esi
push eax
call fcn.0041de9a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44b380], eax
call esi
push eax
call fcn.0041de9a
pop ecx
mov dword [0x44b388], eax
test eax, eax
je 0x4243f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041de9a
pop ecx
mov dword [0x44b384], eax
mov eax, dword [0x44b384]
cmp eax, ebx
je 0x42444e
cmp dword [0x44b388], ebx
je 0x42444e
push eax
call fcn.0041df15
push dword [0x44b388]
mov esi, eax
call fcn.0041df15
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42444e
test edi, edi
je 0x42444e
call esi
test eax, eax
je 0x424445
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424445
test byte [ebp - 0xc], 1
jne 0x42444e
or dword [ebp + 0x10], 0x200000
jmp 0x424487
mov eax, dword [0x44b37c]
cmp eax, ebx
je 0x424487
push eax
call fcn.0041df15
pop ecx
test eax, eax
je 0x424487
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x424487
mov eax, dword [0x44b380]
cmp eax, ebx
je 0x424487
push eax
call fcn.0041df15
pop ecx
test eax, eax
je 0x424487
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b378]
call fcn.0041df15
pop ecx
test eax, eax
je 0x4244a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4244a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219