joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f330
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x45403f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push 0x471df0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.00444c7d
mov eax, dword [0x46d688]
mov dword [esp + 0x28], 1
mov dword [esp + 8], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov byte [esp + 0x28], 2
mov ebx, 1
mov cl, bl
push 1
add cl, 0x41
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043e1c4
push 0x46bd08
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.00444ea4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 4
call fcn.00444d48
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.00444c0f
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.00444c0f
push 0
lea ecx, [esp + 0xc]
call fcn.0044503f
push eax
call esi
cmp eax, 1
je 0x40f416
lea eax, [esp + 8]
push 0x46bbd4
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00444ea4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.00445027
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00444c0f
inc ebx
cmp ebx, 0x19
jle 0x40f381
mov esi, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00444984
mov dword [esp + 0x1c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.00444c0f
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00444c0f
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x412e90
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 0x412ef2
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 0x413100
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4131f2
lea ecx, [esp + 0x10]
push ecx
push str..htm
push SysReAllocString
mov ecx, edi
call fcn.00412e90
test eax, eax
jne 0x4131f2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push SysReAllocString
mov ecx, edi
call fcn.00412e90
test eax, eax
jne 0x4131f2
lea edx, [esp + 0x10]
push 0x46c09c
push edx
call fcn.0042ab40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4131c3
lea eax, [esp + 0x10]
push 0x46c098
push eax
call fcn.0042aac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4131c3
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4131c6
mov byte [esi], 0
push 0x46b1b0
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x417860
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4550ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push 0x471df0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.00444c7d
mov eax, dword [0x46d688]
mov dword [esp + 0x28], 1
mov dword [esp + 8], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov byte [esp + 0x28], 2
mov ebx, 1
mov cl, bl
push 1
add cl, 0x41
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043e1c4
push 0x46bd08
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.00444ea4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 4
call fcn.00444d48
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.00444c0f
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.00444c0f
push 0
lea ecx, [esp + 0xc]
call fcn.0044503f
push eax
call esi
cmp eax, 1
je 0x417946
lea eax, [esp + 8]
push 0x46bbd4
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00444ea4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.00445027
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00444c0f
inc ebx
cmp ebx, 0x19
jle 0x4178b1
mov esi, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00444984
mov dword [esp + 0x1c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.00444c0f
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00444c0f
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x417e40
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4551b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x24]
push eax
push ecx
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov dword [esp + 0x28], ebx
mov dword [esi + 0x2c0c], ebx
call fcn.00444984
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x2c], 2
call fcn.00444984
mov ecx, esi
mov byte [esp + 0x28], bl
lea edi, [esi + 0x2c10]
call fcn.00418a90
push eax
mov ecx, edi
call fcn.0040eaa0
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push ebx
push ecx
mov ecx, edi
call fcn.0040ec00
lea edx, [esp + 0x10]
push edx
push 0
push edi
push 0x40faf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.00444c0f
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00444c0f
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x14
Function at 0x4186e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x1c]
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004478f2
push 0x10
mov esi, eax
call fcn.00444950
mov edx, dword [ebx + 0x1c]
add esp, 4
lea ecx, [esp + 0x18]
mov edi, eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [edi + 4], 5
mov edx, dword [esp + 0x18]
mov dword [edi], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
xor edx, edx
sub eax, ecx
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov dword [edi + 8], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], vtable.CFont.0
mov eax, dword [0x471f4c]
mov ecx, dword [0x471f50]
push eax
push 0x10
push edx
push edx
push edx
push 1
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push ecx
mov dword [esp + 0x78], edx
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x14]
call fcn.0044841f
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [edx + 0x28]
push 1
mov ecx, esi
mov ebx, eax
call fcn.00447b77
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [0x471f54]
mov ecx, esi
push eax
call dword [edx + 0x30]
push 1
mov ecx, esi
call fcn.00447b77
mov eax, dword [0x471f48]
mov ecx, dword [eax - 8]
mov edx, dword [esi]
push 1
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
push ebp
mov ecx, esi
call fcn.00447b77
test edi, edi
je 0x4187fc
push edi
call fcn.00444979
add esp, 4
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 1
call fcn.00448476
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x419876
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x455446
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 8]
call fcn.004191d0
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
call fcn.00419050
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.00419050
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], 0x64
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41aef0
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push 0
push 0
push 3
push 0
push 7
push 0
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41af1d
xor eax, eax
pop esi
pop ecx
ret
lea ecx, [esp + 4]
push edi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x41d550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455974
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x46d688]
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], eax
or eax, 0xffffffff
mov dword [esi + 4], eax
mov ecx, dword [0x46d40c]
mov dword [esi + 8], ecx
mov edx, dword [0x46d688]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edx
mov eax, dword [0x46d40c]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x14], eax
push 0x41d540
push 0x41d520
push 0x1f4
lea ecx, [esi + 0x1c]
push 0x14
push ecx
mov byte [esp + 0x30], 1
call fcn.0042a2c8
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.0041d680
mov edx, dword [esp + 0x24]
lea ecx, [esp + 8]
push edx
call fcn.00421380
push eax
mov ecx, esi
mov byte [esp + 0x20], 3
call fcn.004218e0
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call fcn.00421450
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x41e500
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x455bbb
push eax
mov eax, 0x3c94
mov dword fs:[0], esp
call fcn.00429cd0
push ebx
push ebp
mov ebx, ecx
push 1
call fcn.004435f9
lea ecx, [esp + 0xb4]
call fcn.004073f0
mov eax, dword [ebx + 0x1478]
xor ebp, ebp
push eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x3ca8], ebp
call fcn.00407740
mov eax, dword [ebx + 0x1478]
cmp dword [eax - 8], ebp
jne 0x41e56e
push ebp
push ebp
push 0x46cdd8
call fcn.00448ff5
jmp 0x41e6a4
push eax
call fcn.0041af40
add esp, 4
test eax, eax
je 0x41e59e
push ebp
push 1
push 0x46ce90
call fcn.00448ff5
cmp eax, 2
je 0x41e6a4
mov eax, dword [ebx + 0x1478]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebx + 0x1464]
mov ecx, dword [ebx + 0x1460]
mov edx, dword [ebx + 0x146c]
push esi
mov esi, dword [ebx + 0x1468]
push edi
push eax
push ecx
push edx
push esi
lea ecx, [esp + 0xcc]
call fcn.00407790
push 0xff
push 5
lea ecx, [esp + 0xc4]
call fcn.00407880
mov ecx, 0x11
mov esi, str.X5O_P__AP_4PZX54_P_7CC_7_EICAR_STANDARD_ANTIVIRUS_TEST_FILE__HH
lea edi, [esp + 0x74]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x74]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x46ce3c
mov dword [esp + 0x20], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x10], ebp
shr ecx, 2
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
lea edx, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.TXT_INI_BAT_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x74]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x78]
push ecx
push edx
push ebp
lea ecx, [esp + 0xcc]
call fcn.00409340
push ebp
lea ecx, [esp + 0xc0]
call fcn.00408480
pop edi
pop esi
test eax, eax
je 0x41e6a4
push ebp
push ebp
push 0x46cdf0
call fcn.00448ff5
mov ecx, ebx
call fcn.0041e010
lea ecx, [esp + 0xb4]
mov dword [esp + 0x3ca4], 0xffffffff
call fcn.00407640
mov ecx, dword [esp + 0x3c9c]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3ca0
ret
Function at 0x421760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45639f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, ecx
test esi, esi
mov dword [esp + 8], 0
jge 0x421790
xor esi, esi
jmp 0x4217ae
mov eax, dword [edi + 8]
push eax
call fcn.00429d24
add esp, 4
cmp esi, eax
jle 0x4217ae
mov ecx, dword [edi + 8]
push ecx
call fcn.00429d24
add esp, 4
mov esi, eax
mov edx, dword [0x46d688]
mov eax, dword [0x46d40c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], eax
push 0
push 0
lea ecx, [esp + 0x14]
push esi
push ecx
mov ecx, edi
mov dword [esp + 0x30], 1
call fcn.00421970
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.00444dbf
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004212e0
mov dword [esp + 8], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.00421450
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x42abb6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42abd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042c9a3
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x42abf9
test byte [esp + 8], 2
je 0x42abf9
call fcn.0042ca16
mov dword [eax], 0xd
call fcn.0042ca1f
mov dword [eax], 5
jmp 0x42abd2
xor eax, eax
ret
Function at 0x43c790
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.00429cd0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43c85b
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 0x43c85b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43c80e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x43c819
or bh, 8
and edi, 0x8000000
je 0x43c834
mov eax, dword [0x475d1c]
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 0x43c85b
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
Function at 0x43cc30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x43cc5b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x43cc7f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x43cc9a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x442123
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x44215b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004450b6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0044508e
jmp 0x442167
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x443866
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4438a8
call fcn.0044f0ad
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4438a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x44389f
xor eax, eax
jmp 0x4438b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004438b6
pop edi
pop esi
pop ebx
ret 4

Function at 0x44e9f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0044f0ad
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44ea30
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44ea30
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x44ea34
xor eax, eax
jmp 0x44eab2
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00444950
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x44ea6c
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x44ea56
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0044eba3
push ebx
mov edi, eax
call fcn.00444979
test edi, edi
pop ecx
je 0x44eaae
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0044e96c
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0044eab7
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6ec74e4e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x24192c8d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219