joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c45a
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x64
mov eax, 0x4c0952
call fcn.00435f32
mov edi, ecx
mov ecx, dword [edi + 0x14]
xor ebx, ebx
test ecx, ecx
je 0x42c545
lea eax, [ebp - 0x28]
push eax
call fcn.00430e38
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x42c4b8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x42c4b8
cmp eax, 0x2f
je 0x42c4b8
mov esi, 0x4c7dc0
push esi
call fcn.0047e083
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004272d4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00474ac5
pop ecx
pop ecx
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x58]
push eax
mov byte [ebp - 4], 1
call esi
test eax, eax
je 0x42c57c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00476da0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x42c57c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426a5f
mov ecx, eax
call fcn.0042b7b7
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00402377
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00402377
lea esi, [edi - 0x510]
mov dword [edi + 0x34], 1
mov ecx, esi
call fcn.0042c9d2
mov ecx, esi
call fcn.0042c636
lea eax, [edi + 0x30]
push eax
push ebx
push esi
push 0x42c255
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
call fcn.00435edc
ret
lea eax, [ebp - 0x70]
push eax
call fcn.00426a5f
mov ecx, eax
call fcn.0042b1fc
xor eax, eax
mov byte [ebp - 4], 2
mov esi, str.Failed_to_create_folder
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.0047e083
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004024ca
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.00427235
mov esi, 0x4c85c0
push esi
call fcn.0047e083
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004272d4
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
push dword [edi - 0x50c]
call fcn.00427f30
add esp, 0xc
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00402377
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00402377
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00402377
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00402377
jmp 0x42c576
Function at 0x42cb73
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x1c
mov eax, 0x4c0b6a
call fcn.00435f32
push str.d86096
call fcn.0042cfb9
mov esi, eax
test esi, esi
je 0x42cbb6
xor edi, edi
jmp 0x42cba4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jg 0x42cbb6
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42cb93
call fcn.00426a5f
mov ecx, eax
call fcn.0042b1f0
push eax
lea ecx, [ebp - 0x28]
call fcn.00401e2f
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0047616a
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402377
xor eax, eax
inc eax
call fcn.00435edc
ret
Function at 0x42eb65
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4c0bfd
call fcn.00435fa0
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x42ebe2
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x42ebe2
call fcn.0042df39
mov esi, eax
jmp 0x42ecb9
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42ec05
call fcn.0042df39
jmp 0x42ecac
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x42ebfb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x42ec35
mov esi, 0x8007000e
jmp 0x42ecae
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0042dd58
jmp 0x42ec5b
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x42ec2e
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x42ebfb
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0042ea2a
mov esi, eax
test edi, edi
je 0x42ecb9
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42ecd2
lea ecx, [ebp - 0x418]
call fcn.0042e28a
mov eax, esi
call fcn.00435eed
ret 0x10
Function at 0x430e8b
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor ebx, ebx
mov word [ebp - 0xc], ax
push 0x208
lea eax, [ebp - 0x214]
mov dword [ebp - 0xa], ebx
push ebx
push eax
mov edi, ecx
mov word [ebp - 6], bx
call fcn.0047a580
push esi
call fcn.0047e083
add esp, 0x10
cmp eax, 3
jl 0x430ee4
push 3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004826f4
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
shrd ecx, edx, 0x14
shr edx, 0x14
call fcn.00436830
cvtsd2ss xmm0, xmm0
cmp dword [edi + 0x548], ebx
je 0x430f82
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x430f5b
mulss xmm0, dword [0x4c9ba4]
lea eax, [ebp - 0x214]
push ecx
push ecx
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push str._.2fGB
push eax
call fcn.00427a64
add esp, 0x10
jmp 0x430f70
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.00427a64
add esp, 0xc
mov ecx, dword [edi + 0x548]
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435eb6
mov esp, ebp
pop ebp
ret 4
Function at 0x4316c5
Capabilities:
Check if file exists

