joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c870
Capabilities:
Create thread
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6758d8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x71506c]
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 dword [ebp - 0x54], ecx
call fcn.0041e430
add eax, 0x30
lea ecx, [ebp - 0x50]
push eax
call fcn.00405f50
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
jbe 0x41c8f4
sub esp, 0x18
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], esp
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405f50
push esi
call fcn.004d08fb
add esp, 0x20
mov byte [ebp - 4], 1
call fcn.00418b40
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.004d296f
push 0x34
call fcn.0042fcd5
mov ebx, eax
add esp, 4
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xf
mov byte [ebx + 4], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
call fcn.00418b40
mov ecx, eax
call fcn.004d263a
mov byte [ebx], al
call fcn.0041e430
add eax, 0x48
lea ecx, [ebp - 0x28]
push eax
call fcn.00405f50
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 4]
call fcn.00405e30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41c983
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c979
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ca88
push edx
push ecx
call fcn.00430080
add esp, 8
call fcn.0041e430
add eax, 0x30
lea ecx, [ebp - 0x28]
push eax
call fcn.00405f50
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x1c]
call fcn.00405e30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41c9d4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c9ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ca8d
push edx
push ecx
call fcn.00430080
add esp, 8
mov esi, dword [ebp - 0x54]
add esi, 0x14
cmp dword [esi + 4], 0
jne 0x41ca04
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 0
push 0x402090
mov dword [esi + 8], eax
call fcn.0050bee1
add esp, 0xc
mov dword [esi + 4], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_c7b59f5ba0f36f6b31f2e8e11bd87682___void__void__.0
mov dword [ebp - 0x14], eax
push eax
push ebx
push 0x64
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00402170
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41ca3c
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x41ca6c
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ca62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ca92
push edx
push ecx
call fcn.00430080
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.0042fa05
mov esp, ebp
pop ebp
ret
call fcn.0050c210
call fcn.0050c210
call fcn.0050c210
int3
Function at 0x421910
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x71506c]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00421860
mov esi, eax
test esi, esi
jne 0x421a07
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x4219d9
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00421910
mov esi, eax
test esi, esi
jne 0x421a07
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x4219a0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4219f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.00421780
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x421a16
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0042fa05
mov esp, ebp
pop ebp
ret 4
Function at 0x421e90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676176
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x71506c]
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 - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x421f3c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x421f3c
call fcn.00421560
mov edi, eax
jmp 0x42205b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x421f5f
call fcn.00421560
jmp 0x42204e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x421f7d
call fcn.00421560
jmp 0x42204e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x421f9e
mov edi, 0x8007000e
jmp 0x422050
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x422094
jb 0x421fbc
cmp eax, 0xffffffff
ja 0x422094
cmp eax, 0x400
jbe 0x421fd1
push eax
lea ecx, [ebp - 0x418]
call fcn.00424820
jmp 0x421ff7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x421ff7
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x42200e
mov edi, 0x8007000e
jmp 0x422050
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x42202e
call fcn.00421560
jmp 0x42204e
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.00422c60
mov edi, eax
test esi, esi
je 0x42205b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x422074
lea ecx, [ebp - 0x418]
call fcn.00424810
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.0042fa05
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.0040c000
int3
Function at 0x424d00
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676438
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x71506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x3a8
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x5c], esi
call fcn.0041e430
push eax
mov ecx, esi
call fcn.00408200
lea eax, [ebp - 0x28]
push eax
call fcn.004d0c7c
add esp, 0x20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x424d61
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.othpkgstartexename_s
push eax
call fcn.004cff1a
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x424dab
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424da1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424f27
push edx
push ecx
call fcn.00430080
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x40]
push eax
push str.hget
push ecx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00418a70
mov ecx, eax
call fcn.00405800
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x14], 0x10
jb 0x424de9
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x424edc
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x14], 0x10
jb 0x424e06
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
test eax, eax
je 0x424e8d
push str..exe
push eax
call fcn.0051ae18
add esp, 8
test eax, eax
jne 0x424e8d
push eax
push eax
mov eax, dword [edi + 0x14]
push 0x3a8
sub esp, 0x18
mov ecx, esp
push dword [eax + 0x34]
call fcn.00405f50
lea eax, [ebp - 0x58]
push eax
call fcn.004d08fb
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x424e52
mov eax, dword [eax]
push eax
call fcn.004d7a87
add esp, 0xc
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x424edc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424ed2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424f2c
jmp 0x424ed2
mov eax, dword [edi + 0x14]
push 5
push 0x6fad94
push 0x6fad94
push 0x3a8
sub esp, 0x18
mov ecx, esp
push dword [eax + 0x34]
call fcn.00405f50
lea eax, [ebp - 0x58]
push eax
call fcn.004d08fb
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x424ec2
mov eax, dword [eax]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x424e5b
push edx
push ecx
call fcn.00430080
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x424f0c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424f02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424f2c
push edx
push ecx
call fcn.00430080
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fa05
mov esp, ebp
pop ebp
ret
call fcn.0050c210
call fcn.0050c210
int3
Function at 0x436b30
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 0x436b51
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 0x436b69
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 0x436b81
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 0x436b97
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 0x436baf
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 0x43e2b0
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 0x43e2ee
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x43e2ee
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 0x43e301
jmp 0x43e475
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x43e393
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 0x43e386
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.0043dbc0
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x43e39e
jmp 0x43e475
cmp dword [ebp + 8], 0
je 0x43e475
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 0x43e475
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 0x43e475
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 0x43e475
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 0x43e475
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.0043dbc0
mov esp, ebp
pop ebp
ret 8
Function at 0x43fa70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x71506c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x43faa4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43faa4
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 0x43fab3
jmp 0x43fc1c
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 0x43fb0e
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x43faf1
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x43fafd
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x43fac8
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x43fb9e
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.005085e0
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 0x43fb67
jmp 0x43fb6c
call fcn.004301e0
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.0043fa70
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 0x43fbba
jmp 0x43fbbf
call fcn.004301e0
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x43fbe8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0051c79a
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.0051c769
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43fc1c
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.0042fa05
mov esp, ebp
pop ebp
ret
Function at 0x440960
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 0x44097a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x440984
mov eax, 0x1000000
jmp 0x440a6e
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.0051c7bc
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 0x4409e2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x4409e2
push 0x6fc038
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.0051c769
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x440a26
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 0x440a0a
mov dword [ebp - 0x10], 1
jmp 0x440a11
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x440a26
mov eax, 0x2000000
jmp 0x440a6e
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.00445b30
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x440a4c
mov eax, dword [ebp - 0x1c]
jmp 0x440a6e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00446820
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x440a6c
mov eax, 0x200
jmp 0x440a6e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4413c0
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 + 0x683398]
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 + 0x683398]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x445cc0
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 0x445d0f
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 0x445d05
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x445d69
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 0x445d2f
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.005085e0
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
Function at 0x445fc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x445fd0
xor eax, eax
jmp 0x44616d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x44612e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x683398]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x683398]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x683398]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x683398]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x683398]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x683398]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x683398]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x683398]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x445fd9
cmp dword [ebp + 0x10], 0
je 0x446167
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x683398]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x446134
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret