joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7003567
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x7003576
pop dword [ebp - 0x1c]
mov eax, 0x877bcde8
sub eax, 0x807b9872
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xf0b0eafe
sub dword [ebp - 0x2c], 0xa25ea5b3
mov dword [ebp - 0x28], 0xc1c7d7b1
sub dword [ebp - 0x28], 0x8f948b6c
mov dword [ebp - 0x24], 0x4e144574
add dword [ebp - 0x24], 0xfe37feba
mov dword [ebp - 0x20], 0xfb2383d3
sub dword [ebp - 0x20], 0xfb2383d3
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x36fef04e
add eax, 0xd0023fe2
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x3ce2dd75
add dword [ebp - 0x2c], 0x378f8be1
mov dword [ebp - 0x28], 0xe6460879
add dword [ebp - 0x28], 0x5b2658fc
mov dword [ebp - 0x24], 0x89c9d805
add dword [ebp - 0x24], 0xd9a59467
mov dword [ebp - 0x20], 0x2b8f185e
sub dword [ebp - 0x20], 0x2b8f185e
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3d8a3
push 0
call eax
mov ecx, 0xf8801ce2
add ecx, 0x780367d
xor edi, edi
add edi, eax
mov ebx, 0x4bb7b69b
add ebx, 0xbb4a4b65
add ebx, dword [ebp - 0x1c]
mov esi, 0xdacef1b3
sub esi, 0xf0b1fb67
xor dword [ebp - 0xc], ebx
mov edx, dword [ebx]
add dword [ebp - 0x18], eax
add edx, esi
add dword [ebp - 0xc], ebx
mov dword [edi], edx
xor dword [ebp - 8], 0xf3dba358
add edi, 4
add ebx, 0x7a4c51db
add ebx, 0x85b3ae29
loop 0x7003695
add eax, 0xea540119
add eax, 0x15ad3f36
mov ebx, eax
add eax, 0x6cdbb3e9
add eax, 0x93244c1c
mov ecx, 0xa3f3b69d
add ecx, 0x630c4963
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003567
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003567
int3
Function at 0x401510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
add esp, 0xffffff80
call dbg.__main
mov dword [esp + 0x4c], str.cmov
mov dword [esp + 0x50], 0x404005
mov dword [esp + 0x54], str.popcnt
mov dword [esp + 0x58], 0x404010
mov dword [esp + 0x5c], str.sse2
mov dword [esp + 0x60], str.sse3
mov dword [esp + 0x64], str.ssse3
mov dword [esp + 0x68], str.sse4.1
mov dword [esp + 0x6c], str.sse4.2
mov dword [esp + 0x70], 0x404032
mov dword [esp + 0x74], str.avx2
mov dword [esp + 0x78], 0
mov eax, dword [0x4053e0]
and eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [0x4053e0]
and eax, 2
mov dword [esp + 0x20], eax
mov eax, dword [0x4053e0]
and eax, 4
mov dword [esp + 0x24], eax
mov eax, dword [0x4053e0]
and eax, 8
mov dword [esp + 0x28], eax
mov eax, dword [0x4053e0]
and eax, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [0x4053e0]
and eax, 0x20
mov dword [esp + 0x30], eax
mov eax, dword [0x4053e0]
and eax, 0x40
mov dword [esp + 0x34], eax
mov eax, dword [0x4053e0]
and eax, 0x80
mov dword [esp + 0x38], eax
mov eax, dword [0x4053e0]
and eax, 0x100
mov dword [esp + 0x3c], eax
mov eax, dword [0x4053e0]
and eax, 0x200
mov dword [esp + 0x40], eax
mov eax, dword [0x4053e0]
and eax, 0x400
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp], 0x7b
call sym._putchar
mov dword [esp + 0x7c], 0
jmp 0x401674
cmp dword [esp + 0x7c], 0
je 0x40163b
mov dword [esp], 0x2c
call sym._putchar
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + eax*4 + 0x1c]
test eax, eax
je 0x40164e
mov edx, str.true
jmp 0x401653
mov edx, str.false
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + eax*4 + 0x4c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str._n______s__:__s
call sym._printf
add dword [esp + 0x7c], 1
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + eax*4 + 0x4c]
test eax, eax
jne 0x401628
mov dword [esp], 0x404055
call sym._puts
mov eax, 0
leave
ret
Function at 0x401ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4053a0]
test esi, esi
jle 0x401bc0
mov edi, dword [0x4053a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401ae4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401b65
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x401ad0
mov dword [esp], eax
mov ebx, eax
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x401be7
mov eax, dword [0x4053a4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
add eax, dword [edi + 0xc]
mov edx, dword [0x4053a4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401bc7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401b5e
sub eax, 4
and eax, 0xfffffffb
jne 0x401b70
add dword [0x4053a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4053a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401b5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
xor esi, esi
jmp 0x401aee
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
mov esi, esi
lea edi, [edi]

Function at 0x402020
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
test ebx, ebx
je 0x402075
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40206e
test esi, esi
je 0x40206e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402050
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402720
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
nop
nop
nop
nop
nop
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0xafb5523
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x539b7e2d
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x451dbc
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x451da8
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x451dc6
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add byte [ebx + 0x108c794], cl
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x451e24
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x451e0b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x451e14
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x451e1e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x451e00
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x451d8a
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x451e71
dec eax
je 0x451e68
sub eax, 3
je 0x451e5f
mov dword [ebp - 4], 0x40
jmp 0x451e8e
mov dword [ebp - 4], 4
jmp 0x451e74
mov dword [ebp - 4], 0x20
jmp 0x451e74
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
jne 0x451e77
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x451ec0
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x451e40
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004516d1
stosb byte es:[edi], al
jge 0x451e79
lahf
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x451ecc
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4525b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004516af
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004516e1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00451696
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004516d1
leave
stosd dword es:[edi], eax
invalid

Function at 0x453b98
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45bbdc]
cmp byte [eax + 0xa5], 0
jne 0x453c09
cmp dword [0x45bbf4], 0
jne 0x453bca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453b54
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45bbf4], eax
cmp dword [0x45bbf0], 0
jne 0x453be5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45bbf0], eax
cmp dword [0x45bbf8], 0
jne 0x453c09
push esp
push 0
push 0
push 0x453af8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45bbf8], eax
pop edx
ret

