Function at 0x41cc80
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 0x4d4041
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 4], 0
mov dword [edi], vtable.Logger.0
mov dword [edi + 4], 0xffffffff
lea ecx, [edi + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
push 0x18
mov dword [edi + 0x14], 0x200000
mov byte [edi + 0x18], 0
call fcn.0048359c
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
push eax
movq qword [eax + 0x10], xmm0
mov dword [edi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
mov eax, dword [esi + 0x10]
push ecx
add eax, 0x400
mov dword [ebp - 0x60], 0
push eax
lea ecx, [ebp - 0x78]
call fcn.0041d6b0
mov byte [ebp - 4], 4
xor edx, edx
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x60], edx
mov ecx, esi
test edx, edx
je 0x41cd7d
cmp dword [esi + 0x14], 8
jb 0x41cd63
mov ecx, dword [esi]
mov eax, dword [ebp - 0x74]
push edx
push ecx
sub eax, edi
sar eax, 1
push str._s__d.log
push eax
push edi
call fcn.0041dbd0
add esp, 0x14
jmp 0x41cd9c
cmp dword [esi + 0x14], 8
jb 0x41cd85
mov ecx, dword [esi]
mov eax, dword [ebp - 0x74]
push ecx
sub eax, edi
sar eax, 1
push str._s.log
push eax
push edi
call fcn.0041dbd0
add esp, 0x10
test eax, eax
js 0x41ceba
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov eax, edi
mov dword [ebp - 0x18], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41cdc0
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
push edi
call fcn.00412c70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x64]
push ecx
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
je 0x41cdf9
mov ecx, eax
call fcn.004119e0
add dword [esi + 0xc], 0x18
jmp 0x41ce02
push eax
lea ecx, [esi + 8]
call fcn.0041d9d0
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 SysReAllocStringLen
push eax
call fcn.0041ddc0
mov esi, dword [ebp - 0x68]
cmp esi, 0xffffffff
je 0x41ce79
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x14], 0
je 0x41ce72
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 0x41ce72
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 0x41ce79
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41ceb7
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cead
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d0bc
push edx
push ecx
call fcn.004835cc
add esp, 8
mov esi, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x60]
inc edx
mov dword [ebp - 0x60], edx
cmp edx, 2
jne 0x41cd55
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 8]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41cef5
push esi
mov esi, dword [ebp - 0x64]
mov ecx, esi
call fcn.0041cac0
jmp 0x41cef8
mov esi, dword [ebp - 0x64]
cmp byte [esi + 0x18], 0
je 0x41d06a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea esi, [ebp - 0x17]
mov dword [ebp - 0x68], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x68]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x41cf10
lea eax, [ebp - 0x17]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp esi, eax
je 0x41cf5e
sub eax, esi
lea ecx, [ebp - 0x5c]
push eax
push esi
call fcn.00409010
push 0x17
push str.____START__process_id:
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.0040ea10
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 0x4f7330
call fcn.0040a990
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov esi, dword [ebp - 0x64]
mov ecx, esi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.0041cbc0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x41d028
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d01e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d0bc
push edx
push ecx
call fcn.004835cc
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 0x41d06a
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d060
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d0c1
push edx
push ecx
call fcn.004835cc
add esp, 8
test edi, edi
je 0x41d09a
mov ecx, dword [ebp - 0x70]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x41d090
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d0c6
push ecx
push edi
call fcn.004835cc
add esp, 8
mov eax, esi
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.0048358b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004b1db8
call fcn.004b1db8
call fcn.004b1db8
int3