Function at 0x463860
Capabilities:
Delete file
Get file size

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 0x6812f1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov edi, dword [ebx + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0
mov dword [eax], vtable.Logger.0
mov dword [eax + 4], 0xffffffff
lea esi, [eax + 8]
mov dword [esi], 0
mov dword [ebp - 0x6c], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 2
push 0x18
mov dword [eax + 0x14], 0x200000
mov byte [eax + 0x18], 0
call fcn.006116d4
mov ecx, dword [ebp - 0x64]
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
push eax
movq qword [eax + 0x10], xmm0
mov dword [ecx + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
mov eax, dword [edi + 0x10]
push ecx
add eax, 0x400
mov dword [ebp - 0x60], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.00464120
mov byte [ebp - 4], 4
xor eax, eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], ecx
test eax, eax
je 0x463965
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x463950
mov ecx, dword [edi]
push eax
push ecx
push str._s__d.log
push dword [ebp - 0x60]
push edx
call fcn.00464650
add esp, 0x14
jmp 0x46397f
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x46396f
mov eax, dword [edi]
push eax
push str._s.log
push ecx
push edx
call fcn.00464650
add esp, 0x10
test eax, eax
js 0x463a6b
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x68], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4639a6
sub eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
push edx
call fcn.00459550
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
mov eax, dword [esi + 4]
push ecx
cmp dword [esi + 8], eax
je 0x4639dd
mov ecx, eax
call fcn.00458270
add dword [esi + 4], 0x18
jmp 0x4639e5
push eax
mov ecx, esi
call fcn.00464440
mov dword [ebp - 0x68], 0xffffffff
push 0x80
push 3
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x68]
push 3
cmovae eax, dword [ebp - 0x2c]
push SysReAllocString
push eax
call fcn.004647e0
mov esi, dword [ebp - 0x68]
cmp esi, 0xffffffff
je 0x463a5c
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x14], 0
je 0x463a55
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x14]
add eax, eax
cmp ecx, eax
jbe 0x463a55
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x463a5c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00453390
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x7c]
inc eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
cmp eax, 2
jne 0x463942
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
mov edi, dword [esi]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x463aa8
push edi
mov edi, dword [ebp - 0x64]
mov ecx, edi
call fcn.004636a0
jmp 0x463aab
mov edi, dword [ebp - 0x64]
cmp byte [edi + 0x18], 0
je 0x463bf2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x17]
call fcn.00464390
mov ecx, eax
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x17]
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, eax
je 0x463aec
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0044fad0
push 0x17
push str.____START__process_id:
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.00455770
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
sub esp, 0x18
mov byte [ebp - 4], 8
mov esi, esp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x60], esi
push 0x71379c
call fcn.004515c0
mov dword [esi + 0x10], 0
mov ecx, edi
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.004637a0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x463bb0
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x463ba6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x463c1c
push edx
push ecx
call fcn.00611704
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x463bf2
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x463be8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x463c21
push edx
push ecx
call fcn.00611704
add esp, 8
lea ecx, [ebp - 0x7c]
call fcn.00453330
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006116c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00655e38
call fcn.00655e38
int3