Function at 0x45429c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45bbdc]
cmp dword [eax + 0x30], 0
je 0x454346
cmp dword [ebx + 0x94], 0
jne 0x454340
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45422c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454340
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454306
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454340
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414320
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454315
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x454ea4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454ed9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004044d4
jmp 0x454ee6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404438
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4560b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4560f1
mov eax, esi
call fcn.0043c1b4
test al, al
je 0x4560f1
mov eax, dword [ebx + 0x84]
call fcn.0043bedc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4560f1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bedc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x457280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404894
mov eax, dword [ebp - 8]
call fcn.00404894
mov eax, dword [ebp - 0xc]
call fcn.00404894
xor eax, eax
push ebp
push 0x45734f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x457368
call fcn.004046ac
lea eax, [ebp - 8]
mov edx, 0x457368
call fcn.004046ac
lea eax, [ebp - 0xc]
mov edx, 0x457368
call fcn.004046ac
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.004048fc
push eax
lea eax, [ebp - 8]
call fcn.004048fc
push eax
lea eax, [ebp - 4]
call fcn.004048fc
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x457334
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x457374
call fcn.004046f0
mov eax, dword [ebp - 0x10]
mov cx, word [0x457394]
mov dl, 1
call fcn.00427e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457356
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404408
ret
Function at 0x40117d
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x403140
call dword [0x416234]
test eax, eax
je 0x4039d3
push esi
call fcn.00402084
pop ecx
mov eax, esi
pop esi
ret 4
Function at 0x401710
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor esi, esi
mov edi, 0x5ff
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [0x416260]
test eax, eax
je 0x401744
cmp dword [ebp - 0x18], 0x12
je 0x40177d
lea eax, [ebp - 0x1c]
push eax
call dword [0x416254]
jmp 0x40171f
cmp dword [0x41505c], esi
jne 0x401775
cmp dword [0x4150a8], esi
je 0x403a2c
push 4
push edi
push 0xffffffffffffffff
push 0x4150a8
push 1
call dword [0x41625c]
test eax, eax
je 0x401775
cmp eax, 0x102
jne 0x40171f
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80004004
jmp 0x401777
Function at 0x8c93e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x75f015
lea edi, [esi - 0x35e015]
mov dword [edi + 0x45aae0], 0x9bdcae1d
push edi
or ebp, 0xffffffff
jmp 0x8c940a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8c9411
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8c9400
mov eax, 1
add ebx, ebx
jne 0x8c9423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8c9434
jne 0x8c9453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8c9453
dec eax
add ebx, ebx
jne 0x8c9440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8c9418
add ebx, ebx
jne 0x8c944f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8c94a5
xor ecx, ecx
sub eax, 3
jb 0x8c946b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8c94da
sar eax, 1
mov ebp, eax
jmp 0x8c9476
add ebx, ebx
jne 0x8c9476
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8c9444
inc ecx
add ebx, ebx
jne 0x8c9484
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8c9444
add ebx, ebx
jne 0x8c9491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8c9486
jne 0x8c94a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8c9486
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8c94c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8c94b6
jmp 0x8c9406
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8c94c4
add edi, ecx
jmp 0x8c9406
pop esi
mov edi, esi
mov ecx, 0x12d67
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8c94e2
cmp byte [edi], 0x9b
jne 0x8c94e2
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 0x8c94e7
lea edi, [esi + 0x4c5000]
mov eax, dword [edi]
or eax, eax
je 0x8c9556
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4f0698]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4f0788]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8c9514
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4f078c]
or eax, eax
je 0x8c9550
mov dword [ebx], eax
add ebx, 4
jmp 0x8c9531
call dword [esi + 0x4f079c]
mov ebp, dword [esi + 0x4f0790]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x4c95b1]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8c95a2
sub esp, 0xffffff80
jmp 0x401284
Function at 0x1000df81
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000df90
pop dword [ebp - 0x20]
mov eax, 0xf6795764
sub eax, 0xe67877d4
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3b274
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x5072
xor edi, edi
add edi, eax
mov ebx, 0x10036a00
add ebx, dword [ebp - 0x20]
mov edx, 0x8419d9b2
add edx, 0x753e02e
xor dword [ebp - 0xc], 0xad66d98d
mov esi, dword [ebx]
add dword [ebp - 0x10], 0x506196d1
add esi, edx
mov dword [ebp - 0x10], 0xa26cd4c8
mov dword [edi], esi
add dword [ebp - 0x10], ebx
add edi, 0x2ebc6647
add edi, 0xd14399bd
add ebx, 0xb7496871
sub ebx, 0xb749686d
loop 0x1000dfe0
add eax, 0x122e6c02
sub eax, 0x122d3767
mov ebx, eax
add eax, 0x48300bc0
sub eax, 0x48300bbb
mov ecx, 0x3f49a2ed
add ecx, 0xd0b65d13
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x10011126
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x10011130
lea esi, [ecx - 0x78]
jmp 0x10011132
xor esi, esi
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x1001114e
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x10011201
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x10011213
add eax, 0xffffff84
jmp 0x10011215
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x1002244c
lea ecx, [eax + 4]
call fcn.1000d84d
test eax, eax
js 0x1001127e
cmp dword [ebp + 8], 0
je 0x1001127b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x10011253
inc edi
push 0x11
call esi
test ax, ax
jns 0x1001125f
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x1001126b
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x1001127e
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x10011294
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8