joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443e80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046f1de
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004437d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046f10c
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046b9d0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046b9d0
push 1
push 0
push 0
mov ecx, esi
call fcn.0046b978
push 1
push 0
push 1
mov ecx, esi
call fcn.0046b978
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046f250
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x444000
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476ce8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046f1de
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004437d0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046f10c
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4440c4
cmp dword [esp + 0x40], 1
jne 0x4440c2
cmp ecx, eax
jge 0x4440c4
mov eax, ecx
cmp eax, 0xc8
jge 0x4440d0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00443e80
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046f250
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4448c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476d93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00469dee
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046f486
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004709a2
test eax, eax
je 0x4449dc
mov ecx, dword [esp + 0x3c]
call fcn.0046f4b3
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4449a0
push edi
mov ecx, esi
call fcn.0046cb17
mov ecx, esi
call fcn.00444b80
cmp dword [esp + 0x38], 1
jne 0x4449d5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046cc52
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x446bb0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x446be3
push esi
call fcn.00449d00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x446bdc
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 0x446c69
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x446c52
mov eax, dword [esi + 8]
test eax, eax
je 0x446c07
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 0x446c4e
cmp eax, 2
je 0x446c52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x446bfa
cmp eax, 3
je 0x446c2d
cmp eax, 1
jne 0x446bfa
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 0x446bfa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x446bfa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00446c90
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x446c78
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00446c90
add esp, 4
pop esi
ret

Function at 0x452fd0
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 0x453073
test eax, eax
jbe 0x453073
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x453073
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 0x45301e
xor esi, esi
jmp 0x453024
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45304f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00456920
add esi, eax
push esi
mov ebx, esi
call fcn.00456920
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x453030
pop ebp
test edi, edi
pop edi
jne 0x453073
test ebx, ebx
je 0x453073
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00459430
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4531b5
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 0x4532cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4532cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046a240
mov esi, eax
test esi, esi
je 0x4532cd
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 0x4532cd
mov ecx, esi
call fcn.00453120
cmp edi, eax
jge 0x4532cd
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 0x453253
mov dword [esp + 0x34], 1
jmp 0x4532ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4532cd
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.004526a0
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 0x46abe3
Capabilities:
Get graphical window text

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

Function at 0x46c2d4
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 0x46c316
call fcn.00471de7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46c316
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46c30d
xor eax, eax
jmp 0x46c31e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046c324
pop edi
pop esi
pop ebx
ret 4
Function at 0x472317
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 0x472345
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x472363
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047227d
jmp 0x472363
mov eax, dword [esi + 0x14]
test eax, eax
je 0x472363
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047227d
test edi, edi
mov eax, edi
jne 0x47234d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404f66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.004252f4
movzx ebx, word [esp + 0x14]
mov esi, dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 2
push ebx
push esi
call ebp
mov edi, eax
test edi, edi
jne 0x404f97
xor esi, esi
push 2
push ebx
push esi
call ebp
mov edi, eax
test edi, edi
je 0x404fbd
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404fbd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404fbd
push eax
call fcn.00404f33
add esp, 4
cmp ax, 0x10
je 0x404fc1
xor eax, eax
jmp 0x404fca
push 0
push edi
push esi
call fcn.0041fb17
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4050c6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push esi
xor esi, esi
cmp dword [0x432ff8], esi
jne 0x40518c
lea eax, [ebp - 4]
push ebx
push eax
xor ebx, ebx
push 0x20019
push esi
inc ebx
push str.SoftwareMicrosoftPlus_ThemesCurrent
push 0x80000001
mov dword [0x432ff8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40518b
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
mov dword [ebp - 0xc], 0x104
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405181
push 5
mov esi, str.Windows_Classic.theme
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x134]
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x24]
push eax
call esi
cmp edi, eax
jl 0x405181
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
push eax
call esi
sub edi, eax
lea eax, [ebp + edi - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405181
mov dword [0x432ff4], ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, dword [0x432ff4]
pop esi
leave
ret
Function at 0x4079d6
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 4]
push eax
push 0x42b3a8
push 1
push 0
push 0x42b3b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x407a30
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x42b408
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x407a34
xor eax, eax
leave
ret
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0xffffffffffffffff
push dword [ebp + 0x10]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x210]
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
inc eax
leave
ret

Function at 0x40a47e
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
push ebx
sub eax, dword [ebp + 0x10]
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword [esi + 0x54]
div ecx
test edx, edx
mov dword [ebp - 4], eax
je 0x40a49d
inc dword [ebp - 4]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esi + 0x58]
sub eax, dword [ebp + 0x14]
xor edx, edx
div ecx
test edx, edx
mov ebx, eax
je 0x40a4b1
inc ebx
and dword [ebp + 0x1c], 0
cmp dword [ebp - 4], 0
jle 0x40a4f9
push edi
xor edi, edi
test ebx, ebx
jle 0x40a4ed
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
push 0xcc0020
push 0
push 0
push dword [ebp + 0xc]
push eax
push ecx
imul ecx, dword [ebp + 0x1c]
imul eax, edi
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
inc edi
cmp edi, ebx
jl 0x40a4c2
inc dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp - 4]
jl 0x40a4bc
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x4119d9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x432710
cmp edx, dword [eax]
je 0x4119fb
add eax, 8
inc ecx
cmp eax, 0x4327a0
jl 0x4119ec
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x432710]
jne 0x411b29
mov eax, dword [0x4364b0]
cmp eax, 1
je 0x411b03
test eax, eax
jne 0x411a2c
cmp dword [0x432014], 1
je 0x411b03
cmp edx, 0xfc
je 0x411b29
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x411a63
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040c500
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040c040
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x411aa6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040c040
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42b1f4
push edi
call fcn.0040c400
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040c500
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040c510
lea eax, [ebp - 0xa0]
push 0x42b1d4
push eax
call fcn.0040c510
push dword [esi + 0x432714]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040c510
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00414253
add esp, 0x2c
pop edi
jmp 0x411b29
lea eax, [ebp + 8]
lea esi, [esi + 0x432714]
push 0
push eax
push dword [esi]
call fcn.0040c040
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 0x4194de
Capabilities:
Get graphical window text

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

Function at 0x41ac8b
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 0x41accd
call fcn.004252f4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41accd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41acc4
xor eax, eax
jmp 0x41acd5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041acdb
pop edi
pop esi
pop ebx
ret 4
Function at 0x41c7a2
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 0x41c7c4
cmp dword [edi + 0x3c], 0
jne 0x41c7c4
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004252f4
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.0041c7f1
pop edi
pop esi
pop ebx
ret 8

Function at 0x41d6b3
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x41d6e3
push edi
call ebx
push eax
call fcn.0041cf97
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x41d70d
test byte [ebp - 4], 1
je 0x41d70d
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x41d70d
push edi
call ebx
push eax
call fcn.0041cf97
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x41d7b3
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0041d600
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x41d73f
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0041d600
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x41d755
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0041d600
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41d77f
push 0
call ebx
push eax
call fcn.0041cf97
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x41d79d
push eax
call ebx
push eax
call fcn.0041cf97
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41d7b1
push eax
call ebx
push eax
call fcn.0041cf97
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x41d7da
test byte [ebp - 4], 1
jne 0x41d7da
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x41d7da
push edi
call ebx
push eax
call fcn.0041cf97
pop edi
pop ebx
leave
ret 8
Function at 0x41fab2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4277e0
call fcn.0040bb88
push ecx
push ecx
push esi
push 0x10
call fcn.00418529
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x41faff
mov ecx, esi
call fcn.0041cf1a
mov eax, dword [0x431838]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CArchiveException.0
mov dword [esi + 8], eax
call fcn.004180d0
jmp 0x41fb01
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x42e730
push eax
mov dword [ebp - 0x10], esi
call fcn.0040cba4
pop esi

Function at 0x424b55
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.004252f4
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x424b92
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x424b92
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x424b96
xor eax, eax
jmp 0x424c14
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00418529
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x424bce
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 0x424bb8
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00424d05
push ebx
mov edi, eax
call fcn.00418552
test edi, edi
pop ecx
je 0x424c10
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.00424ace
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00424c19
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4