joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101cd9f
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1030e9d
call fcn.01010a18
sub esp, 0x24
call fcn.0101bb03
test eax, eax
je 0x101cdd5
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push dword [0x1037854]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x101cddc
xor eax, eax
jmp 0x101ce64
push esi
push 0xa
lea ecx, [ebp - 0x30]
call fcn.01012ec6
and dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call fcn.0101cce2
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
call fcn.0100e27f
mov byte [ebp - 4], 1
jmp 0x101ce42
mov eax, esi
mov esi, dword [esi]
add eax, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.0100e4ca
lea ecx, [ebp - 0x18]
call fcn.01010d69
inc eax
push eax
lea ecx, [ebp - 0x18]
call fcn.01010d74
push eax
push 1
push 0
lea ecx, [ebp - 0x14]
call fcn.01010d74
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x101ce70
test esi, esi
jne 0x101ce05
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0100e490
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0100f017
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
xor esi, esi
jmp 0x101ce49

Function at 0x101d034
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1030ec4
call fcn.01010a18
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 8], eax
xor edi, edi
lea eax, [eax + eax + 2]
inc edi
xor ebx, ebx
push eax
mov dword [esi], 0x1003e18
mov dword [esi + 0xc], edi
mov dword [esi + 4], edi
mov dword [esi + 0x54], ebx
call fcn.010106bd
or dword [ebp - 0x24], 0xffffffff
mov dword [esi + 0x48], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
mov eax, dword [esi + 8]
lea eax, [eax + eax + 2]
push eax
call fcn.010106bd
or dword [ebp - 0x1c], 0xffffffff
mov dword [esi + 0x14], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [esi + 8]
lea eax, [eax*4 + 4]
push eax
call fcn.010106bd
or ecx, 0xffffffff
add esp, 0xc
mov dword [esi + 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], ebx
je 0x101d109
cmp dword [esi + 0x18], ebx
je 0x101d109
cmp dword [esi + 0x48], ebx
je 0x101d109
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
push ebx
call fcn.010106e8
mov byte [ebp - 4], bl
push ebx
call fcn.010106e8
or dword [ebp - 4], 0xffffffff
push ebx
call fcn.010106e8
mov ecx, dword [ebp - 0xc]
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x1003f18
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push edi
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x1025e42
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jl 0x1025f22
cmp eax, 0xe
jg 0x1025f22
cmp eax, 1
jle 0x1025f01
cmp eax, 2
push esi
je 0x1025ed1
cmp eax, 6
je 0x1025ec0
cmp eax, 0xd
je 0x1025ed1
push dword [sym.imp.msvcirt.dll_class_ostream____cdecl_endl_class_ostream__]
add ecx, 0x3c
push dword [eax*4 + 0x1004644]
push 0x100397c
call fcn.01010d74
mov ecx, dword [sym.imp.msvcirt.dll_class_ostream_withassign_cerr]
mov esi, dword [sym.imp.msvcirt.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call esi
mov ecx, eax
call esi
mov ecx, eax
call esi
mov ecx, eax
call dword [sym.imp.msvcirt.dll_public:_class_ostream____thiscall_ostream::operator___class_ostream_____cdecl___class_ostream___]
pop esi
cmp dword [ebp + 0x10], 0
je 0x1025f4a
push 1
call dword [sym.imp.msvcrt.dll_exit]
push dword [sym.imp.msvcirt.dll_class_ostream____cdecl_endl_class_ostream__]
push dword [0x100465c]
push dword [ebp + 0xc]
jmp 0x1025ee1
push dword [sym.imp.msvcirt.dll_class_ostream____cdecl_endl_class_ostream__]
push dword [ebp + 0xc]
push dword [eax*4 + 0x1004644]
push 0x100397c
add ecx, 0x3c
call fcn.01010d74
mov ecx, dword [sym.imp.msvcirt.dll_class_ostream_withassign_cerr]
mov esi, dword [sym.imp.msvcirt.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call esi
mov ecx, eax
jmp 0x1025e9b
push dword [sym.imp.msvcirt.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.msvcirt.dll_class_ostream_withassign_cout]
push 0x1004880
call dword [sym.imp.msvcirt.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
mov ecx, eax
call dword [sym.imp.msvcirt.dll_public:_class_ostream____thiscall_ostream::operator___class_ostream_____cdecl___class_ostream___]
jmp 0x1025eae
push dword [sym.imp.msvcirt.dll_class_ostream____cdecl_endl_class_ostream__]
mov ecx, dword [sym.imp.msvcirt.dll_class_ostream_withassign_cerr]
push eax
push 0x100564c
call dword [sym.imp.msvcirt.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
mov ecx, eax
call dword [sym.imp.msvcirt.dll_public:_class_ostream____thiscall_ostream::operator___int_]
mov ecx, eax
call dword [sym.imp.msvcirt.dll_public:_class_ostream____thiscall_ostream::operator___class_ostream_____cdecl___class_ostream___]
pop ebp
ret 0xc
Function at 0x1025f53
Capabilities:
Get file version info

Disassembly:
mov eax, 0x1031f85
call fcn.01010a18
sub esp, 0x18
and dword [ebp - 0x18], 0
push ebx
push esi
lea esi, [ecx + 0x3c]
push esi
lea ecx, [ebp - 0x14]
call fcn.01011251
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push 4
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.01011334
mov byte [ebp - 4], 2
mov esi, 0x10056ac
push esi
push eax
call fcn.01010e3d
mov byte [ebp - 0xd], al
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.01010f73
cmp byte [ebp - 0xd], 0
je 0x1025fb2
push esi
lea ecx, [ebp - 0x14]
call fcn.010111be
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.01010d74
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x1025fda
mov ecx, dword [ebp + 8]
push 0x1005698
call fcn.01010ff5
jmp 0x102602b
push eax
call fcn.010106bd
pop ecx
mov esi, eax
push esi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push 0
call fcn.01010d74
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x102601e
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x1005670
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
mov ecx, dword [ebp + 8]
je 0x1026021
push dword [ebp - 0x24]
jmp 0x1026026
mov ecx, dword [ebp + 8]
push 0x1005698
call fcn.01010ff5
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.01010f73
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10260bc
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x1032005
call fcn.01010a18
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
push 0x10012ac
lea ecx, [esi + 8]
mov dword [ebp - 0x10], esi
mov dword [esi], edi
call fcn.01010ff5
mov dword [ebp - 4], edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0xc], 2
mov dword [esi + 0x10], 0x7fffffff
mov dword [esi + 0x14], 0xa
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.01010e7b
mov byte [ebp - 4], 1
lea ecx, [esi + 0x40]
call fcn.01010e7b
mov byte [ebp - 4], 2
lea ecx, [esi + 0x44]
call fcn.01010e7b
mov byte [ebp - 4], 3
lea ecx, [esi + 0x48]
call fcn.01010e7b
mov byte [ebp - 4], 4
lea ecx, [esi + 0x4c]
call fcn.01010e7b
mov byte [ebp - 4], 5
lea ecx, [esi + 0x50]
call fcn.01010e7b
mov byte [ebp - 4], 6
push 0xa
lea ecx, [esi + 0x54]
call fcn.01012ec6
mov byte [ebp - 4], 7
push 0xa
lea ecx, [esi + 0x6c]
call fcn.01012ec6
mov byte [ebp - 4], 8
lea ecx, [esi + 0x84]
call fcn.01010e7b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1028596
Capabilities:
Terminate process

Disassembly:
mov eax, 0x10321f9
call fcn.01010a18
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 8], eax
xor edi, edi
lea eax, [eax + eax + 2]
inc edi
xor ebx, ebx
push eax
mov dword [esi], 0x1007864
mov dword [esi + 0xc], edi
mov dword [esi + 4], edi
mov dword [esi + 0x54], ebx
call fcn.010106bd
or dword [ebp - 0x14], 0xffffffff
mov dword [esi + 0x48], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov eax, dword [esi + 8]
lea eax, [eax + eax + 2]
push eax
call fcn.010106bd
or dword [ebp - 0x1c], 0xffffffff
mov dword [esi + 0x14], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [esi + 8]
lea eax, [eax*4 + 4]
push eax
call fcn.010106bd
or dword [ebp - 0x14], 0xffffffff
or dword [ebp - 0x1c], 0xffffffff
add esp, 0xc
cmp dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
je 0x102864e
cmp eax, ebx
je 0x102864e
cmp dword [esi + 0x48], ebx
je 0x102864e
mov byte [ebp - 4], bl
push ebx
call fcn.010106e8
or dword [ebp - 4], 0xffffffff
push ebx
call fcn.010106e8
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x1003f18
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push edi
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x102f6c5
Capabilities:
Access peb ldr_data
Terminate process

Disassembly:
mov eax, 0x1032ce6
call fcn.01010a18
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
lea ebx, [eax + 1]
push edi
push ebx
mov dword [esi], 0x100796c
mov dword [esi + 8], eax
call fcn.010106bd
pop ecx
lea edi, [esi + 0x20]
push edi
mov dword [edi], eax
push 0x102eed0
lea eax, [ebp - 0x18]
push eax
call fcn.0102f689
and dword [ebp - 4], 0
push ebx
call fcn.010106bd
pop ecx
xor ecx, ecx
cmp dword [edi], ecx
mov dword [esi + 4], eax
je 0x102f76a
cmp eax, ecx
je 0x102f76a
xor eax, eax
inc eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0xa
mov edx, dword [sym.imp.msvcrt.dll__iob]
mov dword [esi + 0x24], edx
mov edx, dword [sym.imp.msvcrt.dll__iob]
add edx, 0x20
mov byte [ebp - 0x18], al
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
call fcn.0101c620
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push 0x10038cc
push esi
call fcn.0102ee21
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x7941b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00794140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00794140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00794140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00794140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x794bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x794c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x7a687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x794c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x794c52
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40ec28
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
jmp 0x40ece7
cmp dword [esi + 0x10], 0x1000
jne 0x40ecd3
test byte [esi + 0x15], 1
jne 0x40ecd3
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec84
cmp ebp, 2
je 0x40ec84
cmp ebp, 0x10
je 0x40ec84
cmp ebp, 0x20
jne 0x40eca0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40eca0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ecb1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ec20
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40eca4
cmp byte [esp + 4], 0
je 0x40ecd3
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec59
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x16039cd
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, str.KDh
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x440b35d8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402b10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
lea eax, [ebp - 0x124]
mov ecx, eax
lea eax, [ebp - 0x13c]
mov edx, eax
mov eax, 1
call fcn.00404e40
call fcn.00404f40
push eax
test eax, eax
jne 0x402cf5
mov eax, dword [ebp - 4]
test eax, eax
je 0x402b74
jmp 0x402b9c
push 0x105
lea eax, [ebp - 0x118]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x118]
lea eax, [ebp - 8]
call fcn.00405910
jmp 0x402cf5
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00402fb0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.00403010
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x402bc9
jmp 0x402bcb
jmp 0x402be2
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, 0
jl 0x402be2
jmp 0x402bd8
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x402be2
jmp 0x402ba4
lea edx, [ebp - 0x144]
mov eax, edx
call fcn.00404f70
mov dword [ebp - 0x144], 0
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ebp - 0x10]
mov esi, 1
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00404f70
mov dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x10]
call fcn.00405950
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov ecx, ebx
mov edx, esi
call fcn.004059b0
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
call fcn.00405a70
lea edx, [ebp - 8]
mov eax, edx
call fcn.00404f70
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x402c6d
mov eax, dword [eax - 4]
cmp eax, 2
jge 0x402c77
jmp 0x402cf5
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x22
je 0x402c82
jmp 0x402cf5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x402c8f
mov eax, dword [eax - 4]
mov al, byte [edx + eax - 1]
cmp al, 0x22
je 0x402c99
jmp 0x402cf5
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00404f70
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x402cba
mov ecx, dword [ecx - 4]
sub ecx, 2
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.004059b0
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
call fcn.00405a70
lea edx, [ebp - 8]
mov eax, edx
call fcn.00404f70
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 8], eax
call fcn.00405040
lea edx, [ebp - 0x148]
mov eax, edx
call fcn.00404f70
mov dword [ebp - 0x148], 0
lea edx, [ebp - 0x144]
mov eax, edx
call fcn.00404f70
mov dword [ebp - 0x144], 0
pop eax
test eax, eax
je 0x402d3f
mov edx, str._t_nAnsiString
lea eax, [ebp - 8]
call fcn.00405460
call fcn.004050d0
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x14c]
leave
ret
Function at 0x403240
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], eax
mov byte [ebp - 4], dl
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x24]
and edx, 0xefffffff
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], edx
cmp byte [ebp - 4], 0
jne 0x403266
jmp 0x403277
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
or eax, 0x10000000
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 4]
mov byte [eax + 0x59], dl
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x40328c
jmp 0x40328e
jmp 0x4032d2
cmp byte [ebp - 4], 0
jne 0x403296
jmp 0x4032b0
mov eax, dword [ebp - 8]
mov edx, dword [0x4346e0]
call edx
push 5
mov eax, dword [ebp - 8]
push dword [eax + 0x18]
call sub.user32.dll_ShowWindow
jmp 0x4032d2
mov eax, dword [ebp - 8]
mov byte [eax + 0x189], 0
push 0
mov eax, dword [ebp - 8]
push dword [eax + 0x18]
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 8]
mov edx, dword [0x4346e0]
call edx
leave
ret
Function at 0x414530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov edx, 0x4363f0
mov eax, 0
call fcn.00403120
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
lea eax, [eax + 0x20]
push eax
push 4
push dword [ebp - 4]
mov eax, 0x414720
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
leave
ret

