joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c15e8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4c1639
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4c1620
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4c1610
jmp 0x4c1639
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4c1621
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d20fc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d212a
mov eax, ebx
call fcn.004d2bb0
cmp dword [ebx + 0x40], 0
je 0x4d2123
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d219b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d218d
cmp dword [ebx + 8], 0
je 0x4d214c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4d215e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d218d
cmp dword [ebx + 8], 0
je 0x4d213f
cmp eax, 3
je 0x4d2171
dec eax
jne 0x4d213f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4d213f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d213f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d21b9
cmp dword [ebx + 0x14], 0xcc
je 0x4d21b9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004d21c4
pop ebx
ret

Function at 0x4e8890
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, eax
or ebx, 0xffffffff
mov eax, edi
call fcn.00405b24
dec eax
test eax, eax
jl 0x4e88c4
inc eax
xor esi, esi
mov dl, byte [edi + esi]
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x50b070]
shr ebx, 8
xor edx, ebx
mov ebx, edx
inc esi
dec eax
jne 0x4e88a7
xor ebx, 0xffffffff
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4e8a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffefc
mov esi, edx
lea edi, [esp + 0xc]
push ecx
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, ecx
mov dword [esp], eax
lea ebp, [esp + 8]
mov eax, dword [esi]
push eax
call fcn.004e89e8
mov dword [ebp], eax
mov eax, dword [esi]
movzx ebx, word [eax + 6]
dec ebx
test ebx, ebx
jl 0x4e8b4e
inc ebx
mov eax, dword [ebp]
cmp dword [eax + 0x10], 0
jne 0x4e8ae4
mov edi, dword [esp + 0x44]
test edi, edi
jle 0x4e8ad7
push 0x40
push 0x1000
push edi
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 4]
call fcn.004e8938
push eax
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov edx, dword [ebp]
mov dword [edx + 8], eax
mov edx, edi
mov eax, dword [esp + 4]
call fcn.00408d2c
push 0
push 0x28
mov eax, ebp
call fcn.004e8908
jmp 0x4e8b47
push 0x40
push 0x1000
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 4]
call fcn.004e8938
push eax
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 8]
call fcn.004e8938
mov edx, eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 4]
call fcn.00408d24
mov eax, dword [esp + 4]
mov edx, dword [ebp]
mov dword [edx + 8], eax
push 0
push 0x28
mov eax, ebp
call fcn.004e8908
dec ebx
jne 0x4e8a8d
add esp, 0x104
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4e8f58
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x4e8f6d
or edx, 0x200
test eax, 0x20000000
je 0x4e8fa0
test eax, 0x40000000
je 0x4e8f8c
test eax, 0x80000000
je 0x4e8f87
or edx, 0x40
jmp 0x4e8fc7
or edx, 0x20
jmp 0x4e8fc7
test eax, 0x80000000
je 0x4e8f9b
or edx, 0x80
jmp 0x4e8fc7
or edx, 0x10
jmp 0x4e8fc7
test eax, 0x40000000
je 0x4e8fb8
test eax, 0x80000000
je 0x4e8fb3
or edx, 4
jmp 0x4e8fc7
or edx, 2
jmp 0x4e8fc7
test eax, 0x80000000
je 0x4e8fc4
or edx, 8
jmp 0x4e8fc7
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x4eeca8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4eed3b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
je 0x4eecdd
mov eax, esi
call fcn.00405848
jmp 0x4eed25
lea eax, [ebp - 8]
push eax
push ebx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0041f568
test al, al
je 0x4eed25
mov eax, 0x104
call fcn.0040330c
mov ebx, eax
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, esi
mov edx, ebx
call fcn.00405a40
mov eax, ebx
call fcn.00403328
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eed42
lea eax, [ebp - 4]
call fcn.00407638
ret
Function at 0x4f1364
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f1450
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
call fcn.00405b24
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00405b24
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jg 0x4f143a
mov edi, dword [ebp - 0xc]
test edi, edi
jle 0x4f13c5
mov ebx, 1
mov eax, dword [esi]
mov al, byte [eax + ebx - 1]
mov edx, dword [ebp - 4]
cmp al, byte [edx + ebx - 1]
jne 0x4f143a
inc ebx
dec edi
jne 0x4f13b2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov edx, 1
call fcn.00405dc4
mov eax, dword [ebp - 0xc]
sub dword [ebp - 8], eax
mov ebx, 0x777
cmp ebx, dword [ebp - 8]
jge 0x4f1413
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi]
mov ecx, 7
mov edx, ebx
call fcn.00405d84
mov eax, esi
mov ecx, 7
mov edx, ebx
call fcn.00405dc4
sub dword [ebp - 8], 7
add ebx, 0x777
cmp ebx, dword [ebp - 8]
jl 0x4f13e4
mov edi, dword [ebp - 8]
test edi, edi
jle 0x4f143a
mov ebx, 1
mov eax, esi
call fcn.00405d7c
mov edx, dword [esi]
movzx edx, byte [edx + ebx - 1]
xor edx, ebx
xor edx, dword [ebp - 8]
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x4f141f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1457
lea eax, [ebp - 0x10]
call fcn.00405848
ret
Function at 0x40106a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x8103f8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x8103fc]
push edi
xor edi, edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], edi
call fcn.00401063
mov eax, dword [0x810400]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x810404]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, dword [ebp - 0xc]
shl eax, 4
cmp dword [0x1e00fac], 0xc
mov dword [ebp - 4], eax
jne 0x4010ef
push edi
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x434]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x1e00fac]
cmp eax, 0xfa9
jne 0x40110b
mov dword [0x1e00fa8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40111f
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x1e00efc], edi
mov eax, dword [ebp - 0xc]
add eax, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1e00fa4], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1e00fac], 0xc
mov dword [ebp - 4], eax
jne 0x401175
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
add ebx, 0x61c88647
dec dword [ebp - 0x20]
jne 0x4010be
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ecx
pop ebx
leave
ret 4
Function at 0x40445c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80f250]
jne 0x404466
repz ret
jmp fcn.00409b94

Function at 0x40b17a
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.00406f2c
and dword [ebp - 4], 0
cmp dword [0x8197a4], 0
mov ebx, eax
jne 0x40b22b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2dc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2dc
push eax
call fcn.00406eba
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x8197a4], eax
call esi
push eax
call fcn.00406eba
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x8197a8], eax
call esi
push eax
call fcn.00406eba
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x8197ac], eax
call esi
push eax
call fcn.00406eba
pop ecx
mov dword [0x8197b4], eax
test eax, eax
je 0x40b22b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406eba
pop ecx
mov dword [0x8197b0], eax
mov eax, dword [0x8197b0]
cmp eax, ebx
je 0x40b283
cmp dword [0x8197b4], ebx
je 0x40b283
push eax
call fcn.00406f35
push dword [0x8197b4]
mov esi, eax
call fcn.00406f35
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b283
test edi, edi
je 0x40b283
call esi
test eax, eax
je 0x40b27a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b27a
test byte [ebp - 0xc], 1
jne 0x40b283
or dword [ebp + 0x10], 0x200000
jmp 0x40b2bc
mov eax, dword [0x8197a8]
cmp eax, ebx
je 0x40b2bc
push eax
call fcn.00406f35
pop ecx
test eax, eax
je 0x40b2bc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b2bc
mov eax, dword [0x8197ac]
cmp eax, ebx
je 0x40b2bc
push eax
call fcn.00406f35
pop ecx
test eax, eax
je 0x40b2bc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x8197a4]
call fcn.00406f35
pop ecx
test eax, eax
je 0x40b2dc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2de
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401168
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
jmp 0x408580
push 0xffffffffffffffff
push 0x483cea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0x10a3d44]
lea ecx, [esi + 4]
mov dword [ecx], eax
mov edx, dword [0x10a3d44]
lea edi, [esi + 8]
mov dword [edi], edx
mov eax, dword [0x10a3d44]
lea ebp, [esi + 0xc]
mov dword [ebp], eax
mov edx, dword [0x10a3d44]
lea ebx, [esi + 0x10]
mov dword [ebx], edx
mov eax, dword [0x10a3d44]
mov dword [esi + 0x14], eax
mov edx, dword [0x10a3d44]
mov dword [esi + 0x18], edx
lea eax, [esp + 0x24]
mov byte [esp + 0x1c], 0xc
push eax
mov dword [esi], 0x489d80
call fcn.0044bde7
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0044bde7
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
call fcn.0044bde7
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.0044bde7
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044bde7
lea edx, [esp + 0x38]
lea ecx, [esi + 0x18]
push edx
call fcn.0044bde7
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x20], ecx
lea ecx, [esp + 0x24]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov byte [esp + 0x1c], 4
call fcn.0044bcae
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.0044bcae
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 2
call fcn.0044bcae
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 1
call fcn.0044bcae
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c], 0
call fcn.0044bcae
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044bcae
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4012e9
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
jmp 0x403070
push 0xffffffffffffffff
push 0x482f3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0x10a3d44]
lea ecx, [esi + 4]
mov dword [ecx], eax
mov edx, dword [0x10a3d44]
lea edi, [esi + 8]
mov dword [edi], edx
mov eax, dword [0x10a3d44]
lea ebp, [esi + 0xc]
mov dword [ebp], eax
mov edx, dword [0x10a3d44]
lea ebx, [esi + 0x10]
mov dword [ebx], edx
mov eax, dword [0x10a3d44]
mov dword [esi + 0x14], eax
mov edx, dword [0x10a3d44]
mov dword [esi + 0x18], edx
mov eax, dword [0x10a3d44]
mov dword [esi + 0x24], eax
lea edx, [esp + 0x24]
mov byte [esp + 0x1c], 0xe
push edx
mov dword [esi], 0x4892dc
call fcn.0044bde7
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.0044bde7
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.0044bde7
lea edx, [esp + 0x30]
mov ecx, ebx
push edx
call fcn.0044bde7
lea eax, [esp + 0x34]
lea ecx, [esi + 0x14]
push eax
call fcn.0044bde7
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x18]
call fcn.0044bde7
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
mov dword [esi + 0x1c], edx
push ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], eax
call fcn.0044bde7
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 5
call fcn.0044bcae
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 4
call fcn.0044bcae
mov byte [esp + 0x1c], 3
lea ecx, [esp + 0x2c]
call fcn.0044bcae
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 2
call fcn.0044bcae
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c], 1
call fcn.0044bcae
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c], 0
call fcn.0044bcae
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044bcae
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24
Function at 0x40137a
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x405ed0
push 0xffffffffffffffff
push 0x483692
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0x10a3d44]
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x10a3d44]
lea ebp, [esi + 8]
mov dword [ebp], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
lea ecx, [esi + 0xc]
mov byte [esp + 0x28], 5
call fcn.00401163
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x28], 6
call fcn.00401163
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
lea ecx, [esi + 0x2c]
mov byte [esp + 0x28], 7
call fcn.00401163
mov edx, dword [0x10a3d44]
lea ebx, [esi + 0x3c]
mov dword [ebx], edx
lea eax, [esp + 0x24]
mov ecx, edi
push eax
mov byte [esp + 0x20], 9
mov dword [esi], 0x489a6c
call fcn.0044bde7
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.0044bde7
lea edx, [esp + 0x50]
mov ecx, ebx
push edx
call fcn.0044bde7
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.0044bcae
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.0044bcae
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044bcae
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x30

Function at 0x40dea2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x40dee0
call fcn.0046cdc9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40dee0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40def7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x40def7
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4303b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00419180
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43047b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x43047b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43042e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x430439
or bh, 8
and edi, 0x8000000
je 0x430454
mov eax, dword [0x10ae59c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x43047b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret