joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b7f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44b823
push esi
call fcn.0044e8f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44b81c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44b8a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44b892
mov eax, dword [esi + 8]
test eax, eax
je 0x44b847
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44b88e
cmp eax, 2
je 0x44b892
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44b83a
cmp eax, 3
je 0x44b86d
cmp eax, 1
jne 0x44b83a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44b83a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44b83a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044b8d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44b8b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044b8d0
add esp, 4
pop esi
ret

Function at 0x457930
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4579d3
test eax, eax
jbe 0x4579d3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4579d3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45797e
xor esi, esi
jmp 0x457984
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4579af
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0045bc20
add esi, eax
push esi
mov ebx, esi
call fcn.0045bc20
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x457990
pop ebp
test edi, edi
pop edi
jne 0x4579d3
test ebx, ebx
je 0x4579d3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004601c0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x457b15
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x457c2d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x457c2d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00471232
mov esi, eax
test esi, esi
je 0x457c2d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x457c2d
mov ecx, esi
call fcn.00457a80
cmp edi, eax
jge 0x457c2d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x457bb3
mov dword [esp + 0x34], 1
jmp 0x457c0e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x457c2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00457010
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x471bd6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x471c0e
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.0046fc8d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046fc65
jmp 0x471c1a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4732c7
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 0x473309
call fcn.00478dc3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x473309
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x473300
xor eax, eax
jmp 0x473311
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00473317
pop edi
pop esi
pop ebx
ret 4
Function at 0x4792f3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x479321
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47933f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479259
jmp 0x47933f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47933f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479259
test edi, edi
mov eax, edi
jne 0x479329
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404df0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov ecx, 0x462428
mov dword [0x4620a0], eax
mov dword [0x4620a4], esi
call fcn.0041b710
push esi
mov ecx, 0x462090
mov dword [0x4620b8], eax
call fcn.0040a160
mov ecx, dword [0x4622b0]
push 0
push 0x3f
push 2
push ecx
mov ecx, 0x462090
call fcn.0044bf9b
mov eax, dword [0x462094]
lea edx, [esp + 8]
push 1
push edx
push 0x20
push 0xffff
push eax
mov byte [esp + 0x1c], 1
call sub.WSOCK32.dll_setsockopt
pop esi
ret

Function at 0x40a380
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x48
push esi
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x10], 0x32
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 0x1c]
push edx
call sub.WSOCK32.dll_gethostbyname
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov edx, ecx
lea edi, [esp + 0x10]
mov esi, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
mov ecx, 0x4622ac
call fcn.00441b69
mov al, byte [0x4623f5]
pop edi
test al, al
pop esi
jne 0x40a429
mov ecx, dword [0x4632fc]
mov al, byte [ecx + 0x11]
mov dl, al
and dl, 0x20
test byte [ecx + 0xc], 0x40
jne 0x40a3fa
and al, 0xdf
jmp 0x40a3fc
or al, 0x20
mov byte [ecx + 0x11], al
mov eax, dword [0x4632fc]
test dl, dl
mov cl, byte [eax + 0xc]
jne 0x40a41c
and cl, 0xbf
mov byte [eax + 0xc], cl
mov byte [0x4623f5], 1
add esp, 0x48
ret
or cl, 0x40
mov byte [eax + 0xc], cl
mov byte [0x4623f5], 1
add esp, 0x48
ret
Function at 0x40afb0
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44d3d0
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x10]
call fcn.00409620
test al, al
jne 0x40b119
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x14]
push eax
call fcn.004057b0
mov ecx, dword [esi + 0x14]
push 1
mov dword [esp + 0x2c], 0
call fcn.004056f0
lea ecx, [esp + 0x10]
mov edi, eax
push ecx
mov ecx, dword [esi + 0x14]
call fcn.004057b0
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x2c], 1
call fcn.004057b0
mov ecx, 0x462428
mov byte [esp + 0x28], 2
call fcn.0041b710
mov ecx, dword [0x46009c]
push eax
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
call fcn.00441b69
mov eax, dword [esp + 0xc]
mov byte [esp + 0x28], 3
cmp dword [eax - 8], 0x12
jne 0x40b0af
mov edx, dword [esp + 8]
push edx
push eax
call fcn.0042f062
add esp, 8
test eax, eax
jne 0x40b0af
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push str.SOFTWAREyywk_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40b090
mov ecx, dword [esp + 0x18]
push 0x45f40c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi + 0x10]
push 1
call fcn.00409610
mov ecx, dword [esi + 0x10]
call fcn.00408d90
jmp 0x40b0de
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x10]
mov ecx, dword [eax + 0x1e8]
add eax, 0x1e4
push ecx
push edx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00441755
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x24]
push eax
call fcn.004089a0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.004419e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.004419e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.004419e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004419e0
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret
Function at 0x40cca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44d708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
mov ecx, dword [esi + 0x14]
call fcn.004056f0
mov ecx, dword [esi + 0x14]
push 1
mov edi, eax
call fcn.004056f0
mov ecx, dword [esi + 0x14]
mov ebp, eax
lea eax, [esp + 0x10]
push eax
call fcn.004057b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
push ecx
mov ecx, dword [esi + 0x14]
call fcn.004057b0
mov ecx, dword [esi + 0x14]
push 2
mov byte [esp + 0x2c], 1
call fcn.004056f0
push 0x45f214
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.00441a4e
mov ecx, dword [esi + 0xc]
push eax
push edi
mov byte [esp + 0x30], 2
call fcn.004077c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.004419e0
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
push ebp
call fcn.004077c0
lea eax, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00441755
mov ecx, 0x4622a8
call fcn.00409cd0
mov ecx, dword [esi + 0xc]
push eax
call fcn.00407fa0
test edi, edi
jl 0x40cd89
cmp edi, 4
jge 0x40cd89
lea eax, [edi + edi*8]
shl eax, 3
sub eax, edi
lea ecx, [eax*8 + 0x462768]
call fcn.00417cc0
push ebx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00441755
lea ecx, [ebp + ebp*8]
lea eax, [esp + 0x18]
shl ecx, 3
sub ecx, ebp
push eax
lea ecx, [ecx*8 + 0x462768]
call fcn.00417d00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call fcn.004419e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004419e0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x41a070
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44de28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
mov ecx, edi
mov eax, dword [edi]
mov ebp, dword [eax - 8]
push ebp
call fcn.00441dfb
push 0x45f78c
lea ecx, [esp + 0x34]
mov ebx, eax
call fcn.00441a4e
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
lea eax, [ecx + 2]
test eax, eax
jle 0x41a0d3
mov esi, eax
push 0x45f788
lea ecx, [esp + 0x34]
call fcn.00441dbc
dec esi
jne 0x41a0c2
xor al, al
xor esi, esi
cmp byte [esi + ebx], 0
jge 0x41a0e2
test al, al
sete al
inc esi
cmp esi, 0x2d
jl 0x41a0d7
cmp al, 1
jne 0x41a0ed
inc esi
sub ebp, esi
lea edx, [esp + 0x18]
push ebp
push edx
mov ecx, edi
call fcn.0043c1e4
mov ebp, eax
lea eax, [esp + 0x14]
push esi
push eax
mov ecx, edi
mov byte [esp + 0x2c], 1
call fcn.0043c260
lea ecx, [esp + 0x30]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x30], 2
call fcn.00441c0f
push ebp
push eax
lea eax, [esp + 0x34]
mov bl, 3
push eax
mov byte [esp + 0x30], bl
call fcn.00441c0f
push eax
mov ecx, edi
mov byte [esp + 0x28], 4
call fcn.00441b19
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.004419e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.004419e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.004419e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.004419e0
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.004419e0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x41b440
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push edi
push eax
push 0xf003f
push 0
push str.SOFTWARE
mov edi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b516
push ebx
mov edx, dword [esp + 8]
push esi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push eax
push 0x20006
push eax
push 0x462070
push eax
push str.yywk
push edx
call esi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0x20006
push 0
push 0x462070
push 0
push 0x45f5d4
push ecx
call esi
lea edx, [esp + 0xc]
mov ecx, 0x463288
push edx
call fcn.00419910
lea esi, [edi + 0x1c5]
push esi
call fcn.00404220
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
mov eax, dword [esp + 0x10]
push esi
push 1
push 0
push str.docpath
push eax
call ebx
lea esi, [edi + 0x2c9]
push esi
call fcn.00404220
mov ecx, dword [esp + 0x10]
add esp, 4
push eax
push esi
push 1
push 0
push str.playername
push ecx
call ebx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop edi
pop ecx
ret

Function at 0x4256d0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x44ea38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x45fdd8
lea ecx, [esp + 8]
call fcn.00441a4e
push 0x45fda0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.00441dbc
cmp byte [esp + 0x18], 1
jne 0x425767
mov eax, dword [esp + 4]
push 0x44
push 0x45f250
push eax
mov ecx, esi
call fcn.0043fe5b
cmp eax, 6
jne 0x425767
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push str.SOFTWAREyywk_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42575c
mov edx, dword [esp + 0x18]
push 0x45f40c
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.004419e0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4336c5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4615f0
cmp edx, dword [eax]
je 0x4336e7
add eax, 8
inc ecx
cmp eax, 0x461680
jl 0x4336d8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4615f0]
jne 0x433815
mov eax, dword [0x4653f0]
cmp eax, 1
je 0x4337ef
test eax, eax
jne 0x433718
cmp dword [0x460e74], 1
je 0x4337ef
cmp edx, 0xfc
je 0x433815
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43374f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00435f80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042fb00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x433792
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042fb00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x455ae4
push edi
call fcn.00436930
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00435f80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00435f90
lea eax, [ebp - 0xa0]
push 0x455ac4
push eax
call fcn.00435f90
push dword [esi + 0x4615f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00435f90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0043689e
add esp, 0x2c
pop edi
jmp 0x433815
lea eax, [ebp + 8]
lea esi, [esi + 0x4615f4]
push 0
push eax
push dword [esi]
call fcn.0042fb00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x43ba40
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.0042f3a0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43bb0b
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 0x43bb0b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43babe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x43bac9
or bh, 8
and edi, 0x8000000
je 0x43bae4
mov eax, dword [0x466b9c]
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 0x43bb0b
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 0x43bee0
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 0x43bf0b
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 0x43bf2f
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 0x43bf4a
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 0x43db44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x43db66
cmp dword [edi + 0x3c], 0
jne 0x43db66
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0044739a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0043db93
pop edi
pop esi
pop ebx
ret 8

Function at 0x43f19a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43f1d2
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.00441e72
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00441e4a
jmp 0x43f1de
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x440824
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 0x440866
call fcn.0044739a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x440866
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x44085d
xor eax, eax
jmp 0x44086e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00440874
pop edi
pop esi
pop ebx
ret 4

Function at 0x448e29
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x448ed9
mov ecx, 0x465388
call fcn.00448892
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x448eb7
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x448e95
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x448e95
push ebx
push edi
push eax
call fcn.00442e86
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.00441b69
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc