joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432e7b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x432e9d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x432e9d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x432e9d
ret
cmp word [ebx + 4], 0x14c
jne 0x432e9d
test word [ebx + 0x16], 2
je 0x432e9d
test word [ebx + 0x16], 0x100
je 0x432e9d
cmp word [ebx + 0x18], 0x10b
jne 0x432e9d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x432e9d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x432f29
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x432ebd
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.00419e08
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x432e9d
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x432f29
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x432e9d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x432e9d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x432e9d
ret
cmp word [ebx + 4], 0x14c
jne 0x432e9d
test word [ebx + 0x16], 2
je 0x432e9d
test word [ebx + 0x16], 0x100
je 0x432e9d
cmp word [ebx + 0x18], 0x10b
jne 0x432e9d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x432e9d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x432f29
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x432ebd
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.00419e08
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x432e9d
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x432fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x433039
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x432fe0
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x432fef
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x838c92
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x433040
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.00419eb6
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4330df
add edi, 4
add eax, 2
dec ecx
jne 0x433025
call 0x43308c
loope 0x433082
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4330dc
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4330ed
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4330a0
cmp eax, ecx
ja 0x4330a0
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x43312a
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x433120
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.0041a395
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x432fef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x433039
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x432fe0
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x432fef
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x838c92
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x433040
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.00419eb6
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4330df
add edi, 4
add eax, 2
dec ecx
jne 0x433025
call 0x43308c
loope 0x433082
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4330dc
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4330ed
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4330a0
cmp eax, ecx
ja 0x4330a0
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x43312a
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x433120
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.0041a395
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x40d93c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
xor ecx, ecx
xor ebx, ebx
xor esi, esi
cmp dword [ebp + 8], ecx
jbe 0x40d9a6
nop dword [eax]
lea eax, [ebx + 1]
movzx ebx, al
mov dl, byte [ebx + edi]
movzx eax, dl
add eax, ecx
movzx ecx, al
mov dword [ebp - 8], ecx
movzx eax, byte [ecx + edi]
mov byte [ebx + edi], al
mov byte [ecx + edi], dl
movzx ecx, byte [ebx + edi]
movzx eax, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x40d993
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, byte [ecx + edi]
mov ecx, dword [ebp - 4]
xor byte [esi + ecx], al
inc esi
mov ecx, dword [ebp - 8]
cmp esi, dword [ebp + 8]
jb 0x40d95c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a6a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x41a6b8
pop dword [ebp - 0x10]
mov eax, 0xad13754b
add eax, 0x532e316d
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x2e7701d3
add dword [ebp - 0x20], 0x1fdb4378
mov dword [ebp - 0x1c], 0xcce6f386
sub dword [ebp - 0x1c], 0x9ab3a741
mov dword [ebp - 0x18], 0x15a53ed8
sub dword [ebp - 0x18], 0xc958faaa
mov dword [ebp - 0x14], 0xc5609b2
sub dword [ebp - 0x14], 0xc5609b2
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x43f42cb0
add dword [ebp - 0x20], 0x307e3ca6
mov dword [ebp - 0x1c], 0x26204385
add dword [ebp - 0x1c], 0x1b4c1df0
mov dword [ebp - 0x18], 0xc37194b0
sub dword [ebp - 0x18], 0x60022844
mov dword [ebp - 0x14], 0x2dc5277e
sub dword [ebp - 0x14], 0x2dc5277e
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x70ccb
push 0
call eax
mov ecx, 0x44dd
xor edi, edi
add edi, eax
mov ebx, 0x537400
add ebx, dword [ebp - 0x10]
mov edx, 0x846d520d
sub edx, 0x5d858146
xor dword [ebp - 0xc], ecx
mov esi, dword [ebx]
sub dword [ebp - 0xc], 0x94e90a73
sub esi, edx
xor dword [ebp - 4], ebx
mov dword [edi], esi
sub dword [ebp - 0xc], eax
add edi, 0x333c4c7f
sub edi, 0x333c4c7b
add ebx, 4
loop 0x41a7c6
add eax, 0x750ad241
sub eax, 0x7509cbfa
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb8f18e28
sub ecx, 0xb8b18e28
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x423416
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b93f1
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0xee0], 0
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], edx
je 0x423481
push edx
push edi
push dword [ebp + 8]
call main
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x7d1]
cmp eax, 0x3e9
ja 0x426187
jmp dword [eax*4 + 0x4261ba]
mov eax, dword [ebx]
push edx
push edi
push ecx
mov ecx, ebx
call dword [eax + 0xe8]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4290b8
Capabilities:
Write file on windows