Disassembly:
push 0xbc
mov eax, 0x4c11ce
call fcn.00435f32
mov ebx, ecx
mov ecx, dword [ebx + 0x540]
test ecx, ecx
je 0x4317fd
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
call dword [eax + 0x38]
xor edi, edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0042b1ed
push eax
lea ecx, [ebp - 0x28]
call fcn.00401e2f
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.004384f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0047e083
pop ecx
cmp eax, 3
jle 0x4317df
push 3
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00429710
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x40]
push edi
push 1
sbb esi, esi
call fcn.00402377
and esi, 1
je 0x4317df
mov ecx, dword [ebx + 0x534]
test ecx, ecx
je 0x431778
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov eax, dword [ebx + 0x528]
mov ecx, edi
mov esi, dword [ebx + 0x524]
mov edi, eax
sub edi, esi
xor edx, edx
add edi, 3
shr edi, 2
cmp esi, eax
cmova edi, edx
test edi, edi
jmp 0x4317c0
mov edx, dword [esi]
test edx, edx
je 0x4317ba
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc8]
add esi, 4
inc ecx
cmp ecx, edi
mov dword [ebp - 0xc8], ecx
jne 0x43179b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00430e8b
xor edi, edi
jmp 0x4317f2
mov ecx, dword [ebx + 0x534]
test ecx, ecx
je 0x4317f2
mov eax, dword [ecx]
push edi
call dword [eax + 0xec]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00402377
call fcn.00435edc
ret
Function at 0x431803
Capabilities:
Get disk size

Disassembly:
push 0x13c
mov eax, 0x4c120c
call fcn.00435f32
mov edi, ecx
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.0042e3ac
mov ecx, eax
call fcn.00453af4
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x190
push 0x258
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0042e3ac
mov ecx, eax
call fcn.00453af4
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [edi + 0x540]
lea edx, [ebp - 0xac]
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], ebx
mov word [ebp - 0x12], bx
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0042b1ed
push eax
call fcn.0047e083
or dword [ebp - 4], 0xffffffff
mov esi, eax
pop ecx
lea ecx, [ebp - 0xac]
call fcn.004384f0
cmp esi, 3
jl 0x4318dd
mov ecx, dword [edi + 0x540]
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
push 3
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0042b1ed
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004826f4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
add esp, 0xc
call fcn.004384f0
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov esi, dword [edi + 0x524]
xor ecx, ecx
mov eax, dword [edi + 0x528]
mov edi, eax
sub edi, esi
add edi, 3
shr edi, 2
cmp esi, eax
cmova edi, ecx
test edi, edi
je 0x43192f
mov ecx, dword [esi]
test ecx, ecx
je 0x431927
mov eax, dword [ecx]
call dword [eax]
add esi, 4
inc ebx
cmp ebx, edi
jne 0x43191d
call fcn.00435edc
ret

Function at 0x432170
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1293
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f230c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x4f94f8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x4f94f8
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x4c7626
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00435cd0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438145
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 0x438177
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 0x43a516
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 0x43a539
or esi, 1
push 1
call edi
test ax, ax
jns 0x43a545
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x43a551
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x43a55d
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x43cd2f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx + 4]
je 0x43cd62
cmp esi, dword [ebx + 0x60]
je 0x43ce24
cmp byte [ebx + 0xc4], 0
jne 0x43cd62
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x60]
je 0x43ce24
cmp dword [ebx + 0x60], 0
push edi
je 0x43cdb5
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x60]
call fcn.0043c9d4
mov dword [ebx + 0x60], edi
test esi, esi
je 0x43ce23
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp eax, ebx
jne 0x43ce23
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test al, al
je 0x43ce23
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x43ce23
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x60], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x60]
call fcn.0043c9d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44daae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4f230c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x24], 0
je 0x44db1b
cmp dword [esi + 0x1c], 0
je 0x44db1b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004368d0
mov ebx, esp
test ebx, ebx
je 0x44db1b
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x1c]
push ebx
add ecx, 0x1bc
call fcn.00438580
mov ecx, dword [esi + 0x1c]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0043c9d4
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435eb6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4504ed
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x4c2349
call fcn.00435f32
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0045087c
call fcn.0043a2b5
push eax
lea ecx, [ebp - 0x94]
call fcn.004383b5
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0043a2bb
mov ecx, eax
call fcn.00438b88
test al, al
je 0x450603
push ebx
lea ecx, [ebp - 0x94]
call fcn.004385e4
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.0042b1ed
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x450574
push str.Error_opening_file
jmp 0x4506e4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x45067d
cmp edi, 0x400000
ja 0x45068e
and dword [ebp - 0x2c8], 0
push edi
call fcn.004368ba
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x4505ec
push ebx
call fcn.00435fda
pop ecx
mov ecx, esi
call fcn.0045087c
push 0
push str.Could_not_read_file
jmp 0x4506e4
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0045072f
push dword [ebp - 0x2cc]
jmp 0x450712
call fcn.0043a2bb
push eax
lea ecx, [ebp - 0x94]
call fcn.004385c7
call fcn.0043a3ee
test al, al
je 0x450624
call fcn.0043a2c1
jmp 0x45063b
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0042b1ed
push eax
call fcn.0045912f
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x45064c
push eax
push str.Error_opening_zip_file
jmp 0x4506e4
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00458b70
add esp, 0x14
test eax, eax
je 0x450673
push 0
push str.Could_not_find_ziped_file
jmp 0x4506e4
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x450686
push 0
push str.File_is_empty
jmp 0x4506e4
cmp ebx, 0x400000
jbe 0x450697
push 0
push str.File_too_large
jmp 0x4506e4
push ebx
call fcn.004368ba
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.004594ef
add esp, 0x18
test eax, eax
je 0x4506ef
cmp eax, 0x600
je 0x4506ef
push dword [ebp - 0x2c8]
call fcn.00435fda
pop ecx
call fcn.0043a3ee
test al, al
jne 0x4506dd
push edi
call fcn.004589ca
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004508a4
mov bl, al
jmp 0x45071a
call fcn.0043a3ee
test al, al
jne 0x4506ff
push edi
call fcn.004589ca
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.0045072f
push edi
mov bl, al
call fcn.00435fda
pop ecx
lea ecx, [ebp - 0x94]
call fcn.004384f0
mov al, bl
call fcn.00435edc
ret 8
Function at 0x456442
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x456456
xor eax, eax
pop ebp
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x456468
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x456452
push esi
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x456483
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4564ba
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call fcn.00479640
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x4564be
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x4564c1
xor eax, eax
inc eax
pop esi
pop ebp
ret

