Function at 0x100419ec
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064293
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10041ca4
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x10041b8b
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x20], 0
jmp 0x10041ac5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x18]
jae 0x10041b86
mov eax, dword [ebp - 0x34]
push dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1003ed06
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
lea eax, [ebp - 0xc0]
push eax
call fcn.1003fa6d
pop ecx
pop ecx
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x20]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
mov dword [ecx + eax], edx
push 0
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
add ecx, eax
push ecx
lea ecx, [ebp - 0xc0]
call fcn.10045063
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.10012dd6
jmp 0x10041abe
jmp 0x10041ca2
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x3c], 0x150a
mov dword [ebp - 0x78], 0x1000b690
cmp dword [ebp - 0x3c], 0x183a
jle 0x10041c48
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x18], 0
jmp 0x10041bde
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x8e9
jge 0x10041c48
and dword [ebp - 0x1c], 0
jmp 0x10041bf4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4d38
jge 0x10041c46
and dword [ebp - 0x24], 0
jmp 0x10041c0a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x224b
jge 0x10041c44
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
sub edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
mov ecx, 0x1060cad8
call fcn.10012b14
jmp 0x10041c03
jmp 0x10041bed
jmp 0x10041bd7
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
shl eax, 2
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [eax + 0x20], ecx
mov dword [ebp - 4], 1
cmp dword [ebp - 0x3c], 0x133c
jge 0x10041c7c
mov edx, dword [ebp - 0x78]
mov ecx, 0x1060cad8
call fcn.10015678
jmp 0x10041c98
or dword [ebp - 4], 0xffffffff
jmp 0x10041ca2
jmp 0x10041cfd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x80], eax
push 0x4a66
push 0x1746
push dword [ebp - 0x80]
push dword [ebp - 0x88]
push 0
push 0x1b3a
push 0x43e3
push dword [ebp - 0x90]
push 0x76b0
push dword [ebp - 0x98]
call fcn.10040fba
add esp, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret