Function at 0x4103cf
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41069b
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xa0], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x410655
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
movzx eax, byte [eax]
test eax, eax
je 0x410502
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 0
jne 0x4104eb
mov eax, 0x20b9
test eax, eax
jne 0x4104eb
and dword [ebp - 0x2c], 0
jmp 0x4104f2
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x410653
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx]
cmp eax, 0xa125
jl 0x410573
mov dword [ebp - 0x18], 1
jmp 0x410577
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x78]
mov dword [eax], 0xae69ed99
cmp dword [ebp - 0x18], 0xae69ed99
je 0x410592
mov dword [ebp - 0x24], 1
jmp 0x410596
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
je 0x4105a9
mov dword [ebp - 0x34], 1
jmp 0x4105ad
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
sub eax, 0x1038ed85
mov ecx, dword [ebp - 0x80]
cmp eax, dword [ecx]
jg 0x4105c5
mov dword [ebp - 0x1c], 1
jmp 0x4105c9
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
imul eax, dword [ebp - 0x1c]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x4105ed
mov dword [ebp - 0x28], 1
jmp 0x4105f1
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x90]
jle 0x41062c
mov dword [ebp - 0x30], 1
jmp 0x410630
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
imul eax, dword [ebp - 0x30]
cmp eax, 6
jae 0x410647
mov dword [ebp - 0x38], 1
jmp 0x41064b
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x410696
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
push dword [ebp - 0xa8]
push 0
push dword [ebp - 0xb0]
push 1
push 0x23b0
push 0x189e
push 0x79b6
push 1
call fcn.0041c65e
add esp, 0x20
jmp 0x41076e
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc0], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x41074e
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x410702
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x410700
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41074c
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x41072d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfffffff4
jne 0x41074c
mov dword [ebp - 0xe8], 0xe6f96354
cmp dword [ebp - 0xe8], 0
je 0x41074a
jmp 0x41074c
jmp 0x410722
jmp 0x41076e
push 0
push 1
push 0x18a2
push 0x43d3
push 0x27f4
push 0x4697
call fcn.0040e5bf
add esp, 0x18
mov esp, ebp
pop ebp
ret