joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402620
Capabilities:
Reference wmi statements

Disassembly:
push 0xffffffffffffffff
push 0x471260
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e780]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebp, ebp
push str.SELECT__FROM_Win32_DiskDrive
lea ebx, [esp + 0x20]
mov dword [esp + 0x18], ebp
call fcn.00401120
mov esi, eax
push 0x4827e0
lea ebx, [esp + 0x1c]
mov dword [esp + 0x30], ebp
call fcn.00401120
mov byte [esp + 0x2c], 1
mov ecx, dword [esi]
cmp ecx, ebp
je 0x40267e
mov ecx, dword [ecx]
jmp 0x402680
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebp
je 0x40268a
mov edx, dword [eax]
jmp 0x40268c
xor edx, edx
mov eax, dword [0x493fc8]
mov esi, dword [eax]
push 0x493fd4
push ebp
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [0x493f7c], eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4026f2
mov esi, eax
add eax, 8
push eax
call edi
cmp eax, ebp
jne 0x4026ee
cmp esi, ebp
je 0x4026ee
mov eax, dword [esi]
cmp eax, ebp
je 0x4026d5
push eax
call ebx
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4026e5
push eax
call fcn.0041da60
add esp, 4
push esi
call fcn.0041da60
add esp, 4
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], 0xffffffff
mov esi, dword [esp + 0x1c]
cmp esi, ebp
je 0x402736
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x402732
cmp esi, ebp
je 0x402732
mov eax, dword [esi]
cmp eax, ebp
je 0x402719
push eax
call ebx
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x402729
push eax
call fcn.0041da60
add esp, 4
push esi
call fcn.0041da60
add esp, 4
mov dword [esp + 0x1c], ebp
cmp dword [0x493f7c], ebp
jge 0x402775
mov eax, dword [0x493fc8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [0x493fcc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
or eax, 0xffffffff
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x493fd4]
mov dword [esp + 0x20], ebp
cmp eax, ebp
je 0x4027ab
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0x493fd0
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x20], ebp
je 0x4027ab
mov eax, dword [0x493fd4]
inc dword [esp + 0x14]
cmp eax, ebp
jne 0x402782
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x403a90
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5b8
mov eax, dword [0x48e780]
xor eax, esp
mov dword [esp + 0x5b4], eax
mov eax, dword [esp + 0x5c8]
push ebp
mov ebp, dword [esp + 0x5c4]
push esi
mov esi, dword [esp + 0x5c4]
push edi
mov edi, dword [esp + 0x5d0]
push 0x40
lea ecx, [esp + 0x70]
push 0
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], vtable.MD5_CTX.0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
call fcn.004595b0
add esp, 0xc
lea edx, [esp + 0xac]
push edx
mov edx, esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 0x80
call fcn.00404d50
lea eax, [esp + 0x1b0]
push eax
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.00404d50
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0xac]
mov byte [esp + eax + 0x2b4], cl
inc eax
test cl, cl
jne 0x403b40
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403b57
lea edi, [esp + 0x2b4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403b68
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1b0]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403b90
lea edi, [esp + 0x2b4]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403ba3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x2b8]
lea ecx, [esp + 0x14]
call fcn.00404d50
mov ecx, dword [esp + 0x5c0]
pop edi
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.00459157
add esp, 0x5b8
ret
Function at 0x404fa0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xc
mov eax, dword [0x48e780]
xor eax, esp
mov dword [esp + 8], eax
push ebp
push edi
mov edi, ecx
xor ecx, ecx
lea eax, [esi + 0x16]
jmp 0x404fc0
movzx edx, byte [eax - 2]
mov byte [esp + ecx + 8], dl
movzx edx, byte [eax - 1]
mov byte [esp + ecx + 9], dl
movzx edx, byte [eax]
mov byte [esp + ecx + 0xa], dl
movzx edx, byte [eax + 1]
mov byte [esp + ecx + 0xb], dl
add ecx, 4
add eax, 4
cmp ecx, 8
jb 0x404fc0
mov ecx, dword [esi + 0x14]
shr ecx, 3
and ecx, 0x3f
mov eax, 0x38
cmp ecx, 0x38
jb 0x405002
mov eax, 0x78
lea ebp, [esi + 0x5c]
push ebp
sub eax, ecx
push esi
call fcn.00404ed0
lea eax, [esp + 8]
push eax
push esi
mov eax, 8
call fcn.00404ed0
lea ecx, [edi + 1]
lea eax, [esi + 6]
mov edi, 4
lea esp, [esp]
movzx edx, byte [eax - 2]
mov byte [ecx - 1], dl
movzx edx, byte [eax - 1]
mov byte [ecx], dl
movzx edx, byte [eax]
mov byte [ecx + 1], dl
movzx edx, byte [eax + 1]
mov byte [ecx + 2], dl
add eax, 4
add ecx, 4
sub edi, 1
jne 0x405030
push 0x9c
push edi
push esi
call fcn.004595b0
push 0x40
push edi
push ebp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.004595b0
mov ecx, dword [esp + 0x28]
add esp, 0x18
pop edi
mov byte [ebp], 0x80
pop ebp
xor ecx, esp
call fcn.00459157
add esp, 0xc
ret

Function at 0x41a670
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x490a74]
mov ecx, dword [eax + 0x10]
push ecx
push SysReAllocString
call fcn.004012d0
add esp, 8
cmp al, 1
jne 0x41a744
mov edx, dword [esp + 4]
mov eax, dword [0x490a74]
mov ecx, dword [eax + 0x10]
push edx
push str.UninstallString
push ecx
push SysReAllocString
call fcn.00401360
mov edx, dword [esp + 0x18]
mov eax, dword [0x490a74]
mov ecx, dword [eax + 0x10]
push edx
push str.DisplayIcon
push ecx
push SysReAllocString
call fcn.00401360
mov eax, dword [0x490a74]
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x10]
push edx
push str.DisplayName
push eax
push SysReAllocString
call fcn.00401360
mov ecx, dword [0x490a74]
mov edx, dword [ecx + 0x10]
push 0x47e5c8
push str.DisplayVersion
push edx
push SysReAllocString
call fcn.00401360
mov eax, dword [0x490a74]
mov ecx, dword [eax + 0x10]
add esp, 0x40
push str.16lao.com
push str.Publisher
push ecx
push SysReAllocString
call fcn.00401360
mov edx, dword [0x490a74]
mov eax, dword [edx + 0x10]
push str.http:__www.16lao.com
push str.URLInfoAbout
push eax
push SysReAllocString
call fcn.00401360
add esp, 0x20
ret
push 0x53d
push str..App.cpp
push str.FILE:__S__LINE:__d
call fcn.004015d0
push str.generateUninstallInfo_failed.
call fcn.004015d0
push 0x53e
push str..App.cpp
push str.FILE:__S__LINE:__d
call fcn.004015d0
add esp, 0x1c
jmp fcn.00401590
Function at 0x41a780
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, eax
push str.browser.7z
push esi
mov dword [esp + 0x14], 0
call fcn.00458cfa
push esi
call fcn.004015e0
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x473790
push 0x6b
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x41a83b
push ebp
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x41a833
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x41a833
push esi
call fcn.0041da6b
add esp, 4
push esi
push ebp
mov dword [0x490c88], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov eax, dword [0x490c88]
push eax
call fcn.004591c0
mov edx, dword [0x490c88]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41a840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push edi
push 0x473790
push 0x67
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x41a8b8
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41a8b0
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x41a8af
push esi
call fcn.0041da6b
add esp, 4
push esi
push ebx
mov dword [0x490c84], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov eax, dword [0x490c84]
push eax
call fcn.004591c0
mov ecx, dword [0x490c84]
push 3
push esi
push ecx
call fcn.004315fc
add esp, 0x18
mov dword [0x490c8c], eax
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
ret

Function at 0x41a8c0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x48e780]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push 0
push 2
mov dword [esp + 0xc], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a926
push 0x5a7
push str..App.cpp
push str.FILE:__S__LINE:__d
call fcn.004015d0
push str._CreateToolhelp32Snapshot
call fcn.004015d0
add esp, 0x10
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00459157
add esp, 0x230
ret
lea eax, [esp + 4]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41a956
lea ecx, [esp + 0x28]
push ecx
push edi
call fcn.00459525
add esp, 8
test eax, eax
je 0x41a975
lea edx, [esp + 4]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41a935
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00459157
add esp, 0x230
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x230]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00459157
add esp, 0x230
ret
Function at 0x41a9a0
Capabilities:
Terminate thread

Disassembly:
cmp byte [0x490ce8], 0
jne 0x41a9f5
mov eax, dword [0x490c84]
push eax
call fcn.0041da60
mov eax, dword [0x490c8c]
add esp, 4
test eax, eax
je 0x41a9c9
push eax
call fcn.00431693
add esp, 4
mov ecx, dword [0x490c90]
test ecx, ecx
je 0x41a9db
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [0x48d004]
mov byte [0x490ce8], 1
cmp eax, 0xffffffff
je 0x41a9f5
push 0xfffffffffffffffe
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
ret
Function at 0x427e9c
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x427eb2
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x427ebe
or edi, 1
push 1
call esi
test ax, ax
jge 0x427eca
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x427ed6
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x427ee2
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x4295a8
cmp ebx, dword [esi + 0x50]
je 0x4295a8
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x50]
cmp ebx, eax
je 0x42966a
push edi
test eax, eax
je 0x4295fb
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], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xf8]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x50]
mov ecx, esi
call fcn.0042907f
mov dword [esi + 0x50], edi
test ebx, ebx
je 0x429669
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x429669
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc0]
test al, al
je 0x429669
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
test al, al
je 0x429669
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x50], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xf8]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x50]
mov ecx, esi
call fcn.0042907f
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x429867
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xcc]
mov ecx, edi
xor ebx, ebx
call fcn.0042b0d5
test eax, eax
jle 0x4298b6
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call fcn.0042b0f2
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x429917
mov ecx, edi
inc ebx
call fcn.0042b0d5
cmp ebx, eax
jl 0x429885
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x429970
sub eax, 4
je 0x42991b
dec eax
dec eax
jne 0x429967
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0045b052
pop ecx
mov ecx, dword [esi + 0x4c]
push VariantTimeToDosDateTime
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x428be5
call dword [eax + 0xec]
mov esi, eax
test esi, esi
je 0x429967
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x429969
cmp dword [esi + 0x50], 0
je 0x429967
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.00427e9c
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xf8]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x429967
cmp dword [esi + 0x50], 0
je 0x4299bf
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x4299bf
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x4299bf
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.0045ae54
pop ecx
pop ecx
test eax, eax
je 0x4299bf
mov ecx, dword [esi + 0x50]
call fcn.00440cf2
test al, al
jne 0x429967
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call fcn.0042971b
jmp 0x429917
Function at 0x42c86c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x48e780]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0xc
mov eax, 0x470328
call fcn.00459b83
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.0042be55
call fcn.00427f2b
push eax
lea ecx, [ebp + 0x230]
call fcn.0042b887
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00427f31
mov ecx, eax
call fcn.0042b2c4
test al, al
je 0x42c9ce
push edi
lea ecx, [ebp + 0x230]
call fcn.0042b346
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x230]
call fcn.00427fc1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x42c942
push str.Error_opening_file
mov ecx, ebx
call fcn.0042c02b
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.0042b19f
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.00459157
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x42c957
push esi
push str.File_is_empty
jmp 0x42c903
cmp edi, 0x400000
jbe 0x42c967
push esi
push str.File_too_large
jmp 0x42c903
push edi
mov dword [ebp - 0x14], esi
call fcn.0041da6b
pop ecx
push esi
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x42c9ad
push dword [ebp - 0x10]
call fcn.0041da60
pop ecx
mov ecx, ebx
call fcn.0042be55
push esi
push str.Could_not_read_file
jmp 0x42c903
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.0042c71b
push dword [ebp - 0x10]
mov bl, al
call fcn.0041da60
pop ecx
jmp 0x42c90c
call fcn.00427f31
push eax
lea ecx, [ebp + 0x230]
call fcn.0042b32c
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.00427fc1
push eax
call fcn.004315fc
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 1
push edi
push eax
mov dword [ebp - 0x10], eax
call fcn.0042fcfa
add esp, 0x20
test eax, eax
je 0x42ca19
push esi
push str.Could_not_find_ziped_file
jmp 0x42c903
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x42c94f
cmp eax, 0x400000
ja 0x42c95f
push eax
call fcn.0041da6b
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.00431659
add esp, 0x18
cmp eax, esi
je 0x42ca77
cmp eax, 0x600
je 0x42ca77
push edi
call fcn.0041da60
push dword [ebp - 0x10]
call fcn.00431693
pop ecx
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x42c903
push dword [ebp - 0x10]
call fcn.00431693
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.0042c71b
push edi
jmp 0x42c9c1
Function at 0x42e8f2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x42e8fd
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x42e9b8
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4776c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4776c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4776c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4776c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4776c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4776c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4776c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4776c8]
inc edx
sub edi, 8
dec esi
jne 0x42e91d
pop ebx
test edi, edi
je 0x42e9d1
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4776c8]
inc edx
dec edi
jne 0x42e9bc
pop edi
not eax
pop esi
ret

Function at 0x42ee68
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x42ee9c
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42ee97
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x42eec4
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x42eead
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004591c0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x42fc42
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x48e780]
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 0x42fcec
movzx ecx, word [esi]
test cx, cx
je 0x42fcec
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x42fc80
cmp cx, 0x5c
jne 0x42fc82
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x42fc74
cmp eax, esi
je 0x42fcc0
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0045b8c5
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0042fc42
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00458d28
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00458cfa
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00459157
leave
ret
Function at 0x43121d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x431298
cmp dword [esi + 4], 0xffffffff
jne 0x431298
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x482748
push edi
call fcn.00458cfa
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x43126a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x43126a
mov eax, 0x2000000
jmp 0x43129d
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042ec7e
add esp, 0x10
test eax, eax
jne 0x431288
mov eax, dword [ebp + 0x10]
jmp 0x43129d
push eax
call fcn.00430e19
mov dword [esi], eax
mov eax, dword [0x4930f4]
pop ecx
jmp 0x43129d
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x433a04
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x48e780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
push edi
je 0x433a6b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.0045c060
mov ebx, esp
test ebx, ebx
je 0x433a6b
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x134
call fcn.0042b318
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0042907f
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00459157
leave
ret 0x10
Function at 0x440ec1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3b4], ebx
je 0x440f29
cmp dword [ebp + 8], 0x100
jne 0x440f18
cmp word [ebp + 0xc], 0xd
jne 0x440f18
cmp byte [esi + 0x3ba], bl
je 0x440eff
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x440f18
cmp byte [esi + 0x3bb], bl
jne 0x440f18
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x440f14
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.0042907f
xor eax, eax
jmp 0x440f2c
mov eax, dword [esi + 0x3b4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10