joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4020d1
Capabilities:
Check for peb beingdebugged flag
Write file on windows

Disassembly:
jmp 0x40f580
push 0xffffffffffffffff
push 0x49d3c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
xor ecx, ecx
push ebx
mov dword [esp + 9], ecx
push ebp
xor eax, eax
mov dword [esp + 0x11], ecx
push esi
push edi
mov byte [esp + 0x14], al
mov byte [esp + 0x1d], cl
mov ebp, dword [esp + 0x30]
push 0xf
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov edi, 0x4c1728
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x4c1728
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x14], 0x21
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + edx + 0x19], 0xd
add edx, 2
push eax
lea ecx, [esp + 0x1c]
push edx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x402126
Capabilities:
Inspect load icon resource

Disassembly:
jmp 0x427550
sub esp, 0x1ec
mov eax, dword [ecx + 0x1c]
push ebx
push esi
push edi
mov dword [esp + 0x10], 0x1e8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x80
mov dword [esp + 0x1c], 7
mov dword [esp + 0x20], 0x464
call fcn.00496c5f
mov eax, dword [eax + 8]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push str.Touch_control_Manager
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.0047ab2a
mov edi, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
test ebx, ebx
je 0x4275e5
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esp + 0xc]
call fcn.0047aabc
pop edi
pop esi
pop ebx
add esp, 0x1ec
ret

Function at 0x4022ed
Capabilities:
Create thread

Disassembly:
jmp 0x42dba0
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0
push esi
push 0x402216
push 0
push 0
mov dword [esi + 0x70], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x74], eax
pop esi
pop ecx
ret
Function at 0x4023b0
Capabilities:
Read file on windows

Disassembly:
jmp 0x409ad0
push 0xffffffffffffffff
push 0x49cdb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0x4a656c
mov eax, dword [esi + 0xbc]
xor ebx, ebx
push 3
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], ebx
call fcn.00401e9c
mov edx, dword [esi + 0xbc]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x2c], ebx
call fcn.00402158
add esp, 8
cmp eax, ebx
je 0x409cb3
push 0xff0000
push 1
push ebx
lea ecx, [esp + 0x38]
call fcn.00482e5d
lea eax, [esp + 0x2c]
lea ecx, [esi + 0x214]
push eax
mov byte [esp + 0x4c], 1
call fcn.00481cd5
mov dword [esi + 0x22c], eax
mov eax, 0xff
push 0xc8
push 1
mov ecx, esi
mov dword [esi + 0xb8], ebx
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], eax
call fcn.004022bb
push 0x2710
push 2
mov ecx, esi
mov dword [esi + 0x9c], eax
call fcn.004022bb
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x98]
cmp eax, ebx
mov dword [esi + 0x74], 1
je 0x409c8a
mov edx, dword [esi + 0xbc]
xor ecx, ecx
mov dword [esp + 0x24], ecx
push 1
push edx
mov dword [esi + 0x70], ebx
mov byte [esp + 0x30], cl
call dword [sym.imp.KERNEL32.dll_SetCommMask]
mov ecx, dword [esi + 0xbc]
lea eax, [esp + 0x14]
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitCommEvent]
test byte [esp + 0x14], 1
je 0x409c71
mov edx, dword [esi + 0xa0]
mov ecx, esi
push edx
mov dword [esi + 0x70], 1
call fcn.00401b18
push 0x2710
push 2
mov ecx, esi
call fcn.004022bb
mov edx, dword [esi + 0xbc]
mov dword [esi + 0xa0], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, 0xcccccccd
xor ebp, ebp
mul dword [esp + 0x38]
mov edi, edx
shr edi, 2
cmp edi, ebx
jle 0x409c71
mov edx, dword [esi + 0xbc]
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x2c]
push 5
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00401bae
cmp eax, ebx
je 0x409c6b
inc ebp
cmp ebp, edi
jl 0x409c36
jmp 0x409c71
mov dword [esi + 0xb8], ebx
call fcn.004018b6
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x98], ebx
jne 0x409ba8
mov dword [esp + 0x2c], vtable.CGdiObject.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 2
call fcn.00482e47
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Calibration_Error_____CR_Command__
call fcn.0047ab2a
mov ecx, esi
call fcn.00401ece
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret
Function at 0x4023b5
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x43b5b0
push 0xffffffffffffffff
push 0x4a0e85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push esi
push edi
xor ebx, ebx
push 0x4c9094
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
call fcn.0047ab2a
mov ecx, dword [esp + 0x434]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebx
mov edi, 1
push ecx
push 0x80000002
mov dword [esp + 0x43c], edi
mov dword [esp + 0x2c], 0x400
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x43b638
mov esi, dword [esp + 0x430]
push 0x4c9094
mov ecx, esi
call fcn.0047ab2a
mov dword [esp + 0x14], edi
jmp 0x43b6c1
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x43c]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x43b67f
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x430]
push 0x4c9094
mov ecx, esi
call fcn.0047ab2a
jmp 0x43b6bd
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push eax
call fcn.0047ac45
lea ecx, [esp + 0xc]
call fcn.0046c931
lea ecx, [esp + 0xc]
call fcn.0046c83a
mov esi, dword [esp + 0x430]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0047a831
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x428], bl
call fcn.0047aabc
mov ecx, dword [esp + 0x420]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x420
ret 0xc

