joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b6a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6883b0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x732694]
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, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov byte [ebp - 0x29], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push esi
push edi
push ebx
call fcn.0042c2e0
add esp, 0x10
cmp dword [ebp - 0x18], 0
je 0x42b71f
lea eax, [ebp - 0x28]
push eax
call fcn.0042be50
add esp, 4
mov bl, al
jmp 0x42b722
mov bl, byte [ebp - 0x29]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x30]
cmp eax, 0x3e8
jae 0x42b73d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.std::_Func_impl_no_alloc_class__lambda_aee44ec93c772f2830f7218fbde58bc2___void___.0
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x34], eax
push 0
push 0
push eax
mov byte [ebp - 4], 1
call fcn.004e82f9
mov ecx, dword [ebp - 0x34]
add esp, 0xc
test ecx, ecx
je 0x42b776
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42b7a6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b79c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b7c4
push edx
push ecx
call fcn.00447f19
add esp, 8
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.00447f77
mov esp, ebp
pop ebp
ret 0xc
call fcn.0051b084
int3
Function at 0x42f8e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
jb 0x42f8fe
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x42f924
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x42f910
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
and eax, edx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 4]
mov dword [ebp + 0xc], edx
mov esi, dword [ecx + eax*8]
add eax, eax
mov edi, dword [ecx + eax*4]
inc eax
mov dword [ebp - 8], edi
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], eax
cmp edi, edx
jne 0x42f94f
mov eax, edx
jmp 0x42f953
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x42fa03
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x42f965
mov edx, dword [ebx]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x42f971
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x18]
cmp edi, dword [ebx + 0x10]
jne 0x42f9d0
sub edi, 4
jb 0x42f991
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42f996
add ecx, 4
add edx, 4
sub edi, 4
jae 0x42f980
cmp edi, 0xfffffffc
je 0x42f9ca
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x42f9c3
cmp edi, 0xfffffffd
je 0x42f9ca
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x42f9c3
cmp edi, 0xfffffffe
je 0x42f9ca
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42f9c3
cmp edi, 0xffffffff
je 0x42f9ca
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42f9ca
sbb eax, eax
or eax, 1
jmp 0x42f9cc
xor eax, eax
test eax, eax
je 0x42f9e0
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x42f947
mov ecx, dword [ebp - 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.0042b7d0
mov ecx, dword [ebp + 0xc]
test al, al
mov eax, dword [ebp + 8]
pop edi
cmove ecx, esi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x43b970
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68980b
mov eax, dword fs:[0]
push eax
sub esp, 0x7e0
mov eax, dword [0x732694]
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
push 0x7d8
lea eax, [ebp - 0x7e8]
push 0
push eax
call fcn.00517830
add esp, 0xc
lea ecx, [ebp - 0x7e8]
call fcn.0042ac50
push dword [ebp - 0x7ec]
mov esi, dword [edi + 4]
lea eax, [ebp - 0x7c8]
push eax
push 0x732390
push 0x732008
push 0x7408a4
mov dword [ebp - 4], 0
call fcn.00424eb0
add esp, 0x14
movzx eax, ax
lea ecx, [ebp - 0x7e8]
push 0
push eax
push 0
push 0
push 0x96c80000
push 0x69848c
push 0
push esi
call fcn.00425c50
push dword [edi + 4]
lea ecx, [ebp - 0x7e4]
call fcn.00425a20
push 4
push dword [ebp - 0x7e4]
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, 1
mov edi, eax
push ebx
push dword [ebp - 0x7e4]
mov dword [ebp - 0x7ec], edi
xor esi, esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp - 0x7e4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43bb3c
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
nop dword [eax + eax]
test ebx, ebx
je 0x43ba97
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
call edi
test eax, eax
jne 0x43ba97
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
push esi
call dword [eax + 8]
inc esi
test eax, eax
jne 0x43ba74
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x43bb22
test eax, eax
je 0x43bb36
cmp dword [ebp - 0x34], 0x10
jne 0x43badf
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x7e4]
jne 0x43badf
push 1
push dword [ebp - 0x7ec]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp - 0x7ec]
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
call dword [eax + 4]
test eax, eax
jne 0x43bb04
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x34], 0x12
je 0x43bb36
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
call dword [eax + 0xc]
test eax, eax
je 0x43bb22
mov ebx, 1
xor esi, esi
push dword [ebp - 0x7e4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x43ba70
mov edi, dword [ebp - 0x7ec]
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x34], 0x12
jne 0x43bb5b
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 0x7e8]
call fcn.0042b1a0
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.00447f77
mov esp, ebp
pop ebp
ret
Function at 0x43f640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a218
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x732694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x7403e0]
call fcn.00459520
push 4
call fcn.00459950
add esp, 8
push 0x699130
push 0x66
push dword [0x7403e0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x43f6d1
push esi
call fcn.00451510
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43f6ca
push esi
call fcn.00451510
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x43f6ca
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.00459960
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x404700
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0xffffffffffffffff
push str.CImageAnimUI
call fcn.0044b130
mov dword [ebp - 4], 0
call fcn.00469240
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00469310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a546
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], 0
push 0x404
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.00517830
add esp, 0xc
mov dword [ebp - 0x420], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x42c], esi
test esi, esi
jne 0x442eac
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x42c], eax
test esi, esi
jne 0x442eac
call fcn.00441b30
mov edi, eax
jmp 0x442fc8
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x442ecf
call fcn.00441b30
jmp 0x442fbb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x442eed
call fcn.00441b30
jmp 0x442fbb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x442f0e
mov edi, 0x8007000e
jmp 0x442fbd
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x443001
jb 0x442f2c
cmp eax, 0xffffffff
ja 0x443001
cmp eax, 0x400
jbe 0x442f41
push eax
lea ecx, [ebp - 0x420]
call fcn.00441a50
jmp 0x442f67
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], eax
jmp 0x442f67
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
jne 0x442f7e
mov edi, 0x8007000e
jmp 0x442fbd
push edi
push dword [ebp - 0x420]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x442f9e
call fcn.00441b30
jmp 0x442fbb
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.00442c50
mov edi, eax
test esi, esi
je 0x442fc8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x442fe1
lea ecx, [ebp - 0x420]
call fcn.00441da0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00447f77
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.0041d3c0
int3
Function at 0x44d140
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x121], 0
mov dword [ebp - 0x120], 0x11c
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.00517830
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0044d080
add esp, 0xc
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x128], 0xa
jb 0x44d1da
mov byte [ebp - 0x121], 1
jmp 0x44d1fc
cmp dword [ebp - 0x128], 6
jne 0x44d1fc
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x44d1fc
cmp dword [ebp - 0x12c], 3
jb 0x44d1fc
mov byte [ebp - 0x121], 1
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f77
mov esp, ebp
pop ebp
ret
Function at 0x451bf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x451c11
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x451c29
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x451c41
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x451c57
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x451c6f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x459130
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa8]
je 0x45916e
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x45916e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x108]
jne 0x459181
jmp 0x4592f5
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x459213
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x14c]
call edx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x459206
push 0
push 0
push 0
push str.killfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
mov ecx, dword [ebp - 4]
call fcn.00458b90
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x45921e
jmp 0x4592f5
cmp dword [ebp + 8], 0
je 0x4592f5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x4592f5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
je 0x4592f5
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x114]
call edx
movzx eax, al
test eax, eax
je 0x4592f5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x108], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x14c]
call edx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4592f5
push 0
push 0
push 0
push str.setfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
mov ecx, dword [ebp - 4]
call fcn.00458b90
mov esp, ebp
pop ebp
ret 8
Function at 0x45fb90
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x45fbc4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45fbc4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x45fbd3
jmp 0x45fd3c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax]
test ecx, ecx
je 0x45fc2e
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x45fc11
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x45fc1d
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x45fbe8
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x45fcbe
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.00516d30
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 0x208
jae 0x45fc87
jmp 0x45fc8c
call fcn.004487e1
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045fb90
add esp, 8
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x208
jae 0x45fcda
jmp 0x45fcdf
call fcn.004487e1
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x45fd08
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0052f0c8
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.0052f057
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45fd3c
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f77
mov esp, ebp
pop ebp
ret
Function at 0x460a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x460a9a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x460aa4
mov eax, 0x1000000
jmp 0x460b8e
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.0052f0ea
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x460b02
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x460b02
push 0x693250
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.0052f057
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x460b46
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x460b2a
mov dword [ebp - 0x10], 1
jmp 0x460b31
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x460b46
mov eax, 0x2000000
jmp 0x460b8e
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00465c50
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x460b6c
mov eax, dword [ebp - 0x1c]
jmp 0x460b8e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00466940
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x460b8c
mov eax, 0x200
jmp 0x460b8e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4614e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x69edc8]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x69edc8]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x465de0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x465e2f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x465e25
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x465e89
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x465e4f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00516d30
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret