joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8a61
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x80
mov eax, 0x512847
call fcn.004d0d27
mov esi, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x74], esp
mov dword [ebp - 0x8c], eax
push esi
call fcn.00408844
xor edi, edi
mov dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004632d0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.004636f0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4b8aba
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, eax
mov dword [ebp - 0x74], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push edi
push 1
call fcn.00404a7e
mov eax, dword [ebp + 0xc]
cmp ebx, 3
jne 0x4b8ae4
test eax, 0x20000
jne 0x4b8b28
cmp ebx, 2
jne 0x4b8af0
test eax, 0x10000
jne 0x4b8b28
cmp ebx, 4
jne 0x4b8afc
test eax, 0x40000
jne 0x4b8b28
cmp ebx, 5
jne 0x4b8b08
test eax, 0x80000
jne 0x4b8b28
cmp ebx, 6
jne 0x4b8b14
test eax, 0x100000
jne 0x4b8b28
cmp ebx, 2
jne 0x4b8bf0
test eax, 0x200000
je 0x4b8bf0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x84], edi
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
call fcn.004636f0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4b8b4f
mov eax, dword [eax]
push edi
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push edi
push 1
call fcn.00404a7e
push esi
lea ecx, [ebp - 0x28]
call fcn.00408844
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00409d72
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 7
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00404a7e
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x58]
push eax
call fcn.004b9d5b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.00404a7e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
push edi
push 1
call fcn.00404a7e
call fcn.004d0cd1
ret 0x18
Function at 0x4bd856
Capabilities:
Get common file path

Disassembly:
push 0x254
mov eax, 0x51371a
call fcn.004d0d27
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x250], eax
add eax, eax
cmp eax, 0x208
jae 0x4bda30
sub esp, 0x18
xor ecx, ecx
mov word [ebp + eax - 0x21c], cx
mov ecx, esp
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x260], esp
push eax
call fcn.00408844
xor ebx, ebx
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.004632d0
mov dword [ebp - 4], 1
xor eax, eax
mov esi, str.msi.dll
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
push esi
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
call fcn.004d635d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.004087b1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004238fd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
push ebx
push 1
call fcn.00404a7e
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x250], ebx
call fcn.00464c00
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4bd966
mov eax, dword [eax]
mov esi, dword [sym.imp.msi.dll_MsiMessageBoxW]
lea ecx, [ebp - 0x250]
push ebx
push ebx
push ecx
push ebx
push eax
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
push ebx
push 1
call fcn.00404a7e
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x25c]
inc eax
push eax
call fcn.00464e10
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00464c00
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4bd9bc
mov eax, dword [eax]
mov edi, dword [ebp - 0x25c]
lea ecx, [ebp - 0x250]
push ebx
push ebx
push ecx
push edi
push eax
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
push ebx
push 1
call fcn.00404a7e
mov eax, ebx
mov edx, ebx
cmp edx, dword [ebp - 0x250]
jae 0x4bda04
movzx esi, word [edi + edx*2]
cmp esi, 0x2e
je 0x4bd9fe
imul ecx, eax, 0xa
lea eax, [esi - 0x30]
add eax, ecx
inc edx
cmp edx, 3
jb 0x4bd9e5
imul esi, eax, 0xa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00465440
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
push ebx
push 1
call fcn.00404a7e
mov eax, esi
call fcn.004d0cd1
ret
call fcn.004d096b
int3
Function at 0x4c57bf
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov bl, 1
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4c5922
mov ebp, 0x10000000
cmp eax, 0x7c
je 0x4c5922
cmp eax, 0x29
jne 0x4c57fa
cmp dword [esi + 0x10], 0
jne 0x4c5922
test dword [esi + 0x50], ebp
je 0x4c5930
cmp eax, 0x2e
jne 0x4c5815
push 5
lea ecx, [esi + 0x24]
call fcn.004c5a2d
mov ecx, esi
call fcn.004c579a
jmp 0x4c590b
cmp eax, 0x5c
jne 0x4c5872
mov ecx, esi
call fcn.004c579a
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4c5848
cmp word [esi + 0x48], 0x62
jne 0x4c5848
push 4
lea ecx, [esi + 0x24]
call fcn.004c5a2d
mov ecx, esi
call fcn.004c579a
jmp 0x4c5912
test eax, eax
je 0x4c5866
cmp word [esi + 0x48], 0x42
jne 0x4c5866
push 4
lea ecx, [esi + 0x24]
call fcn.004c5a2d
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4c583c
mov ecx, esi
call fcn.004c6424
jmp 0x4c590b
cmp eax, 0x5b
jne 0x4c5896
mov ecx, esi
call fcn.004c579a
mov ecx, esi
call fcn.004c63d8
cmp dword [esi + 0x4c], 0x5d
je 0x4c5809
push 4
jmp 0x4c5932
cmp eax, 0x28
jne 0x4c58b3
mov ecx, esi
call fcn.004c579a
mov ecx, esi
call fcn.004c64d2
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x4c5900
jmp 0x4c5930
cmp eax, 0x5e
jne 0x4c58bf
push 2
jmp 0x4c5834
cmp eax, 0x24
jne 0x4c58cb
push 3
jmp 0x4c5834
cmp eax, 0x2a
je 0x4c592c
cmp eax, 0x2b
je 0x4c592c
cmp eax, 0x3f
je 0x4c592c
cmp eax, 0x7b
je 0x4c592c
cmp eax, 0x7d
jne 0x4c58e9
test dword [esi + 0x50], ebp
je 0x4c5928
cmp eax, 0x5d
jne 0x4c58f3
test dword [esi + 0x50], ebp
je 0x4c588f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004c6671
mov ecx, esi
call fcn.004c579a
test bl, bl
je 0x4c5912
mov ecx, esi
call fcn.004c65ae
mov eax, dword [esi + 0x4c]
mov cl, 1
mov bl, cl
cmp eax, 0xffffffff
jne 0x4c57d9
pop esi
pop ebp
mov al, cl
pop ebx
ret
push 6
jmp 0x4c5932
push 0xa
jmp 0x4c5932
push 5
call fcn.004cdc39
int3
Function at 0x4ca79f
Capabilities:
Delete directory