Function at 0x40240a
Capabilities:
Write file on windows

Disassembly:
jmp 0x40f4b0
sub esp, 0x10
push ebx
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov dword [esp + 0x11], ecx
push edi
xor eax, eax
mov dword [esp + 0x19], ecx
push 0xf
push ebp
mov byte [esp + 0x1c], al
mov byte [esp + 0x25], cl
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov edi, 0x4c1724
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x4c1724
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x14], 0x21
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + edx + 0x19], 0xd
add edx, 2
push eax
lea ecx, [esp + 0x1c]
push edx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x402414
Capabilities:
Check for peb beingdebugged flag

Disassembly:
jmp 0x417fb0
push 0xffffffffffffffff
push 0x49dc48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
xor ecx, ecx
push ebx
mov dword [esp + 9], ecx
push ebp
xor eax, eax
mov dword [esp + 0x11], ecx
push esi
push edi
mov byte [esp + 0x14], al
mov byte [esp + 0x1d], cl
mov dword [esp + 0x10], 0x4a656c
mov ebp, dword [esp + 0x30]
push 0xf
push ebp
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov ebx, dword [esp + 0x34]
or ecx, 0xffffffff
and ebx, 0xff
xor eax, eax
lea esi, [esp + 0x14]
mov edx, dword [ebx*4 + 0x4c19ac]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov dword [esp + 0x34], ecx
or ecx, 0xffffffff
mov byte [esp + 0x14], 0x21
repne scasb al, byte es:[edi]
mov eax, esi
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x34]
mov ecx, edx
and ecx, 3
add eax, 2
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov byte [esp + eax + 0x13], 0xd
push ecx
lea edx, [esp + 0x18]
push eax
push edx
push ebp
lea ecx, [esp + 0x20]
call fcn.004017b2
push 0xa
push ebp
mov esi, eax
call dword [sym.imp.KERNEL32.dll_PurgeComm]
xor eax, eax
mov al, byte [ebx + 0x4c1a00]
shl eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x402423
Capabilities:
Terminate process

Disassembly:
jmp 0x427750
push 0xffffffffffffffff
push 0x49f248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 8], esp
push eax
mov dword [esp + 0x18], 0
call fcn.0047a831
mov ecx, esi
call fcn.004018c5
test eax, eax
jne 0x4277b2
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.0047aabc
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 4
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.0047aabc
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 4

Function at 0x41a430
Capabilities:
Write file on windows

Disassembly:
jmp 0x41a430
push esi
mov esi, ecx
push 0
lea ecx, [esi + 0xb4]
lea eax, [esi + 0xcc]
push ecx
push 2
mov byte [eax], 0
push eax
mov eax, dword [esi + 0x68]
mov byte [esi + 0xcd], 9
push eax
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esi + 0xa8], eax
pop esi
ret
Function at 0x42a73e
Capabilities:
Hide graphical window

Disassembly:
jmp 0x42a720
push 0xffffffffffffffff
push 0x49f638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x4c2da4]
push ebp
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x2c], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea ebp, [esi + 0x8c]
push esi
push 0xca
mov ecx, ebp
call fcn.00475e09
test ebp, ebp
jne 0x42a777
xor eax, eax
jmp 0x42a77a
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
add ecx, 0xffffff06
push 0
add edx, 0xffffffec
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
add ecx, 0x82
add edx, 0xa
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebp
call fcn.00401af0
mov ecx, dword [esi + 0xf4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
test ecx, ecx
jle 0x42a7fe
push edi
lea edi, [eax + 1]
lea eax, [esp + 0x10]
push edi
push str.Monitor__d
push eax
call fcn.0046c67a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x3f8]
add esp, 0xc
push ecx
push 0
push 0x143
push edx
call ebx
mov ecx, dword [esi + 0xf4]
mov eax, edi
cmp eax, ecx
jl 0x42a7c6
pop edi
mov eax, dword [esi + 0x3f8]
push 0x4c2684
push 0
push 0x143
push eax
call ebx
mov ecx, esi
call fcn.00401898
mov ecx, dword [esi + 0x3f8]
push 0
push eax
push 0x14e
push ecx
call ebx
test ebp, ebp
pop ebx
je 0x42a833
mov ebp, dword [ebp + 0x1c]
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0047aabc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x42d86f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x42d7b0
push 0xffffffffffffffff
push 0x49faa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.0040178f
mov dword [esp + 0x2c], 0
call fcn.0047b29b
test eax, eax
je 0x42d7f2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov edi, eax
jmp 0x42d7f4
xor edi, edi
mov eax, dword [0x4c2da4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x2c], 2
xor esi, esi
push esi
call fcn.00401f96
add esp, 4
cmp eax, 1
je 0x42d85d
inc esi
cmp esi, 8
jl 0x42d808
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.0047aabc
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0047aabc
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040228e
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004012a3
add esp, 8
lea ecx, [esp + 0xc]
push 0
push 0x4c1f64
call fcn.0046c302
mov ecx, dword [esp + 0xc]
push str.USB
mov dl, byte [eax + ecx - 1]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], dl
call fcn.0047ab2a
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x38], 3
call fcn.0046bc89
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 4
call fcn.0047abf5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 3
call fcn.0047aabc
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 2
call fcn.0047aabc
add edi, 0xc4
push str.MultiMonitor
lea eax, [esp + 0x24]
push edi
push eax
call fcn.0047ad51
mov ecx, dword [ebp + 0x5c]
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 5
call fcn.004017c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 2
call fcn.0047aabc
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.0047aabc
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0047aabc
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040228e
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x42dba5
Capabilities:
Create thread

Disassembly:
jmp 0x42dba0
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0
push esi
push 0x402216
push 0
push 0
mov dword [esi + 0x70], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x74], eax
pop esi
pop ecx
ret
Function at 0x4610f0
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.0043f900
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4611bb
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 0x4611bb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x46116e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x461179
or bh, 8
and edi, 0x8000000
je 0x461194
mov eax, dword [0x4cda1c]
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 0x4611bb
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 0x461590
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 0x4615bb
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 0x4615df
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 0x4615fa
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 0x475e09
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 0x475e2b
cmp dword [edi + 0x3c], 0
jne 0x475e2b
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00496c5f
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.00475e6a
pop edi
pop esi
pop ebx
ret 8

Function at 0x4775c1
Capabilities:
Get graphical window text

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

Function at 0x4793c3
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 0x479405
call fcn.00496c5f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x479405
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4793fc
xor eax, eax
jmp 0x47940d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00479413
pop edi
pop esi
pop ebx
ret 4
Function at 0x100012f0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x1001e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x10001313
xor eax, eax
jmp 0x10001427
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x7c]
mov al, byte [edx]
mov byte [ebp - 0x81], al
add dword [ebp - 0x7c], 1
cmp byte [ebp - 0x81], 0
jne 0x10001322
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x80]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jne 0x1000135c
xor eax, eax
jmp 0x10001427
mov eax, dword [ebp - 8]
add eax, 3
push eax
call fcn.10002de8
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 8]
add eax, 3
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100044f0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.100051d7
add esp, 0xc
mov eax, 0x614
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x12], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 3
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x100013e9
mov dword [ebp - 0x7c], 1
jmp 0x100013f0
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.10002df1
add esp, 4
cmp dword [ebp - 0x78], 0
jne 0x10001417
mov dword [ebp - 0x7c], 0
jmp 0x10001424
mov dword [ebp - 0xc], 0x8123
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002ff5
mov esp, ebp
pop ebp
ret