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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5ebea4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jb 0x45a2cd
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x45a2e9
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x45a2d8
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, esi
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x45a322
cmp eax, edi
jne 0x45a31a
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x45a32a
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x45a32a
cmp eax, edi
jne 0x45a32d
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [ecx], esi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.0044b000
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.0052f395
mov esp, ebp
pop ebp
ret 8
Function at 0x45a390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5ebea4]
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 0x45a3e3
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x45a404
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x45a3f0
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 0x45a424
mov esi, dword [eax + 4]
mov esi, dword [esi]
mov ebx, dword [edi + 0x10]
cmp esi, dword [eax]
je 0x45a4a2
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
jb 0x45a43c
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x45a446
mov ecx, dword [edi]
cmp ebx, eax
mov eax, dword [ebp - 0x18]
jne 0x45a427
push ebx
call fcn.00452ff0
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x45a427
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.0044b000
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.0052f395
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 0x45a4cf
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.0045a220
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0045a180
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x45a484
Function at 0x45ab20
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572beb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5ebea4]
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 ecx, 0x5f317c
mov dword [ebp - 0x21c], 0
call fcn.0044ac20
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [eax + eax]
push 0x248
push 8
push dword [0x5f3314]
call edi
mov esi, eax
test esi, esi
je 0x45ab70
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x238], 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 0x45abd4
cmp dword [ebp - 0x21c], 1
ja 0x45acbf
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 0x45abf6
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
push esi
call fcn.0044a910
mov dword [ebp - 4], 0
lea eax, [ebp - 0x234]
mov edi, dword [0x5f317c]
push eax
mov ebx, dword [edi + 4]
push ebx
push edi
call fcn.0044bbb0
mov edx, dword [0x5f3180]
mov ecx, 0x7fffffe
sub ecx, edx
cmp ecx, 1
jb 0x45ad06
lea ecx, [edx + 1]
mov dword [0x5f3180], ecx
mov dword [edi + 4], eax
mov dword [ebx], eax
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push eax
push 0x5d91a0
call fcn.00463ab0
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x45acb9
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45acaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ad10
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov ebx, dword [ebp - 0x238]
push 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x45aba0
push ebx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
push esi
push 0
push dword [0x5f3314]
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.0052f395
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0052c7ee
call fcn.0054b071
int3
Function at 0x45b500
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x5ebea4]
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 0x45b549
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0052f395
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
call fcn.00552c75
cdq
mov ecx, 3
idiv ecx
mov eax, 0xffff
sub eax, edx
add word [esp + 0xc], ax
call fcn.00552c75
cdq
mov ecx, 0xc
idiv ecx
inc edx
mov word [esp + 0xe], dx
call fcn.00552c75
cdq
mov ecx, 0x1c
idiv ecx
inc edx
mov word [esp + 0x12], dx
call fcn.00552c75
cdq
mov ecx, 0x18
idiv ecx
mov word [esp + 0x14], dx
call fcn.00552c75
cdq
mov esi, 0x3c
idiv esi
mov word [esp + 0x16], dx
call fcn.00552c75
cdq
idiv esi
mov word [esp + 0x18], dx
call fcn.00552c75
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.0052f395
mov esp, ebp
pop ebp
ret
Function at 0x45b640
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572c88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5ebea4]
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.00553307
add esp, 8
test eax, eax
jne 0x45b68a
mov eax, 1
jmp 0x45b7ff
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b7ff
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 0x45b6b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x20]
call fcn.0045baf0
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.00552c06
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 0x45b73b
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 0x45b73b
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 0x45b78d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x45b7cd
mov ecx, edi
call fcn.0046a1a0
push ebx
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
test ebx, ebx
jne 0x45b78d
mov ecx, esi
call fcn.0046a1a0
push ebx
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
test ebx, ebx
je 0x45b7cd
cmp byte [ebp + 8], 0
je 0x45b7cd
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 0x45b7cd
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 0x45b7fd
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x45b7f3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b81b
push ecx
push esi
call fcn.0052f5d6
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.0052f395
mov esp, ebp
pop ebp
ret
call fcn.0054b071
int3
Function at 0x45bca0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5ebea4]
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 0x45bda0
push ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
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 ebx
cmp dword [ebp - 0x1c], 0x312
jne 0x45bd6f
cmp dword [ebp - 0x18], 1
jne 0x45bd6f
cmp byte [0x5ec9f5], 0
je 0x45bd94
cmp byte [0x5ec9f4], 0
je 0x45bd2f
mov al, byte [0x5f32f4]
and al, 1
mov byte [0x5ec9f4], 0
mov byte [0x5f27e3], al
jmp 0x45bd34
mov al, byte [0x5f27e3]
test al, al
je 0x45bd4b
push 0
push dword [0x5f27d4]
call esi
mov byte [0x5f27e3], 0
jmp 0x45bd6f
call fcn.0045bc00
push 5
push dword [0x5f27d4]
call esi
mov ecx, dword [0x5f32f4]
or ecx, 1
call fcn.00463880
mov byte [0x5f27e3], 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
jne 0x45bce7
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052f395
mov esp, ebp
pop ebp
ret
push 1
push 0
call dword [sym.imp.USER32.dll_UnregisterHotKey]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0052f395
mov esp, ebp
pop ebp
ret
Function at 0x45cf80
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x45cea0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi*4 + 0x5f3290], eax
pop esi
ret
Function at 0x45f230
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 0x45f840
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573100
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5ebea4]
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.00551fb6
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 0x45f8a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0044a910
push 5
push str._temp
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00451c60
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 0x5d8ea4
lea ecx, [ebp - 0x28]
call fcn.00451c60
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.00451c60
lea eax, [ebp - 0x28]
mov ecx, 0x5eccb4
push dword [ebp - 0x18]
test esi, esi
je 0x45f91a
mov ecx, 0x5ecccc
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0044a910
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45f95e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f954
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f9c3
push edx
push ecx
call fcn.0052f5d6
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 0x45f9a8
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f99e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f9c8
push edx
push ecx
call fcn.0052f5d6
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.0052f395
mov esp, ebp
pop ebp
ret
call fcn.0054b071
call fcn.0054b071
int3
Function at 0x45fa80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0052fd80
mov eax, dword [0x5ebea4]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov ecx, 1
mov edx, 0x5f32f0
mov eax, 0x3e7
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x45fb51
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 0x45fb51
push 0x5f32d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5f32d0]
test cl, 2
je 0x45fb2d
mov edx, dword [0x5eccb0]
cmp edx, 0xffffffff
je 0x45fb2d
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 0x5d9b4c
push dword [0x5eccb0]
call esi
mov ecx, dword [0x5f32d0]
test cl, 1
je 0x45fb46
lea edx, [ebp - 0x100c]
call fcn.00462200
push eax
call fcn.004624c0
add esp, 4
push 0x5f32d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.0052f395
mov esp, ebp
pop ebp
ret
Function at 0x460150
Capabilities:
Delete file

Disassembly:
test byte [0x5f32d0], 4
push ebx
mov bl, cl
je 0x460169
push str._If_this_report_empty__all_checksum_match_
call fcn.0045fa80
add esp, 4
cmp byte [0x5f32d4], 0
je 0x4601e5
push 0x5f32d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov ecx, 0x5f32f0
xchg dword [ecx], eax
mov eax, dword [0x5eccb0]
cmp eax, 0xffffffff
je 0x4601a1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5eccb0], 0xffffffff
push 0x5f32d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5f32d8
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test bl, bl
je 0x4601de
test byte [0x5f32d0], 2
je 0x4601de
cmp dword [0x5ecce0], 8
mov eax, 0x5ecccc
cmovae eax, dword [0x5ecccc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [0x5f32d4], 0
pop ebx
ret
Function at 0x463880
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573470
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x5ebea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [0x5f32f4], ecx
test cl, 2
je 0x463a6f
push str.SYSTEMDRIVE
call fcn.00551fb6
mov edx, eax
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0x18], 7
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4638f4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0044a910
push 5
push str._temp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00451c60
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5d8ea4
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x60]
call fcn.004531f0
add esp, 4
mov byte [ebp - 4], 1
mov ecx, 0x5ecce4
cmp dword [0x5eccf8], 8
push dword [0x5eccf4]
cmovae ecx, dword [0x5ecce4]
push ecx
mov ecx, eax
call fcn.00451c60
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, 0x5ecd00
movq qword [ebp - 0x38], xmm0
call fcn.004494f0
movups xmm0, xmmword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
movups xmmword [0x5ecd00], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [0x5ecd10], xmm0
cmp edx, 8
jb 0x4639ef
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4639e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x463aa1
push edx
push ecx
call fcn.0052f5d6
add esp, 8
cmp dword [0x5ecd14], 8
mov eax, 0x5ecd00
push 0
cmovae eax, dword [0x5ecd00]
push SysReAllocString
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
xorps xmm0, xmm0
mov dword [0x5eccfc], eax
movq qword [ebp - 0x38], xmm0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x463a6f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x463a65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x463aa6
push edx
push ecx
call fcn.0052f5d6
add esp, 8
cmp dword [0x5f32f4], 0
je 0x463a84
mov eax, 1
mov ecx, 0x5f3310
xchg dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052f395
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0054b071
call fcn.0054b071
int3
Function at 0x463ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1864
call fcn.0052fd80
mov eax, dword [0x5ebea4]
xor eax, esp
mov dword [esp + 0x1860], eax
push ebx
push esi
push edi
mov ecx, 1
mov edx, 0x5f3310
mov eax, 0x3e7
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x463d0f
mov eax, dword [ebp + 8]
lea edi, [esp + 0x868]
test eax, eax
mov ecx, 0x5d8bdc
cmovne ecx, eax
lea eax, [ebp + 0xc]
push eax
xor esi, esi
mov eax, edi
push esi
push ecx
push 0x7ff
push eax
call fcn.00455dd0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00551c6e
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x463b3d
cmp eax, 0x7ff
ja 0x463b3d
jne 0x463b51
jmp 0x463b42
mov esi, 0x8007007a
xor eax, eax
mov word [esp + 0x1866], ax
mov eax, 0x7ff
lea eax, [esp + eax*2 + 0x868]
mov dword [esp + 0x14], eax
test esi, esi
jns 0x463b8d
push 0x500
lea eax, [esp + 0x14]
mov edx, 0x1000
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x878]
call fcn.004637e0
cmp esi, 0x8007007a
jne 0x463b8f
mov eax, dword [esp + 0x14]
mov edi, eax
lea eax, [esp + 0x868]
sub edi, eax
and edi, 0xfffffffe
test edi, edi
jle 0x463d0f
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push str.__02d:_02d:_02d_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov esi, eax
push 0x5f32f8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
je 0x463d04
mov ecx, dword [0x5f32f4]
test cl, 2
je 0x463c4b
mov edx, dword [0x5eccfc]
cmp edx, 0xffffffff
je 0x463c4b
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esi + esi]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [esp + 0x34]
push eax
push edx
call esi
push 0
lea eax, [esp + 0x18]
push eax
push edi
lea eax, [esp + 0x874]
push eax
push dword [0x5eccfc]
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 4
push 0x5d9b4c
push dword [0x5eccfc]
call esi
mov ecx, dword [0x5f32f4]
test cl, 1
je 0x463d04
push 0x800
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.005471b0
add esp, 0xc
lea eax, [esp + 0x868]
push eax
lea eax, [esp + 0x2c]
push eax
push str._s__s
push 0x500
push 0
push 0
lea eax, [esp + 0x80]
push 0x800
push eax
call fcn.00463610
add esp, 0x20
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push 0
push 0
push 0
mov ebx, eax
lea eax, [esp + 0x78]
push ebx
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x463d04
lea ecx, [edi*2 + 2]
call fcn.0045a650
push 0
push 0
push edi
mov esi, eax
lea eax, [esp + 0x74]
push esi
push ebx
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x463cfb
mov edx, esi
call fcn.00463db0
push eax
call fcn.00464060
add esp, 4
push esi
call fcn.0054ad3a
add esp, 4
push 0x5f32f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x186c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052f395
mov esp, ebp
pop ebp
ret