Disassembly:
push 0xc
mov eax, 0x516b4c
call fcn.004d0cf3
mov edi, edx
mov esi, ecx
call fcn.00406cde
push eax
lea ecx, [ebp - 0x10]
call fcn.00406b09
mov dword [ebp - 4], 1
mov eax, dword [edi]
push 0x5c
pop ebx
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4ca80e
dec eax
mov ecx, edi
push eax
call fcn.0046e610
cmp ax, bx
jne 0x4ca80e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004450c5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push eax
call fcn.0044369a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
jmp 0x4ca817
push edi
lea ecx, [ebp - 0x10]
call fcn.0044369a
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, dword [ecx - 0xc]
jge 0x4ca875
push ebx
push ecx
call fcn.004d3931
pop ecx
pop ecx
test eax, eax
jne 0x4ca836
or eax, 0xffffffff
jmp 0x4ca83a
sub eax, dword [esi]
sar eax, 1
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004450c5
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4ca866
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004ca79f
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
call fcn.004d0cbc
ret

Function at 0x4ca88a
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x516b8f
call fcn.004d0cf3
mov edi, edx
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4ca91d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00406cde
push eax
lea ecx, [ebp - 0x10]
call fcn.00406b09
mov dword [ebp - 4], 1
push 0x5c
push dword [esi]
call fcn.004d3931
pop ecx
pop ecx
test eax, eax
je 0x4ca8fe
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x4ca8fe
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004450c5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push eax
call fcn.0044369a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x4ca911
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.004ca79f
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00406dd3
call fcn.004d0cbc
ret
Function at 0x4caf16
Capabilities:
Check if file exists

Disassembly:
push 0x7c
mov eax, 0x516d63
call fcn.004d0d27
mov dword [ebp - 0x80], edx
mov edx, ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x84], edx
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
and dword [ebp - 0x74], 0
mov dword [ebp - 0x78], ecx
mov ecx, edx
push eax
mov dword [ebp - 0x88], edx
call fcn.00409d72
push dword [ebp + 0x1c]
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x80]
push esi
push edi
mov edi, dword [ebp - 0x7c]
mov edx, edi
push ebx
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 1
call fcn.004caba7
add esp, 0x14
cmp dword [edi + 0x14], 8
jb 0x4caf86
mov eax, dword [edi]
jmp 0x4caf88
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4cb09e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push edi
call fcn.00409d72
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004632d0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.00465040
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x58]
call fcn.00464b90
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.00464b90
push esi
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040daa6
mov ebx, eax
mov byte [ebp - 4], 4
neg ebx
lea ecx, [ebp - 0x70]
push 0
sbb bl, bl
xor esi, esi
inc esi
push esi
call fcn.00404a7e
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404a7e
add bl, 1
je 0x4cb086
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00464c00
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4cb040
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 3
push 0
push esi
lea ecx, [ebp - 0x28]
setne bl
call fcn.00404a7e
test bl, bl
je 0x4cb086
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00464c00
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0040c6f8
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404a7e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00407e0c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00407e0c
mov eax, edi
call fcn.004d0cd1
ret
Function at 0x4cb7f9
Capabilities:
Check os version

Disassembly:
push 0x120
mov eax, 0x516eca
call fcn.004d0d27
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.00421811
and dword [ebp - 4], 0
lea edi, [esi + 0x20]
push 0x58
push 0
push edi
call fcn.004d1f70
xor eax, eax
mov dword [esi + 0x78], 1
xor ecx, ecx
mov dword [edi], 0x58
lea ebx, [esi + 0x27c]
mov word [esi + 0x7c], cx
push 0x110
mov word [ebx], ax
lea eax, [ebp - 0x120]
push ecx
push eax
mov dword [ebp - 0x124], 0x114
call fcn.004d1f70
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4cb88f
cmp dword [ebp - 0x120], 5
jae 0x4cb895
cmp dword [ebp - 0x120], 4
jne 0x4cb88f
cmp dword [ebp - 0x11c], 0x5a
jae 0x4cb895
mov dword [edi], 0x4c
and dword [esi + 0x5c], 0
lea eax, [esi + 0x7c]
mov dword [esi + 0x44], eax
mov eax, esi
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0x104
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x54], 0x880024
mov dword [esi + 0x2c], str.Folders_Only
mov ecx, dword [0x56f438]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x64], 0x42102d
mov dword [esi + 0x24], ecx
call fcn.004d0cd1
ret 0x18

Function at 0x4cbaf0
Capabilities:
Hash data with md5

Disassembly:
mov byte [ecx + 0x68], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4cec48
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x516f7e
call fcn.004d0d27
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4ced65
cmp byte [ebx + 0x3e], 0
je 0x4ced65
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.004d0c85
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x4cec94
xor al, al
jmp 0x4ced67
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.0044f120
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x4cecc4
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x40]
mov ecx, dword [esi + 0x20]
push eax
call fcn.004d0c85
mov ecx, edi
call dword [esi + 0x20]
sub eax, 0
je 0x4cecf9
sub eax, 1
je 0x4cecfd
dec eax
sub eax, 1
je 0x4ced53
xor bl, bl
jmp 0x4ced55
mov byte [ebx + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x4ced0d
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x4ced35
cmp eax, 0x10
jae 0x4ced1c
lea ecx, [ebp - 0x28]
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004e1969
add esp, 0x10
cmp esi, eax
jne 0x4cecf5
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x4ced53
test esi, esi
jne 0x4cecb8
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004042d5
jmp 0x4cecb2
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004046bb
mov al, bl
jmp 0x4ced67
mov al, 1
call fcn.004d0cd1
ret
Function at 0x4cf1d9
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x516fd3
call fcn.004d0d27
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
sete al
test al, al
je 0x4cf210
cmp di, bx
je 0x4cf209
movzx eax, di
jmp 0x4cf389
xor eax, eax
jmp 0x4cf389
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cf23c
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x4cf23c
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x4cf389
cmp dword [esi + 0x4c], 0
je 0x4cf386
mov ecx, esi
call fcn.004cee51
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x4cf26f
push dword [esi + 0x4c]
push edi
call fcn.004cea10
pop ecx
pop ecx
test al, al
je 0x4cf386
movzx ebx, di
jmp 0x4cf386
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.0044f120
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x4cf2a7
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.004d0c85
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x4cf37a
cmp eax, 1
jg 0x4cf355
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x4cf2f0
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x4cf31d
cmp eax, 0x10
jae 0x4cf2ff
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.004e1969
add esp, 0x10
cmp edi, eax
jne 0x4cf350
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x4cf320
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], edx
jne 0x4cf34a
test edi, edi
jne 0x4cf29b
cmp dword [ebp - 0x18], 0x20
jae 0x4cf374
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.004042d5
jmp 0x4cf295
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x4cf374
cmp eax, 3
jne 0x4cf37a
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.004cea10
pop ecx
pop ecx
test al, al
je 0x4cf374
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004046bb
mov ax, bx
call fcn.004d0cd1
ret 4

Function at 0x4eb36b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004eb02e

Function at 0x4eb376
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004eb1af
Function at 0x4f2a33
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x4f2be9
mov esi, dword [edi + 0x9c]
mov ecx, esi
mov dword [esp + 0x2c], esi
call fcn.004064c6
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xa4]
mov ecx, eax
mov dword [esp + 0x34], eax
call fcn.004064c6
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004064c6
cmp ebx, eax
jae 0x4f2a85
mov eax, ebx
jmp 0x4f2a8c
mov ecx, esi
call fcn.004064c6
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
push ecx
push eax
push dword [esi + 4]
mov ecx, edi
push dword [esi]
push dword [esp + 0x3c]
push dword [ebp + 0xc]
call fcn.004f2cd8
mov eax, dword [esi + 8]
xor edx, edx
sub eax, dword [esi]
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp ebx, eax
mov dword [esp + 0x2c], 1
movzx edx, dl
cmova edx, dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
cmp ebx, dword [esp + 0x10]
jbe 0x4f2bb5
mov eax, dword [edi + 0xa0]
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.004064c6
mov dword [esp + 0x18], eax
mov ecx, ebx
mov eax, dword [esi + 8]
sub eax, dword [esi]
sub eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0x10]
cmp ecx, eax
cmovb eax, ecx
mov ecx, dword [esp + 0x18]
cdq
idiv ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
test eax, eax
jle 0x4f2b69
dec eax
xor ebx, ebx
mov dword [esp + 0x30], eax
mov edx, ebx
mov dword [esp + 0x20], ebx
cmp ebx, eax
mov eax, dword [esi + 0xc]
cmove ecx, dword [esp + 0x28]
sub eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push dword [esi + 4]
add eax, edx
mov ecx, edi
add eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x2c]
push dword [ebp + 0xc]
call fcn.004f2cd8
mov edx, dword [esp + 0x20]
inc ebx
mov ecx, dword [esp + 0x18]
add edx, ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], edx
cmp ebx, dword [esp + 0x24]
jl 0x4f2b24
mov ebx, dword [ebp + 0x10]
cmp byte [esp + 0x2c], 0
jne 0x4f2b77
mov eax, dword [edi + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov ecx, dword [edi + 0x78]
push eax
call fcn.004064c6
push eax
mov eax, dword [esp + 0x2c]
mov ecx, edi
push dword [esi + 4]
dec eax
imul eax, dword [esp + 0x24]
add eax, dword [esp + 0x34]
add eax, dword [esi]
add eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x2c]
push dword [ebp + 0xc]
call fcn.004f2cd8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
test dl, dl
je 0x4f2be9
mov edx, dword [esi + 8]
mov eax, dword [esi]
sub eax, edx
add eax, ecx
add eax, ebx
cmp eax, dword [esp + 0x14]
cmovb ecx, eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
sub edx, dword [esp + 0x14]
push eax
push ecx
push dword [esi + 4]
mov ecx, edi
push edx
push dword [esp + 0x44]
push dword [ebp + 0xc]
call fcn.004f2cd8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f3dd8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
mov eax, dword [0x56a078]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x3c]
mov edi, dword [esi + 0x30]
movsx ebx, ax
shr eax, 0x10
movsx ebp, ax
jmp 0x4f3e47
mov esi, dword [edi]
lea ecx, [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
push ebp
push ebx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4f3e44
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4f3e44
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
jne 0x4f3e4d
mov edi, dword [edi + 8]
test edi, edi
jne 0x4f3e04
jmp 0x4f3e76
xor eax, eax
mov dword [esp + 0x10], ebx
inc eax
mov dword [esp + 0x14], ebp
cmp dword [esp + 0x38], 0x205
push 2
pop ecx
cmove eax, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x4c]
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d014c
add esp, 0x24
ret 8

Function at 0x4f3fea
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
mov eax, dword [0x56a078]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
movsx ecx, ax
shr eax, 0x10
xor ebp, ebp
cwde
mov dword [edx], ebp
mov ebx, dword [edi + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x4f4067
mov esi, dword [ebx]
lea ecx, [esp + 0x34]
xorps xmm0, xmm0
movups xmmword [esp + 0x34], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4f4064
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4f4064
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
jne 0x4f4091
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4f401e
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x4f407a
mov eax, dword [ecx]
call dword [eax + 0x54]
mov dword [edi + 0x34], ebp
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d014c
add esp, 0x3c
ret 0x10
mov ecx, dword [edi + 0x34]
cmp esi, ecx
je 0x4f40a4
test ecx, ecx
je 0x4f40a1
mov eax, dword [ecx]
call dword [eax + 0x54]
mov dword [edi + 0x34], esi
xor esi, esi
inc esi
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
lea edx, [esp + 0x18]
test cx, ax
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], eax
cmova ebp, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov eax, dword [ecx]
push edx
call dword [eax + 0x50]
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
jmp 0x4f407a