joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407dd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b341
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x48b378]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x7c], 0
jne 0x407f72
mov eax, dword [edi + 0x50]
test eax, eax
je 0x407e15
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [edi + 0x7c], 1
mov esi, dword [edi + 0x54]
mov edi, dword [edi + 0x58]
cmp esi, edi
je 0x407f72
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402030
push 0x3c
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00451470
add esp, 0xc
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x64], 0x3c
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x58], 0x481df4
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x48], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 4
xor eax, eax
mov dword [ebp - 0x68], 7
push str.main
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
call fcn.00402500
lea edx, [ebp - 0x7c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.0040b730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
push ecx
push str._s_runs_after_explorer_killed__r_n
push dword [eax]
call fcn.0040bb90
add esp, 0xc
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x407f22
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x407f22
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x407f22
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x68]
cmp eax, 8
jb 0x407f37
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.00402430
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x7c], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
cmp eax, 8
jb 0x407f67
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402430
add esi, 0x18
cmp esi, edi
jne 0x407e30
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044e878
mov esp, ebp
pop ebp
ret
Function at 0x408590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b410
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x48b378]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x48], ebx
push dword [ebp - 0x48]
mov edx, dword [ebx + 0x84]
lea esi, [ebx + 0x80]
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0x4c], esi
call fcn.00409100
mov edi, dword [ebp + 8]
add esp, 8
mov eax, dword [esi]
mov dword [esi + 4], eax
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x4086a8
mov ebx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x30], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00402030
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], 7
push eax
mov dword [ebp - 0x1c], 0
call fcn.00402030
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.00408e00
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40866a
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00402430
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x40869a
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00402430
add esi, 0x18
cmp esi, edi
jne 0x4085f5
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp + 0xc]
mov edx, 0xa
mov dword [ebx + 0xac], eax
mov ecx, 0x3e7
mov eax, dword [ebp + 0x10]
cmp eax, edx
cmovl eax, edx
cmp eax, ecx
cmovg eax, ecx
mov ecx, 0x708
mov dword [ebx + 0xa4], eax
mov eax, dword [ebp + 0x14]
cmp eax, edx
cmovl eax, edx
cmp eax, ecx
cmovg eax, ecx
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x4086fc
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x408722
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
push eax
push 0
push ebx
push 0x40b690
push 0
push 0
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044e878
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b456
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x48b378]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x18], edi
je 0x408861
nop
cmp edi, dword [esi + 0xa8]
ja 0x408861
mov ecx, esi
call fcn.00408a70
test eax, eax
jne 0x40885a
push 0x1388
call ebx
push 4
xor eax, eax
mov dword [ebp - 0x20], 7
add edi, 5
mov dword [ebp - 0x24], 0
push str.main
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], edi
mov word [ebp - 0x34], ax
call fcn.00402500
lea edx, [ebp - 0x34]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040b730
mov byte [ebp - 4], 1
push str.No_Process_Found__Continue..._r_n
push dword [eax]
call fcn.0040bb90
add esp, 8
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x40881c
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x40881c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x40881c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x408838
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00402430
mov edi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
cmp dword [esi + 0x18], eax
jne 0x408780
jmp 0x408861
mov dword [ebp - 0x10], 1
xor edi, edi
cmp dword [esi + 0x18], edi
je 0x40888a
push 0x1388
call ebx
mov ecx, esi
call fcn.00408c10
test eax, eax
je 0x408882
inc edi
cmp edi, 2
ja 0x40888a
jmp 0x408884
xor edi, edi
cmp dword [esi + 0x18], 0
jne 0x408868
cmp dword [ebp - 0x10], 0
je 0x4089a2
mov ecx, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
cmp dword [esi + 0xa4], edi
jle 0x4088d8
cmp dword [esi + 0x18], 0
je 0x4088d8
mov eax, dword [esi + 0xa4]
push 0
sub eax, edi
push eax
push 0xa402
push dword [esi + 0xac]
call ecx
push 0x3e8
call ebx
mov ecx, dword [sym.imp.USER32.dll_SendMessageW]
inc edi
cmp edi, dword [esi + 0xa4]
jl 0x4088a4
push 0
push 0
push 0xa403
push dword [esi + 0xac]
call ecx
push 0x3e8
call ebx
mov eax, dword fs:[0x2c]
mov dword [esi + 0xb0], 1
mov ecx, dword [eax]
mov eax, dword [0x48e33c]
cmp eax, dword [ecx + 4]
jle 0x408955
push 0x48e33c
call fcn.0044e9e8
add esp, 4
cmp dword [0x48e33c], 0xffffffff
jne 0x408955
push 0x9c
push 0
push 0x48e340
call fcn.00451470
add esp, 0xc
call fcn.004012f0
push 0x46d690
call fcn.0044ed3f
push 0x48e33c
call fcn.0044e9a9
add esp, 8
mov eax, dword [0x48e344]
test eax, eax
je 0x40896e
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4089a2
push 0x48e348
push 0
push 0x48e340
push 0x40b690
push 0
push 0
mov dword [0x48e344], 0
mov dword [0x48e348], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x48e344], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b3b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x48b378]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x48e318], 0
je 0x40b4f6
push 0x4823ac
lea ecx, [ebp - 0x40]
call fcn.0040b520
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b4e1
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x290]
push eax
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40b4a6
test byte [ebp - 0x290], 0x10
jne 0x40b498
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b520
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40b483
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call ebx
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40b498
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402430
lea eax, [ebp - 0x290]
push eax
push esi
call edi
test eax, eax
jne 0x40b440
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x48e31c], 8
mov esi, 0x48e308
mov eax, esi
cmovae eax, dword [0x48e308]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40b4e1
cmp dword [0x48e31c], 8
push 4
cmovae esi, dword [0x48e308]
push eax
push esi
call ebx
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x40b4f6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402430
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044e878
mov esp, ebp
pop ebp
ret
Function at 0x40dc50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x48b378]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x98], 0
mov esi, ecx
mov dword [ebp - 0x8c], esi
cmp dword [edi + 0x14], 8
jb 0x40dc84
mov eax, dword [edi]
jmp 0x40dc86
mov eax, edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x94], eax
test eax, eax
jne 0x40dcc6
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x481938
mov word [esi], ax
call fcn.00402500
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e878
mov esp, ebp
pop ebp
ret
push eax
call fcn.0044efdf
add esp, 4
mov ebx, eax
cmp dword [edi + 0x14], 8
jb 0x40dcd9
mov edi, dword [edi]
push ebx
push dword [ebp - 0x94]
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x40dd00
push ebx
call fcn.0044efe8
add esp, 4
push 0x481938
jmp 0x40dda3
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], 0
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x8c], 0
push eax
push 0x48247c
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40dced
push 0x80
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00451470
mov ecx, dword [ebp - 0x90]
add esp, 0xc
mov edx, dword [ecx + 8]
test edx, edx
jne 0x40dd6a
movzx eax, byte [ecx + 0xc]
push eax
movzx eax, byte [ecx + 0xd]
push eax
movzx eax, byte [ecx + 0xe]
push eax
movzx eax, byte [ecx + 0xf]
jmp 0x40dd7c
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, dx
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebp - 0x88]
push 0x14
push eax
call fcn.0040e210
add esp, 0x1c
push ebx
call fcn.0044efe8
add esp, 4
lea eax, [ebp - 0x88]
push eax
mov ecx, esi
call fcn.00402600
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e878
mov esp, ebp
pop ebp
ret
Function at 0x40ddc0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bad8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x48b378]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x50], esi
cmp dword [esi + 0x10], 0
jne 0x40de13
mov eax, 1
jmp 0x40df0c
xor eax, eax
mov dword [ebp - 0x18], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00402030
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
je 0x40de7f
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
cmp esi, 8
mov edx, dword [ebp - 0x1c]
cmovae eax, edi
cmp word [eax + edx*2 - 2], 0x5c
jne 0x40de7f
lea ecx, [edx - 1]
cmp edx, ecx
jb 0x40df2a
cmp esi, 8
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x2c]
cmovae eax, edi
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x10], edx
jne 0x40de40
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040e050
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040e050
cmp dword [ebp - 0x18], 8
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
mov eax, 0x614
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x30], 0
push eax
mov dword [ebp - 0x36], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x32], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 0x18]
mov esi, eax
neg esi
sbb esi, esi
cmp ecx, 8
jb 0x40df09
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00402430
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044e878
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.invalid_string_position
call fcn.0044e18c
int3
Function at 0x40df40
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bb08
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x48b378]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 4], 0
test esi, esi
jns 0x40df7d
xor esi, esi
jmp 0x40e01f
push 1
push 0
push 0x482478
lea ecx, [ebp + 8]
call fcn.004048f0
cmp eax, 0xffffffff
jne 0x40dfd2
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x80
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40dfcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40dfd2
mov esi, 1
jmp 0x40e01f
lea ecx, [ebp + 8]
call fcn.0040ddc0
test eax, eax
je 0x40dfe5
mov esi, 1
jmp 0x40e01f
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.00402030
lea ecx, [esi - 1]
mov edx, edi
call fcn.0040df40
add esp, 0x18
mov esi, eax
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x40e034
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00402430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e900
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x48b378]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x238], edx
cmp dword [edi + 0x10], 0
jne 0x40e933
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e878
mov esp, ebp
pop ebp
ret
push ebx
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40e961
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e878
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
mov dword [ebp - 0x234], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40e9d3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00402020
push eax
call fcn.004545dc
add esp, 8
test eax, eax
je 0x40e9af
lea eax, [ebp - 0x230]
push eax
push ebx
call esi
test eax, eax
jne 0x40e984
jmp 0x40e9d2
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x234], 1
test eax, eax
je 0x40e9d2
mov ecx, 0x8b
lea esi, [ebp - 0x230]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop ebx
pop edi
call fcn.0044e878
mov esp, ebp
pop ebp
ret
Function at 0x41109c
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x4110bf
or esi, 2
push 1
call edi
test ax, ax
jns 0x4110cb
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x4110d7
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4110e3
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x415ee7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415f19
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x427d57
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x69c], edi
je 0x427dc3
cmp dword [ebp + 8], 0x100
jne 0x427db2
cmp word [ebp + 0xc], 0xd
jne 0x427db2
cmp byte [esi + 0x6a2], 0
je 0x427d97
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x427db2
cmp byte [esi + 0x6a3], 0
jne 0x427db2
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x427dae
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.004141c6
xor eax, eax
jmp 0x427dc6
mov eax, dword [esi + 0x69c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x428257
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x48b378]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x42830d
movzx eax, word [esi]
test ax, ax
je 0x42830d
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x428297
cmp ax, 0x5c
jne 0x428299
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x42828b
cmp edi, esi
je 0x4282e0
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.00458665
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x42831d
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00428257
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0045879e
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0045876d
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e878
mov esp, ebp
pop ebp
ret
call fcn.0044f2ef
int3

Function at 0x4288e2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x42895e
cmp dword [edi + 4], 0xffffffff
jne 0x42895e
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x48247c
push esi
call fcn.0045876d
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x428930
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x428930
mov eax, 0x2000000
jmp 0x428963
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042adfd
add esp, 0x10
test eax, eax
jne 0x42894e
mov eax, dword [ebp - 4]
jmp 0x428963
push eax
call fcn.0042b505
mov dword [edi], eax
mov eax, dword [0x48d130]
pop ecx
jmp 0x428963
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42af0a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x42af3e
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42af39
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x42af65
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x42af4e
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.00450ef0
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x42b0d8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42b0e6
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x42b1a5
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46fd20]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46fd20]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46fd20]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46fd20]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46fd20]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46fd20]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46fd20]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46fd20]
sub edi, 1
jne 0x42b0fe
pop edi
test esi, esi
je 0x42b1c1
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46fd20]
inc edx
sub esi, 1
jne 0x42b1a9
not ecx
mov eax, ecx
pop esi
pop ebp
ret