Function at 0x414e20
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x18], 0
mov eax, dword [ebp - 4]
push dword [eax + 0x1c]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
ja 0x414e42
jmp 0x414e4b
mov eax, dword [ebp - 4]
mov byte [eax + 0x18], 1
jmp 0x414e67
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0
jne 0x414e56
jmp 0x414e67
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x2c]
call ecx
leave
ret

Function at 0x418420
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push dword [eax + 0x1c]
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 4]
mov byte [eax + 0x19], 1
leave
ret
Function at 0x42d890
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
push 0x10
call sub.user32.dll_GetKeyState
movsx eax, ax
cmp eax, 0
jl 0x42d8ae
jmp 0x42d8b7
mov eax, dword [ebp - 4]
or eax, 4
mov dword [ebp - 4], eax
push 0x11
call sub.user32.dll_GetKeyState
movsx eax, ax
cmp eax, 0
jl 0x42d8c8
jmp 0x42d8d1
mov eax, dword [ebp - 4]
or eax, 8
mov dword [ebp - 4], eax
push 0x12
call sub.user32.dll_GetKeyState
movsx eax, ax
cmp eax, 0
jl 0x42d8e2
jmp 0x42d8eb
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret

Function at 0x42e760
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0
jne 0x42e77b
jmp 0x42e77d
jmp 0x42e796
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
ja 0x42e78f
jmp 0x42e796
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 1
leave
ret

Function at 0x42e9a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test eax, eax
jne 0x42e9b5
jmp 0x42e9c0
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
lea eax, [eax + 0x10]
push eax
push 4
push dword [ebp - 4]
mov eax, 0x42ea70
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test eax, eax
jne 0x42e9ed
jmp 0x42e9fd
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 0
jmp 0x42ea0b
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 1
leave
ret

Function at 0x42ea20
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x14]
test al, al
je 0x42ea35
jmp 0x42ea66
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 1
push 0
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xd]
test al, al
je 0x42ea55
jmp 0x42ea5f
mov eax, dword [ebp - 4]
call fcn.004086e0
jmp 0x42ea66
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
leave
ret