joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45be70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b230
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5f5ea4]
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, ecx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 0xc]
mov esi, edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x14], 8
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x20], ecx
jb 0x45bec3
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x45bee4
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x45bed0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and ecx, edx
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
lea eax, [eax + ecx*8]
mov esi, dword [esi + 4]
mov dword [ebp - 0x18], eax
cmp dword [eax], esi
je 0x45bf04
mov esi, dword [eax + 4]
mov esi, dword [esi]
mov ebx, dword [edi + 0x10]
cmp esi, dword [eax]
je 0x45bf82
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
jb 0x45bf1c
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x45bf26
mov ecx, dword [edi]
cmp ebx, eax
mov eax, dword [ebp - 0x18]
jne 0x45bf07
push ebx
call fcn.004542e0
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x45bf07
mov edi, dword [ebp + 0x10]
push edi
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov edx, dword [edi]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [eax + 8]
call fcn.0044c0f0
mov eax, dword [ebp - 0x20]
mov dword [eax], esi
mov byte [eax + 4], 0
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.005368a5
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x45bfaf
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
push esi
push edi
call fcn.0045bc70
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0045bbd0
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x45bf64
Function at 0x45c160
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x5f5ea4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x24], edi
cmp edi, 0xffffffff
je 0x45c378
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x45c371
mov esi, dword [esp + 0x28]
mov eax, esi
or eax, dword [esp + 0x2c]
je 0x45c371
push esi
call fcn.0055a17a
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x45c371
push esi
push 0
push ebx
call fcn.0054e940
add esp, 0xc
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
push 0
push eax
push dword [esp + 0x30]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45c371
mov ecx, dword [esp + 0x28]
xor edx, edx
cmp dword [esp + 0x38], ecx
jne 0x45c371
mov eax, dword [esp + 0x2c]
cmp edx, eax
jne 0x45c371
mov dword [esp + 0x14], edx
mov edi, ebx
test eax, eax
jl 0x45c244
jg 0x45c237
cmp ecx, 2
jbe 0x45c244
mov eax, 0xfeff
cmp word [ebx], ax
jne 0x45c244
lea edi, [ebx + 2]
push 0x5e11e4
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x45c27e
push eax
push 2
push dword [esp + 0x34]
mov dword [esp + 0x20], 1
push dword [esp + 0x34]
call fcn.00579830
mov ecx, dword [esp + 0x18]
add eax, eax
sub eax, edi
add eax, ebx
jmp 0x45c282
mov eax, ecx
sub eax, edi
sar eax, 1
lea esi, [eax + eax]
test esi, esi
je 0x45c337
cmp esi, 0x4000
ja 0x45c337
lea ecx, [esi + 2]
call fcn.0045c130
mov ebx, eax
test ebx, ebx
je 0x45c344
mov dword [esp + 0x10], 0
cmp dword [esp + 0x10], esi
jae 0x45c2dd
nop dword [eax + eax]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov al, byte [edx + edi]
mov byte [ecx + ebx], al
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], esi
jb 0x45c2c0
shr esi, 1
xor eax, eax
cmp word [ebx + esi*2 - 2], 0xd
jne 0x45c2f0
mov word [ebx + esi*2 - 2], ax
jmp 0x45c2f4
mov word [ebx + esi*2], ax
push 0x10000
call fcn.00536ab6
add esp, 4
mov dword [esp + 0x34], eax
lea ecx, [esi + 1]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
call fcn.0045c790
push ebx
call fcn.0055224a
add esp, 4
cmp dword [esp + 0x14], 0
jne 0x45c344
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edi, ecx
add edi, 2
test ecx, ecx
jne 0x45c244
push dword [esp + 0x1c]
call fcn.0055224a
add esp, 4
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005368a5
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005368a5
mov esp, ebp
pop ebp
ret
Function at 0x45c880
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b26b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5f5ea4]
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 - 0x23c], ecx
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x21c], 0
nop dword [eax]
nop dword [eax + eax]
push 0x248
push 8
push dword [0x5feaf8]
call edi
mov esi, eax
test esi, esi
je 0x45c8d0
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x240], eax
mov ebx, eax
nop dword [eax]
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x21c]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x45c934
cmp dword [ebp - 0x21c], 1
ja 0x45ca30
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov eax, esi
mov dword [ebp - 0x220], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45c956
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
push esi
call fcn.0044b730
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
mov edx, 3
cmovae ecx, dword [ebp - 0x234]
call fcn.0045dca0
mov dword [ebp - 0x238], eax
mov byte [eax + 0x240], 1
mov eax, dword [ebp - 0x23c]
mov edi, dword [eax]
lea eax, [ebp - 0x238]
push eax
mov ebx, dword [edi + 4]
push ebx
push edi
call fcn.0045c860
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx + 4]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x45ca77
lea ecx, [edx + 1]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x23c]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x220]
mov dword [edi + 4], eax
mov dword [ebx], eax
cmp edx, 8
jb 0x45ca2a
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ca20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ca81
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov ebx, dword [ebp - 0x240]
push 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x45c900
push ebx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
push esi
push 0
push dword [0x5feaf8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
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.005368a5
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00533cfe
call fcn.00552581
int3
Function at 0x45d8b0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x5f5ea4]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
push 0
push 0x2000000
push 3
push 0
push 3
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45d8f9
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005368a5
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
call fcn.0055a185
cdq
mov ecx, 3
idiv ecx
mov eax, 0xffff
sub eax, edx
add word [esp + 0xc], ax
call fcn.0055a185
cdq
mov ecx, 0xc
idiv ecx
inc edx
mov word [esp + 0xe], dx
call fcn.0055a185
cdq
mov ecx, 0x1c
idiv ecx
inc edx
mov word [esp + 0x12], dx
call fcn.0055a185
cdq
mov ecx, 0x18
idiv ecx
mov word [esp + 0x14], dx
call fcn.0055a185
cdq
mov esi, 0x3c
idiv esi
mov word [esp + 0x16], dx
call fcn.0055a185
cdq
idiv esi
mov word [esp + 0x18], dx
call fcn.0055a185
cdq
mov ecx, 0x3e8
idiv ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x10]
mov word [esp + 0x1e], dx
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0xffffffff
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.005368a5
mov esp, ebp
pop ebp
ret
Function at 0x45d9f0
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b378
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5f5ea4]
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 edi, edx
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
push edi
push ebx
call fcn.0055e6a7
add esp, 8
test eax, eax
jne 0x45da3a
mov eax, 1
jmp 0x45dbaf
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45dbaf
mov ecx, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45da60
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x20]
call fcn.0045e080
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
sub eax, esi
push edi
sar eax, 1
push eax
push esi
call fcn.0055a116
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp byte [ebp + 8], 0
je 0x45daeb
push 0
push 0x2000000
push 3
push 0
push 3
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
je 0x45daeb
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
test ebx, ebx
jne 0x45db3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x45db7d
mov ecx, edi
call fcn.00470e00
push ebx
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
test ebx, ebx
jne 0x45db3d
mov ecx, esi
call fcn.00470e00
push ebx
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
test ebx, ebx
je 0x45db7d
cmp byte [ebp + 8], 0
je 0x45db7d
push 0
push 0x2000000
push 3
push 0
push 3
push 0x80000100
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45db7d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x45dbad
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x45dba3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45dbcb
push ecx
push esi
call fcn.00536ae6
add esp, 8
mov eax, ebx
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.005368a5
mov esp, ebp
pop ebp
ret
call fcn.00552581
int3
Function at 0x45e9b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b440
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5f5ea4]
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 dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 0xc]
mov esi, edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], ecx
jb 0x45ea01
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x45ea21
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x45ea10
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edx
mov esi, dword [ebx + 4]
mov dword [ebp - 0x24], ecx
lea eax, [eax + ecx*8]
mov dword [ebp - 0x1c], eax
cmp esi, dword [eax]
je 0x45eaa1
mov esi, dword [eax + 4]
mov esi, dword [esi]
cmp esi, dword [eax]
je 0x45eaa1
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
jb 0x45ea56
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x45ea60
mov ecx, dword [edi]
cmp dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1c]
jne 0x45ea41
push dword [edi + 0x10]
call fcn.004542e0
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x45ea41
mov eax, dword [ebp - 0x20]
mov dword [eax], esi
mov byte [eax + 4], 0
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.005368a5
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 4]
push edi
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax + 4]
push ecx
push eax
mov dword [ebp - 0x18], ecx
call fcn.0045ba90
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x45eb5c
inc eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x45eb11
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
push dword [ebp - 0x24]
mov ecx, ebx
push esi
push edi
call fcn.0045bc70
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0045bbd0
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x45ea83
push str.list_T__too_long
call fcn.00533cfe
int3
Function at 0x45fcc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.00537290
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push edx
push ecx
push 0x5e1778
lea eax, [ebp - 0x4004]
mov dword [ebp - 0x4008], 0
push 0x2000
push eax
call fcn.0045f5d0
add esp, 0x14
lea ecx, [ebp - 0x4008]
add eax, eax
push 0
push ecx
push eax
lea eax, [ebp - 0x4004]
push eax
push dword [0x5f6c80]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005368a5
mov esp, ebp
pop ebp
ret
Function at 0x463170
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x70
push 2
push 1
push 0
call dword [sym.imp.USER32.dll_RegisterHotKey]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x20]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x463267
push ebx
mov ebx, dword [sym.imp.USER32.dll_UnregisterHotKey]
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [ebp - 0x1c], 0x312
jne 0x463251
mov eax, dword [ebp - 0x18]
sub eax, 1
jne 0x463251
cmp byte [0x5f69f5], al
je 0x46324b
cmp byte [0x5f69f4], al
je 0x4631ff
mov al, byte [0x5fead0]
and al, 1
mov byte [0x5f69f4], 0
mov byte [0x5fc98a], al
jmp 0x463204
mov al, byte [0x5fc98a]
test al, al
je 0x463220
push 0
push dword [0x5fc978]
call esi
xor al, al
mov byte [0x5fc98a], al
mov byte [0x5fc986], al
jmp 0x463251
call fcn.0045f500
push 5
push dword [0x5fc978]
call esi
mov ecx, dword [0x5fead0]
or ecx, 1
call fcn.0046ab00
mov al, 1
mov byte [0x5fc98a], al
mov byte [0x5fc986], al
jmp 0x463251
push 1
push 0
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
jne 0x4631b7
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005368a5
mov esp, ebp
pop ebp
ret
Function at 0x4642e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, 1
lock xadd dword [0x5fea58], esi
inc esi
push 0
push 0
dec esi
push esi
push 0x4641e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi*4 + 0x5fea50], eax
pop esi
ret

Function at 0x4644b0
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x4643d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi*4 + 0x5fea6c], eax
pop esi
ret
Function at 0x4668c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4

Function at 0x466ed0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bc60
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.SYSTEMDRIVE
mov dword [ebp - 4], 0
call fcn.005594c6
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466f30
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0044b730
push 5
push str._temp
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00452f50
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push 0x5e0f64
lea ecx, [ebp - 0x28]
call fcn.00452f50
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
call fcn.00452f50
lea eax, [ebp - 0x28]
mov ecx, 0x5f6d30
push dword [ebp - 0x18]
test esi, esi
je 0x466faa
mov ecx, 0x5f6d48
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0044b730
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x466fee
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466fe4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467053
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x467038
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46702e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467058
push edx
push ecx
call fcn.00536ae6
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.005368a5
mov esp, ebp
pop ebp
ret
call fcn.00552581
call fcn.00552581
int3
Function at 0x467110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00537290
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov ecx, 1
mov edx, 0x5feacc
mov eax, 0x3e7
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4671e1
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov esi, eax
test esi, esi
jle 0x4671e1
push 0x5feab4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5feaac]
test cl, 2
je 0x4671bd
mov edx, dword [0x5f6d2c]
cmp edx, 0xffffffff
je 0x4671bd
push 0
lea eax, [ebp - 0x1010]
push eax
lea eax, [esi + esi]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x100c]
push eax
push edx
call esi
push 0
lea eax, [ebp - 0x1010]
push eax
push 4
push 0x5e1d50
push dword [0x5f6d2c]
call esi
mov ecx, dword [0x5feaac]
test cl, 1
je 0x4671d6
lea edx, [ebp - 0x100c]
call fcn.00469480
push eax
call fcn.00469740
add esp, 4
push 0x5feab4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.005368a5
mov esp, ebp
pop ebp
ret
Function at 0x467800
Capabilities:
Delete file

Disassembly:
test byte [0x5feaac], 4
push ebx
mov bl, cl
je 0x467819
push str._If_this_report_empty__all_checksum_match_
call fcn.00467110
add esp, 4
cmp byte [0x5feab0], 0
je 0x467895
push 0x5feab4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov ecx, 0x5feacc
xchg dword [ecx], eax
mov eax, dword [0x5f6d2c]
cmp eax, 0xffffffff
je 0x467851
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5f6d2c], 0xffffffff
push 0x5feab4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5feab4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test bl, bl
je 0x46788e
test byte [0x5feaac], 2
je 0x46788e
cmp dword [0x5f6d5c], 8
mov eax, 0x5f6d48
cmovae eax, dword [0x5f6d48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [0x5feab0], 0
pop ebx
ret