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

Disassembly:
push 0xffffffffffffffff
push 0x47e8e3
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.004703a2
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.00475b15
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047706d
test eax, eax
je 0x43a33c
mov ecx, dword [esp + 0x3c]
call fcn.00475b42
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 0x43a300
push edi
mov ecx, esi
call fcn.004730fd
mov ecx, esi
call fcn.0043a4a0
cmp dword [esp + 0x38], 1
jne 0x43a335
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.00473267
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 0x43cd60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43cd93
push esi
call fcn.0043fe70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43cd8c
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 0x43ce19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ce02
mov eax, dword [esi + 8]
test eax, eax
je 0x43cdb7
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 0x43cdfe
cmp eax, 2
je 0x43ce02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43cdaa
cmp eax, 3
je 0x43cddd
cmp eax, 1
jne 0x43cdaa
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 0x43cdaa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43cdaa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ce40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ce28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ce40
add esp, 4
pop esi
ret

Function at 0x448960
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 0x448a03
test eax, eax
jbe 0x448a03
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x448a03
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 0x4489ae
xor esi, esi
jmp 0x4489b4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4489df
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004034e0
add esi, eax
push esi
mov ebx, esi
call fcn.004034e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4489c0
pop ebp
test edi, edi
pop edi
jne 0x448a03
test ebx, ebx
je 0x448a03
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045fa80
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x448b45
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 0x448c5d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x448c5d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004707f4
mov esi, eax
test esi, esi
je 0x448c5d
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 0x448c5d
mov ecx, esi
call fcn.00448ab0
cmp edi, eax
jge 0x448c5d
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 0x448be3
mov dword [esp + 0x34], 1
jmp 0x448c3e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x448c5d
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.004480a0
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 0x452c30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x452c7c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x452c7c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x452c66
push eax
call ebp
test ax, ax
jl 0x452c74
inc esi
add edi, 4
cmp esi, 6
jb 0x452c58
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00452930
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4557b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x455810
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x455810
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x455810
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x455810
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x455820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x471198
Capabilities:
Get graphical window text

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

Function at 0x472886
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 0x4728c8
call fcn.004786ff
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4728c8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4728bf
xor eax, eax
jmp 0x4728d0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004728d6
pop edi
pop esi
pop ebx
ret 4

Function at 0x478c2f
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 0x478c5d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x478c7b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00478b95
jmp 0x478c7b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x478c7b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00478b95
test edi, edi
mov eax, edi
jne 0x478c65
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4732b3
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067cfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
lea edi, [ebp - 0x5c]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x34
call fcn.004a0113
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x473307
mov ecx, dword [ebp - 0x18]
call fcn.0045b9dc
mov dword [ebp - 0x1c], eax
jmp 0x47330e
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x2c], ecx
mov esi, esp
push 0xfffffffffffffffc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79b4]
cmp esi, esp
call fcn.004a00d3
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], eax
mov esi, esp
push 0x10001b4f
push 0xfffffffffffffffc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79b8]
cmp esi, esp
call fcn.004a00d3
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
push 0x10099040
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79bc]
cmp esi, esp
call fcn.004a00d3
mov esi, esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
push edx
push 0x10099030
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [0x100a79bc]
cmp esi, esp
call fcn.004a00d3
mov esi, esp
push 0x10001b4f
push 0x10099020
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79bc]
cmp esi, esp
call fcn.004a00d3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, 0x100a34b8
call fcn.0045b478
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call fcn.004a00d3
mov esp, ebp
pop ebp
ret
Function at 0x4b9a43
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b178
push 0x1004d448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x4b9a80
push 0
call dword [0x100a77a8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x4b9ab8
push 0xc1
call dword [0x100a76c8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x4b9c1c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x4b9af0
push 0xbf
call dword [0x100a76c8]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x4b9c1c
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax + 0x14]
test ecx, ecx
jne 0x4b9b1e
push 0xc0
call dword [0x100a76c8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
jmp 0x4b9c1c
mov edx, dword [ebp - 0x24]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x4b9b43
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x4b9bf6
push 0x100a2838
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
add ecx, eax
push ecx
call fcn.004a5b53
add esp, 8
test eax, eax
jne 0x4b9bf1
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0xc], 0
je 0x4b9b92
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0x10], 0
jne 0x4b9b94
jmp 0x4b9bf6
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0x30
jb 0x4b9bc1
mov edx, dword [ebp - 0x30]
cmp dword [edx + 4], 0x727444
je 0x4b9bc3
jmp 0x4b9bf6
mov eax, dword [ebp - 0x30]
cmp dword [eax + 8], 0
jne 0x4b9bd7
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ecx + 8], eax
push 0
call dword [0x100a76c8]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x4b9c1c
jmp 0x4b9b3a
mov dword [ebp - 4], 0xffffffff
jmp 0x4b9c0f
push 0xc0
call dword [0x100a76c8]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x409a00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x409a1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409a21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409a10
mov eax, 1
add ebx, ebx
jne 0x409a33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409a44
jne 0x409a54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409a54
dec eax
add ebx, ebx
jne 0x409a50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x409a28
xor ecx, ecx
sub eax, 3
jb 0x409a6c
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409ade
sar eax, 1
mov ebp, eax
jmp 0x409a77
add ebx, ebx
jne 0x409a77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409a84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x409aa8
inc ecx
add ebx, ebx
jne 0x409a94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409a89
jne 0x409aa5
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409a89
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409ac8
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409ab9
jmp 0x409a16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409ac8
add edi, ecx
jmp 0x409a16
pop esi
mov edi, esi
mov ecx, 0x811
mov al, pe_nt_image_headers32
repne scasb al, byte es:[edi]
jne 0x409af5
mov eax, dword [edi]
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x409ae6
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x409b3d
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcc0c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcc84]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409afb
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xcc88]
or eax, eax
je 0x409b37
mov dword [ebx], eax
add ebx, 4
jmp 0x409b18
call dword [esi + 0xcc98]
mov ebp, dword [esi + 0xcc8c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x409b71
sub esp, 0xffffff80
jmp 0x401764
Function at 0x101e176a
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.101e17e9
jae 0x101e1776
xor ecx, ecx
call fcn.101e17e9
jae 0x101e17a0
xor eax, eax
call fcn.101e17e9
jae 0x101e17b1
mov al, 0x10
call fcn.101e17e9
adc al, al
jae 0x101e1792
jne 0x101e17de
stosb byte es:[edi], al
jmp 0x101e1777
call fcn.101e17f5
dec ecx
loop 0x101e17bd
mov eax, ebp
call fcn.101e17f3
jmp 0x101e17df
lodsb al, byte [esi]
shr eax, 1
je 0x101e1805
adc ecx, 2
mov ebp, eax
jmp 0x101e17df
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.101e17f3
cmp eax, 0x7d00
jae 0x101e17dd
cmp eax, 0x500
jae 0x101e17de
cmp eax, 0x7f
ja 0x101e17df
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x101e1777
pop ebp
ret 8
Function at 0x40a400
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4680db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045ce10
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a482
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045abc7
mov eax, dword [eax]
push 0x4c91c8
push eax
call fcn.0044dac4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d09b
test bl, bl
je 0x40a482
push 0x4c91c8
lea ecx, [esp + 0xc]
call fcn.0045d42b
push 0x4cce78
lea ecx, [esp + 0xc]
call fcn.0045d42b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40a4be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d09b
jmp 0x40a589
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a542
lea edx, [esp + 0x7c]
push 0x4cce74
push edx
call fcn.0044dac4
add esp, 8
test eax, eax
je 0x40a542
lea eax, [esp + 0x7c]
push 0x4cce70
push eax
call fcn.0044dac4
add esp, 8
test eax, eax
je 0x40a542
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a4d2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045d09b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40ad80
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 0x40ade2
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 0x40adf0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46815b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d3348]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40af28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40ae56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d09b
xor eax, eax
jmp 0x40af9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045d1d8
push esi
lea ecx, [esp + 0xc]
call fcn.0045d467
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40af7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0040ad80
test eax, eax
jne 0x40af7d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0040ad80
test eax, eax
jne 0x40af7d
lea eax, [esp + 0x14]
push 0x4cce8c
push eax
call fcn.0044ebd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40af5c
lea ecx, [esp + 0x14]
push 0x4cce88
push ecx
call fcn.0044eb50
mov esi, eax
add esp, 8
test esi, esi
jne 0x40af5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40af5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045d188
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40ae6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d09b
xor eax, eax
jmp 0x40af9f
mov byte [esi], 0
push 0x4cce84
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045d09b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4