Function at 0x4583e2
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x88
mov eax, 0x4c1a2c
call fcn.00435f32
mov esi, ecx
cmp dword [esi + 0x4f0], 0
mov ebx, dword [ebp + 0x14]
je 0x4584d6
cmp dword [ebp + 8], 0x100
jne 0x4584bc
cmp word [ebp + 0xc], 0xd
jne 0x458455
cmp byte [esi + 0x4f6], 0
je 0x458436
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x458455
cmp byte [esi + 0x4f7], 0
jne 0x458455
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x45844e
push 0
push 0
push 0
push str.return
push esi
call fcn.0043c9d4
xor eax, eax
jmp 0x4584d9
cmp dword [ebp + 0xc], 0x43
jne 0x4584bc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4584bc
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.00456c1d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00438a34
lea ecx, [ebp - 0x94]
lea eax, [eax*2 + 2]
push eax
call fcn.0042b1ed
mov ecx, dword [esi + 0x40]
push eax
push 0x2042
call fcn.00453af4
push eax
call fcn.00456442
add esp, 0x10
lea ecx, [ebp - 0x94]
call fcn.004384f0
jmp 0x45844e
mov eax, dword [esi + 0x4f0]
push ebx
push dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x4584d9
xor eax, eax
inc eax
call fcn.00435edc
ret 0x10
Function at 0x458a1c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4f230c]
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 0x458ad2
movzx eax, word [esi]
test ax, ax
je 0x458ad2
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x458a5c
cmp ax, 0x5c
jne 0x458a5e
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x458a50
cmp edi, esi
je 0x458aa5
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.0048600e
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x458ae2
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00458a1c
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0047e061
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00481b20
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.00435eb6
mov esp, ebp
pop ebp
ret
call fcn.0043636a
int3

Function at 0x4590a7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x459123
cmp dword [edi + 4], 0xffffffff
jne 0x459123
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4c7dc0
push esi
call fcn.00481b20
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x4590f5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4590f5
mov eax, 0x2000000
jmp 0x459128
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045b5c2
add esp, 0x10
test eax, eax
jne 0x459113
mov eax, dword [ebp - 4]
jmp 0x459128
push eax
call fcn.0045bcca
mov dword [edi], eax
mov eax, dword [0x4f9fe8]
pop ecx
jmp 0x459128
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45b6cf
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 0x45b703
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 0x45b6fe
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x45b72a
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x45b713
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.00479640
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 0x45b89d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x45b8ab
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x45b96a
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 + 0x4cfe90]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4cfe90]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4cfe90]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4cfe90]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4cfe90]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4cfe90]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4cfe90]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4cfe90]
sub edi, 1
jne 0x45b8c3
pop edi
test esi, esi
je 0x45b986
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4cfe90]
inc edx
sub esi, 1
jne 0x45b96e
not ecx
mov eax, ecx
pop esi
pop ebp
ret