Disassembly:
push 0xb4
mov eax, 0x4b95a3
call fcn.004b6a29
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp + 0x10]
push 0x4d7b54
mov dword [ebp - 4], ebx
call main
mov edi, eax
test edi, edi
je 0x42915f
push ecx
push ecx
lea ecx, [ebp - 0xc0]
call fcn.0042c0ac
push dword [ebp + 0xc]
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov ecx, esi
push eax
call main
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc0]
call main
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x429121
lea eax, [ebp - 0x28]
push edi
push dword [ebp - 0x18]
push 1
push eax
call fcn.00495039
push edi
call fcn.004944a0
add esp, 0x14
lea ecx, [ebp - 0x28]
push ebx
push 1
call main
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.0042c133
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], vtable.std::ios_base.0
push eax
call main
pop ecx
jmp 0x4291a6
lea eax, [esi + 0x254]
cmp dword [eax + 0x14], 8
jb 0x42916d
mov eax, dword [eax]
push ebx
push ebx
push eax
push str.Could_not_save_file_0.
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004797dd
push 0x30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
mov edx, dword [esi]
mov ecx, esi
push eax
lea eax, [esi + 0x73c]
push eax
call dword [edx + 0xb0]
push ebx
push 1
lea ecx, [ebp - 0x28]
call main
push ebx
push 1
lea ecx, [ebp + 0x10]
call main
call fcn.004b69d8
ret 0x20
Function at 0x47c255
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be38f
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
push eax
call main
push ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.0042c0ac
and dword [esp + 0xe0], 0
lea eax, [esp + 0x1c]
push dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x18]
push eax
call main
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x20]
call main
mov ebx, dword [esp + 0xc8]
lea eax, [ebx + 1]
push eax
push 0x42
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x47c358
push dword [esi + 0x73c]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x47c338
cmp dword [esp + 0xcc], 0x10
mov eax, dword [esp + 0xb8]
jae 0x47c329
lea eax, [esp + 0xb8]
push ebx
push eax
push esi
call fcn.00490850
add esp, 0xc
mov byte [esi + ebx], 0
push edi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push edi
push str.Rich_Text_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 1
lea ecx, [esp + 0xc0]
call main
or dword [esp + 0xe0], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.0042c133
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], vtable.std::ios_base.0
push eax
call main
pop ecx
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret

Function at 0x47c3b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4fc504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x254]
mov ecx, esi
call fcn.0042e86a
test al, al
jne 0x47c45f
cmp dword [esi + 0x14], 8
jb 0x47c3e1
mov esi, dword [esi]
push edi
push esi
lea ecx, [ebp - 0x1c]
call main
mov eax, dword [ebp - 0xc]
push dword [ebx + 0x73c]
lea edi, [eax*2 + 2]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47c452
push edi
push 0x42
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x47c44c
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
test eax, eax
je 0x47c43c
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
jae 0x47c431
lea ecx, [ebp - 0x1c]
push edi
push ecx
push eax
call fcn.00490850
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 1
lea ecx, [ebp - 0x1c]
call main
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004906a0
mov esp, ebp
pop ebp
ret
Function at 0x47db80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1218]
test eax, eax
je 0x47dbce
cmp eax, 0xffffffff
je 0x47dbce
and dword [ebp - 8], 0
push 0x1a
pop eax
mov word [ebp - 4], ax
lea eax, [ebp - 8]
push 0
push eax
lea eax, [ebp - 4]
push eax
call fcn.004914f0
pop ecx
push eax
lea eax, [ebp - 4]
push eax
push dword [esi + 0x1218]
call dword [sym.imp.kernel32.dll_WriteFile]
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
push 1
lea ecx, [esi + 0x92c]
call main
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x484cf2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bed5d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add ecx, 0x12d8
push eax
lea eax, [esp + 0xc]
push eax
call main
and dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
inc eax
push eax
call main
cmp dword [esp + 0x20], 0x10
mov esi, eax
pop ecx
mov ecx, dword [esp + 8]
jae 0x484d5d
lea ecx, [esp + 8]
push ecx
push esi
call fcn.00494cb0
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x10]
call main
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 4

Function at 0x486149
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4beed9
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
push 1
call fcn.0045f4d0
mov edi, dword [esi + 0x1278]
lea eax, [esi + 8]
test edi, edi
je 0x4861b5
push eax
push 0xde
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call main
push edi
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4862a4
cmp dword [eax + 0x14], 0x10
jb 0x4861bd
mov eax, dword [eax]
or ebx, 0xffffffff
lea edi, [esi + 0xa7c]
push ebx
push ebx
push eax
push str.find.what
mov ecx, edi
call fcn.0045194d
push str.find.in.directory
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call main
and dword [esp + 0x70], 0
cmp dword [esp + 0x28], 0
je 0x486212
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x486201
lea eax, [esp + 0x18]
push ebx
push ebx
push eax
push str.find.directory
mov ecx, edi
call fcn.0045194d
jmp 0x48626b
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x254]
call fcn.0042eae9
lea eax, [esp + 0x48]
mov byte [esp + 0x70], 1
push eax
lea ecx, [esp + 0x34]
call main
mov byte [esp + 0x70], 2
cmp dword [eax + 0x14], 0x10
jb 0x486242
mov eax, dword [eax]
push ebx
push ebx
push eax
push str.find.directory
mov ecx, edi
call fcn.0045194d
push 0
push 1
lea ecx, [esp + 0x50]
call main
push 0
push 1
lea ecx, [esp + 0x38]
call main
push esi
push 0x486127
push dword [esi + 0x73c]
push str.Grep
push dword [0x50740c]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 4
push eax
mov dword [esi + 0x1278], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
lea ecx, [esp + 0x20]
call main
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret
Function at 0x48981a
Capabilities:
Get graphical window text

