joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42eb00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x4db06c]
xor eax, esp
mov dword [esp + 0x228], eax
movaps xmm0, xmmword [0x4d0da0]
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [esp + 0x14]
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
movups xmmword [esp + 0x18], xmm0
nop
mov eax, dword [ebx]
mov dword [esi], eax
cmp eax, 3
jne 0x42eb56
call fcn.004674c0
test eax, eax
je 0x42ebd9
push dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.0042e9d0
add esp, 4
test eax, eax
jne 0x42ec92
mov edx, dword [esi]
lea ecx, [esp + 0x28]
call fcn.0042e6a0
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL30.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x42ebd5
cmp esi, 0xffffffff
je 0x42ebc5
push 0
push edi
push dword [edi]
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL30.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL30.dll_CloseHandle]
test edi, edi
jne 0x42ec92
mov edi, dword [esp + 0x14]
jmp 0x42ebd5
test esi, esi
je 0x42ebd5
cmp esi, 0xffffffff
je 0x42ebd5
push esi
call dword [sym.imp.KERNEL30.dll_CloseHandle]
mov esi, dword [esp + 0xc]
add ebx, 4
lea eax, [esp + 0x28]
cmp ebx, eax
jne 0x42eb40
mov ebx, dword [esp + 0x10]
mov edx, edi
push 1
push 0
mov ecx, ebx
mov dword [esi], 1
call fcn.0042e850
add esp, 8
test eax, eax
jne 0x42ec92
xor edx, edx
mov dword [esi], eax
lea ecx, [esp + 0x28]
call fcn.0042e6a0
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL30.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x42ec79
cmp esi, 0xffffffff
je 0x42ec69
push 0
push edi
push dword [edi]
push ebx
push esi
call dword [sym.imp.KERNEL30.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL30.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00487555
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x42ec79
cmp esi, 0xffffffff
je 0x42ec79
push esi
call dword [sym.imp.KERNEL30.dll_CloseHandle]
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00487555
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x234]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00487555
mov esp, ebp
pop ebp
ret
Function at 0x42ecb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x4db06c]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov dword [esp + 0xc], edx
mov edi, ecx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x10]
call fcn.0042e6a0
sub esp, 0x14
lea ecx, [esp + 0x24]
call fcn.00460a70
mov esi, eax
add esp, 0x14
test esi, esi
je 0x42ed18
cmp esi, 0xffffffff
je 0x42ed18
lea ecx, [esp + 0x10]
call fcn.0042e060
push 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push edi
push esi
call dword [sym.imp.KERNEL30.dll_WriteFile]
mov edi, eax
jmp 0x42ed1a
xor edi, edi
test esi, esi
je 0x42ed2a
cmp esi, 0xffffffff
je 0x42ed2a
push esi
call dword [sym.imp.KERNEL30.dll_CloseHandle]
mov ecx, dword [esp + 0x21c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00487555
mov esp, ebp
pop ebp
ret
Function at 0x42fbb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a70c6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4db06c]
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 0
push 0
lea ecx, [ebp - 0x24c]
call fcn.0046a0e0
push 4
lea edx, [ebp - 0x24c]
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.0042f890
add esp, 4
test eax, eax
jne 0x42fc13
xor esi, esi
jmp 0x42fcd6
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 4
lea edx, [ebp - 0x224]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0042f110
mov esi, dword [ebp - 0x220]
add esp, 4
mov ebx, dword [ebp - 0x224]
mov edx, esi
mov ecx, ebx
push 4
call fcn.0042efe0
add esp, 4
test eax, eax
je 0x42fcff
mov edx, 4
lea ecx, [ebp - 0x218]
call fcn.0042e6a0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL30.dll_DeleteFileW]
mov esi, 1
push ebx
mov byte [ebp - 4], 0
call fcn.00491111
add esp, 4
test esi, esi
je 0x42fcd6
mov edx, 2
mov ecx, edi
call fcn.0042fa30
call fcn.004674c0
test eax, eax
je 0x42fcc1
mov edx, 3
mov ecx, edi
call fcn.0042fa30
xor edx, edx
mov ecx, edi
call fcn.0042fa30
mov edx, 1
mov ecx, edi
call fcn.0042fa30
lea ecx, [ebp - 0x24c]
call fcn.0046a170
mov eax, esi
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.00487555
mov esp, ebp
pop ebp
ret
push 4
mov edx, esi
mov ecx, ebx
call fcn.0042ecb0
add esp, 4
test eax, eax
jne 0x42fc8a
xor esi, esi
jmp 0x42fc8f

Function at 0x431f30
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push ecx
mov edi, edx
call dword [sym.imp.KERNEL30.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x431f60
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push eax
lea esi, [ebp - 4]
call dword [sym.imp.KERNEL30.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x431fb9
add eax, 2
mov ecx, edi
push eax
call fcn.0040e1d0
test eax, eax
je 0x431fb9
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [edi]
push dword [ebp - 4]
call dword [sym.imp.KERNEL30.dll_ReadFile]
test eax, eax
jne 0x431fcb
push dword [edi]
call fcn.00491111
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push dword [esi]
xor edi, edi
call dword [sym.imp.KERNEL30.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
cmp ecx, dword [edi + 4]
jbe 0x431fd4
int3
mov eax, dword [edi]
xor edx, edx
mov dword [edi + 8], ecx
mov word [eax + ecx], dx
lea edi, [edx + 1]
push dword [esi]
call dword [sym.imp.KERNEL30.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x435b70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a78b8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4db06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x1c30]
test ecx, ecx
je 0x435bbc
mov eax, dword [ebx + 0x1c48]
lea eax, [eax + eax*4]
cmp dword [ecx + eax*4 + 0xc], 7
jne 0x435bbc
mov ecx, dword [ebx + 0x1ad4]
jmp 0x435bc2
mov ecx, dword [ebx + 0x1acc]
mov eax, dword [ebp + 8]
lea eax, [ecx + eax*4]
mov dword [ebp + 8], eax
mov eax, dword [eax]
test eax, eax
je 0x435d38
cmp word [eax], 0
je 0x435d38
push 0x2710
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.THashTblT_unsigned_int_.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x30], 0x2710
call fcn.0041b900
mov dword [ebp - 0x38], vtable.PathArray.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x11
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edi, 0x4c1430
test al, 1
je 0x435cac
mov eax, dword [ebx + 0x3a04]
lea ecx, [ebx + 0x3a04]
call dword [eax + 0x180]
lea ecx, [ebp - 0x18]
lea esi, [eax + 1]
push esi
call fcn.00411e30
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x3a04]
mov edx, dword [ebx + 0x3a04]
push esi
mov esi, dword [ebp - 0x18]
push esi
mov dword [ebp - 0x14], 0xffffffff
call dword [edx + 0x170]
test esi, esi
lea ecx, [ebp - 0x38]
mov eax, edi
cmovne eax, esi
push 0x4c1dbc
push eax
call fcn.0045b6c0
mov byte [ebp - 4], 0
test esi, esi
je 0x435cac
push esi
call fcn.00487954
add esp, 4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
push 0x4caa70
push dword [eax]
call fcn.0045b6c0
cmp dword [ebp - 0x24], 0
jle 0x435d30
push 1
push 0x4c1430
push 0x4c1dbc
lea ecx, [ebp - 0x38]
call fcn.0045b8f0
mov esi, eax
lea ecx, [ebp - 0x18]
push esi
call fcn.00411e30
push 1
push 0x4c1430
push 0x4c1dbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
push esi
mov esi, dword [ebp - 0x18]
push esi
mov dword [ebp - 0x14], 0xffffffff
call fcn.0045b730
test eax, eax
je 0x435d23
mov eax, dword [ebx + 0x3a04]
lea ecx, [ebx + 0x3a04]
test esi, esi
cmovne edi, esi
push edi
call dword [eax + 0x178]
test esi, esi
je 0x435d30
push esi
call fcn.00487954
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.0045b530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x436940
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x22fc]
cmp dword [0x4de6b8], ebx
je 0x436a4c
mov eax, dword [edi + 0x70]
neg ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
sbb ebx, ebx
and ebx, 5
push ebx
push dword [eax + 0x52c]
call esi
mov eax, dword [edi + 0x70]
push ebx
push dword [eax + 0x558]
call esi
mov eax, dword [edi + 0x70]
push ebx
push dword [eax + 0x584]
call esi
mov eax, dword [edi + 0x70]
push ebx
push dword [eax + 0x5b0]
call esi
mov eax, dword [edi + 0x70]
push ebx
push dword [eax + 0x5dc]
call esi
mov eax, dword [edi + 0x70]
push ebx
push dword [eax + 0x608]
call esi
mov eax, dword [edi + 0x70]
push ebx
push dword [eax + 0x634]
call esi
mov eax, dword [edi + 0x70]
push ebx
push dword [eax + 0x660]
call esi
mov eax, dword [edi]
lea esi, [edi + 0x10]
push esi
mov ecx, edi
call dword [eax + 0x158]
mov ecx, dword [edi + 0x2358]
mov eax, ecx
mov edx, dword [edi + 0x14]
neg eax
cmp dword [edi + 0x22fc], 0
mov ebx, dword [esi]
mov esi, dword [esi + 8]
cmove ecx, eax
add ecx, dword [edi + 0x1c]
sub esi, ebx
mov edi, dword [edi]
sub ecx, edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
call dword [edi + 0x11c]
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0xc]
push ebx
mov ebx, dword [ebp - 4]
mov ecx, ebx
call dword [edi + 0x1b8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
test eax, eax
je 0x436a3a
push 0
mov ecx, ebx
call fcn.00435fd0
mov eax, dword [ebx + 0x22fc]
mov ecx, ebx
mov dword [0x4de6b8], eax
call fcn.0043db10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43aac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xefc], 0
jne 0x43abcb
cmp dword [esi + 0xf00], 0
jne 0x43abcb
mov ecx, dword [esi + 0x1c30]
test ecx, ecx
je 0x43ab12
mov eax, dword [esi + 0x1c48]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 + 0xc]
cmp eax, 8
je 0x43ab0b
cmp eax, 9
je 0x43ab0b
cmp eax, 0xa
jne 0x43ab12
mov ebx, 1
jmp 0x43ab14
xor ebx, ebx
test ecx, ecx
je 0x43ab2f
mov eax, dword [esi + 0x1c48]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 + 0xc]
cmp eax, 7
je 0x43ab43
cmp eax, 0xb
je 0x43ab43
test ebx, ebx
jne 0x43ab43
mov ecx, esi
call fcn.00434d90
test eax, eax
je 0x43ab43
lea edi, [ebx + 1]
jmp 0x43ab45
xor edi, edi
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x47
and eax, 1
mov dword [ebp - 4], eax
call fcn.0045fe50
cmp dword [ebp - 4], 0
mov ecx, eax
je 0x43ab7c
test edi, edi
je 0x43ab7c
push ecx
push str._sV
call fcn.00463290
add esp, 8
mov ecx, eax
mov eax, dword [esi + 0x3ccc]
add esi, 0x3ccc
push ecx
mov ecx, esi
mov dword [ebp - 8], esi
call dword [eax + 0x178]
cmp dword [ebp - 4], 0
je 0x43aba3
mov ecx, 0xa5
test edi, edi
jne 0x43abaa
lea ecx, [ebx*8 + 0xa4]
mov esi, dword [esi]
push 0
push 0
call fcn.0045fe50
mov ecx, dword [ebp - 8]
push eax
call dword [esi + 0x1f4]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43af90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1088
call fcn.004887b0
mov eax, dword [0x4db06c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x3c
lea eax, [ebp - 0x1088]
mov esi, ecx
push 0
push eax
call fcn.0048b570
mov eax, dword [esi + 0x1af4]
add esp, 0xc
test eax, eax
mov edx, 0x4cacc0
mov ecx, 0x4c1430
cmovne edx, eax
mov eax, dword [esi + 0x1be8]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x104c]
push ecx
push edx
push dword [esi + 0x1af0]
push dword [ebp + 8]
push dword [esi + 0x48]
push 0x4cacc4
push 0x820
push eax
call fcn.00462ec0
add esp, 0x20
mov dword [ebp - 0x1088], 0x3c
mov dword [ebp - 0x107c], str.runas
call fcn.00461940
mov dword [ebp - 0x1078], eax
call fcn.00461c00
mov dword [ebp - 0x1070], eax
mov ecx, esi
lea eax, [ebp - 0x104c]
mov dword [ebp - 0x106c], 1
mov dword [ebp - 0x1074], eax
mov eax, dword [esi]
push 0
call dword [eax + 0x120]
lea eax, [ebp - 0x1088]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esi + 0x2330], eax
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax + 0x120]
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0x2330]
xor ecx, ebp
pop esi
call fcn.00487555
mov esp, ebp
pop ebp
ret 4
Function at 0x43d8f0
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
cmp esi, 7
push edi
sete al
mov edi, ecx
mov dword [ebp + 8], eax
cmp esi, 9
je 0x43d914
cmp esi, 0xa
je 0x43d914
xor ebx, ebx
jmp 0x43d919
mov ebx, 1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, 7
je 0x43d92f
test ebx, ebx
jne 0x43d92f
lea eax, [ebx + 1]
jmp 0x43d931
xor eax, eax
push eax
mov eax, dword [edi]
mov ecx, edi
push 0xbb9
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, 7
je 0x43d956
test ebx, ebx
jne 0x43d956
lea eax, [ebx + 1]
jmp 0x43d958
xor eax, eax
push eax
mov eax, dword [edi]
mov ecx, edi
push 0xbbb
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, 7
je 0x43d987
cmp esi, 0xb
je 0x43d987
test ebx, ebx
jne 0x43d987
cmp esi, 8
je 0x43d987
lea eax, [ebx + 5]
jmp 0x43d989
xor eax, eax
push eax
mov eax, dword [edi]
mov ecx, edi
push 0xbf7
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, 7
je 0x43d9b8
cmp esi, 0xb
je 0x43d9b8
test ebx, ebx
jne 0x43d9b8
cmp esi, 8
je 0x43d9b8
lea eax, [ebx + 5]
jmp 0x43d9ba
xor eax, eax
push eax
mov eax, dword [edi]
mov ecx, edi
push 0xc07
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, 7
je 0x43d9e9
cmp esi, 0xb
je 0x43d9e9
test ebx, ebx
jne 0x43d9e9
cmp esi, 8
je 0x43d9e9
lea eax, [ebx + 1]
jmp 0x43d9eb
xor eax, eax
push eax
mov eax, dword [edi]
mov ecx, edi
push 0xbff
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, 7
je 0x43da1a
cmp esi, 0xb
je 0x43da1a
test ebx, ebx
jne 0x43da1a
cmp esi, 8
je 0x43da1a
lea eax, [ebx + 1]
jmp 0x43da1c
xor eax, eax
push eax
mov eax, dword [edi]
mov ecx, edi
push 0xc00
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
push 0xc01
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, 7
je 0x43da64
cmp esi, 0xb
je 0x43da64
test ebx, ebx
jne 0x43da64
cmp esi, 8
je 0x43da64
lea eax, [ebx + 5]
jmp 0x43da66
xor eax, eax
push eax
mov eax, dword [edi]
mov ecx, edi
push 0xbff
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, 7
je 0x43da95
cmp esi, 0xb
je 0x43da95
test ebx, ebx
jne 0x43da95
cmp esi, 8
je 0x43da95
lea eax, [ebx + 5]
jmp 0x43da97
xor eax, eax
push eax
mov eax, dword [edi]
mov ecx, edi
push 0xc00
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, 5
cmp esi, 7
cmove eax, ecx
mov ecx, edi
push eax
mov eax, dword [edi]
push 0xc01
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
jne 0x43dae0
cmp esi, 8
je 0x43dae0
lea eax, [ebx + 5]
jmp 0x43dae2
xor eax, eax
push eax
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x110]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, edi
call fcn.00436a60
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x441290
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7d18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4db06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x10000
call fcn.00487989
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4412df
push 0x10000
push 0
push ebx
call fcn.0048b570
add esp, 0xc
jmp 0x4412e1
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push 0x10000
mov dword [ebp - 4], 0
call fcn.00487989
mov esi, eax
add esp, 4
test esi, esi
je 0x441310
push 0x10000
push 0
push esi
call fcn.0048b570
add esp, 0xc
jmp 0x441312
xor esi, esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov ecx, dword [edi]
push 0x8000
push ebx
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xec]
push 0x2710
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], vtable.THashTblT_unsigned_int_.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x2c], 0x2710
call fcn.0041b900
mov dword [ebp - 0x34], vtable.PathArray.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x4c1dbc
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0045b6c0
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp eax, 1
jl 0x441414
test eax, eax
jle 0x4413a6
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
jmp 0x4413a8
xor eax, eax
push eax
call ecx
cmp eax, 0xffffffff
je 0x4413ed
test al, 0x10
je 0x4413ed
cmp dword [ebp - 0x20], 0
jle 0x4413c4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
jmp 0x4413c6
xor eax, eax
mov ecx, esi
mov edx, 0x7fff
nop dword [eax]
movzx edi, word [eax]
test di, di
je 0x4413e6
mov word [ecx], di
dec edx
add ecx, 2
add eax, 2
test edx, edx
jg 0x4413d0
xor eax, eax
mov word [ecx], ax
jmp 0x44140e
cmp dword [ebp - 0x20], 0
jle 0x4413fd
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
jmp 0x4413ff
xor ecx, ecx
push 0x8000
mov edx, esi
call fcn.00464c30
add esp, 4
mov ecx, dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp word [esi], 0
je 0x441422
push esi
call ecx
cmp eax, 0xffffffff
jne 0x441431
mov eax, dword [0x4c1a6c]
mov dword [esi], eax
mov eax, dword [0x4c1a70]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.00461210
lea ecx, [ebp - 0x34]
call fcn.0045b530
push esi
call fcn.00487954
add esp, 4
test ebx, ebx
je 0x441456
push ebx
call fcn.00487954
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x443500
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x443573
cmp ecx, eax
jne 0x44356b
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x44357b
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x44357b
cmp ecx, eax
jne 0x44357b
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.00487923
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8
Function at 0x444210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
push 2
push 0
push 0
mov eax, dword [edi + 0x2648]
push dword [edi + 0x23ac]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL30.dll_SetFilePointer]
mov eax, dword [edi + 0x2648]
mov ecx, dword [eax]
test ecx, ecx
je 0x444251
call fcn.00463750
mov esi, eax
test esi, esi
je 0x444253
mov ecx, esi
jmp 0x444258
xor esi, esi
mov ecx, 0x4c1430
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444260
sub ecx, edx
mov eax, 0x4c1430
push 0
lea edx, [ebp - 4]
test esi, esi
push edx
push ecx
cmovne eax, esi
push eax
push dword [edi + 0x23ac]
call dword [sym.imp.KERNEL30.dll_WriteFile]
mov eax, dword [edi + 0x2648]
mov dword [eax + 8], 0
mov eax, dword [edi + 0x2648]
mov eax, dword [eax]
test eax, eax
je 0x4442a5
xor ecx, ecx
mov word [eax], cx
test esi, esi
je 0x4442b2
push esi
call fcn.00487954
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4442c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6708
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4db06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x2344], 0
jne 0x444307
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x2640]
mov dword [ebp - 0x14], 0xffffffff
mov ecx, dword [eax]
test ecx, ecx
je 0x444323
call fcn.00463750
mov esi, eax
jmp 0x444325
xor esi, esi
mov dword [ebp - 0x18], esi
mov ebx, 0x4c1430
mov dword [ebp - 4], 0
test esi, esi
mov ecx, ebx
cmovne ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444340
sub ecx, edx
mov eax, ebx
push 0
lea edx, [ebp - 0x10]
test esi, esi
push edx
push ecx
cmovne eax, esi
push eax
push dword [edi + 0x23a4]
call dword [sym.imp.KERNEL30.dll_WriteFile]
cmp dword [edi + 0x2304], 3
jl 0x444381
test esi, esi
cmovne ebx, esi
push ebx
push 0x4cbedc
push edi
call fcn.00444c90
add esp, 0xc
test esi, esi
je 0x44438e
push esi
call fcn.00487954
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4443b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x23a4], 0xffffffff
jne 0x44440d
cmp dword [esi + 0x22d8], 0
je 0x44440d
push 0xffffffffffffffff
push dword [esi + 0x23a8]
call dword [sym.imp.KERNEL30.dll_WaitForSingleObject]
push 0
push 0
push 4
push 0
push 3
push 0x40000000
lea eax, [esi + 0x1cc0]
push eax
call dword [sym.imp.KERNEL30.dll_CreateFileW]
mov dword [esi + 0x23a4], eax
cmp eax, 0xffffffff
jne 0x44440d
push dword [esi + 0x23a8]
call dword [sym.imp.KERNEL30.dll_ReleaseMutex]
lea eax, [esi + 0x2378]
push eax
call dword [sym.imp.KERNEL30.dll_GetLocalTime]
xor eax, eax
mov ecx, esi
cmp dword [esi + 0x2304], 3
setge al
push eax
push eax
push dword [esi + 0x23a4]
call fcn.00444870
cmp dword [esi + 0x2344], 0
jne 0x4444a5
cmp dword [esi + 0x2640], 0
jne 0x444467
lea eax, [esi + 0xd30]
mov dword [esi + 0x2640], eax
mov eax, dword [eax + 8]
mov dword [esi + 0x2344], eax
test eax, eax
je 0x444467
mov ecx, esi
call fcn.004442c0
push 0
lea eax, [esp + 8]
mov dword [esp + 8], 0x14
push eax
push 0x14
push str.Initialize_Error_r_n_r_n
push dword [esi + 0x23a4]
call dword [sym.imp.KERNEL30.dll_WriteFile]
cmp dword [esi + 0x2304], 3
jl 0x4444a5
push str.Initialize_Error_r_n_r_n
push 0x4cbedc
push esi
call fcn.00444c90
add esp, 0xc
mov eax, dword [esi + 0x23a4]
cmp eax, 0xffffffff
je 0x4444cd
push eax
call dword [sym.imp.KERNEL30.dll_CloseHandle]
push dword [esi + 0x23a8]
mov dword [esi + 0x23a4], 0xffffffff
call dword [sym.imp.KERNEL30.dll_ReleaseMutex]
pop esi
mov esp, ebp
pop ebp
ret