Disassembly:
push 0x48
mov eax, 0x4bf101
call fcn.004b6a29
mov ebx, ecx
mov edi, dword [ebp + 8]
and dword [ebp - 0x54], 0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [ebp - 0x50]
lea esi, [eax + 1]
push esi
call main
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push esi
mov byte [ebp - 4], 1
push dword [ebp - 0x50]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x48988a
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
call main
push eax
lea ecx, [ebp - 0x2c]
call main
push 0
push 1
lea ecx, [ebp - 0x44]
call main
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x489896
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call main
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.00430d1e
push 0
push 1
lea ecx, [ebp - 0x44]
call main
push 0
push 1
lea ecx, [ebp - 0x2c]
call main
lea ecx, [ebp - 0x50]
call fcn.004028f1
mov eax, ebx
call fcn.004b69d8
ret
Function at 0x489ed5
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1f4c
call fcn.004a2e90
mov eax, dword [0x4fc504]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp byte [edi + 0x34], 0
jne 0x489efc
xor al, al
jmp 0x489ffb
push ebx
mov ebx, dword [ebp + 8]
push esi
cmp ebx, 9
je 0x48a05b
cmp ebx, 0x12
je 0x48a044
cmp ebx, 0x1b
je 0x48a03d
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jns 0x489ff7
push 5
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
jmp 0x489feb
push 0x7d0
lea eax, [ebp - 0x1f44]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x1f44]
push str.Button
push eax
call main
pop ecx
pop ecx
test eax, eax
je 0x489f7e
lea eax, [ebp - 0x1f44]
push 0x4edfb0
push eax
call main
pop ecx
pop ecx
test eax, eax
jne 0x489fe8
push 0x7d0
lea eax, [ebp - 0xfa4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x1f4c], edx
cmp word [ebp - 0xfa4], cx
je 0x489fe8
lea eax, [ebp - 0xfa4]
cmp word [eax], 0x26
jne 0x489fc9
movzx eax, word [ebp + ecx - 0xfa2]
push eax
call main
pop ecx
cmp eax, ebx
je 0x48a00c
mov edx, dword [ebp - 0x1f4c]
inc edx
lea eax, [ebp - 0xfa4]
xor edi, edi
mov dword [ebp - 0x1f4c], edx
lea ecx, [edx + edx]
add eax, ecx
cmp word [eax], di
mov edi, dword [sym.imp.USER32.dll_GetWindow]
jne 0x489faa
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x489f3d
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004906a0
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x1f44]
push str.Button
push eax
call main
pop ecx
pop ecx
test eax, eax
jne 0x48a036
push eax
push eax
push 0xf5
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x48a0b6
push 2
push esi
call edi
jmp 0x48a0af
mov eax, dword [edi]
call dword [eax + 0xc]
jmp 0x48a0b6
push 0
push 0x30002
push 0x128
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x489ff7
mov esi, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
call ebx
push eax
push esi
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x489ff7
push 0
push 0x30002
push 0x128
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [edi + 4]
cwde
shr eax, 0x1f
not al
and al, 1
push 0
pop eax
sete al
push eax
call ebx
push eax
push esi
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
test eax, eax
je 0x48a0b6
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
jmp 0x489ff9
Function at 0x48a958
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
call main
mov esi, dword [esi + 4]
xor edi, edi
push edi
push edi
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
push edi
push esi
push 0x15
push 0x64
push 2
push 2
push 0x44000000
push 0x4d8a44
push 0x4edfb0
push edi
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
call edi
mov esi, dword [ebp - 4]
push 4
push eax
mov dword [esi + 0x38], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0xc]
push 0x30
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esi + 4]
push 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
push 0
push esi
push 0x15
push 0x64
push 2
push 2
push 0x54000000
push 0x4d8a44
push str.msctls_progress32
push 0
call edi
mov esi, dword [ebp - 4]
pop edi
mov dword [esi + 0x3c], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48b421
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 0x34], 0
je 0x48b48f
push dword [ebp + 8]
call main
test al, al
je 0x48b43d
mov al, 1
jmp 0x48b491
cmp dword [ebp + 8], 0xd
jne 0x48b48f
push esi
mov esi, dword [edi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
push esi
call dword [sym.imp.USER32.dll_IsChild]
pop esi
test eax, eax
je 0x48b48f
cmp dword [edi + 0x5c], 0
jne 0x48b47d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov ecx, edi
shr eax, 0x1f
and al, 1
movzx eax, al
push eax
push 0
call main
jmp 0x48b439
mov eax, dword [edi + 0x38]
cmp byte [eax + 0x48], 0
je 0x48b439
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
jmp 0x48b439
xor al, al
pop edi
pop ebp
ret 4