Function at 0x100242e8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100673fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10024443
lea eax, [ebp + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x100243de
mov dword [ebp - 0xa4], 0x143d
cmp dword [ebp - 0xa4], 0xe46
jge 0x100243c8
and dword [ebp - 0x84], 0
and dword [ebp - 0x34], 0
and dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x84]
push eax
push 0x100081e4
call fcn.1004eb00
add esp, 0x10
mov eax, dword [ebp - 0x84]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
je 0x1002439f
mov eax, dword [ebp - 0x30]
inc eax
cmp dword [ebp - 0x34], eax
jne 0x100243bd
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x30]
je 0x100243b0
mov eax, dword [ebp - 0x30]
inc eax
cmp dword [ebp - 0x3c], eax
jne 0x100243bd
push 0x10008178
call fcn.1004f342
pop ecx
jmp 0x100243c8
push 0x10008174
call fcn.1004f342
pop ecx
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100243dc
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1002443e
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x10024421
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 3
jge 0x1002443e
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x90]
call fcn.1002a943
and dword [eax], 0
jmp 0x10024416
jmp 0x1002474c
lea eax, [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1002473c
mov dword [ebp - 0x10], 8
push 2
lea ecx, [ebp - 0x48]
call fcn.1002a894
and dword [ebp - 4], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x2c], 0xfffffffd
mov dword [ebp - 0x20], 0x9a488d5
mov dword [ebp - 0x70], 0x17a3
mov dword [ebp - 0x38], 0xbf5ee879
push 2
lea ecx, [ebp - 0xb4]
call fcn.1002a894
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
jmp 0x100244bd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100244d6
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.1002a943
mov dword [eax], 0x157736d0
jmp 0x100244b6
mov dword [ebp - 0x14], 0
jmp 0x100244e6
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10024502
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb4]
call fcn.1002a943
mov dword [eax], 0x949389d0
jmp 0x100244df
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jl 0x100245ba
push 0
lea ecx, [ebp - 0x48]
call fcn.1002a943
cmp dword [eax], 0xf63588c5
je 0x10024529
mov dword [ebp - 0x74], 1
jmp 0x1002452d
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb8], eax
push 0
lea ecx, [ebp - 0x48]
call fcn.1002a943
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jle 0x1002455a
mov dword [ebp - 0x78], 1
jmp 0x1002455e
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x78], eax
jl 0x1002456f
mov dword [ebp - 0x58], 1
jmp 0x10024573
and dword [ebp - 0x58], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.1002a943
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
jl 0x1002458d
mov dword [ebp - 0x80], 1
jmp 0x10024591
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0
jbe 0x100245a3
mov dword [ebp - 0x88], 1
jmp 0x100245aa
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.1002a943
mov esi, eax
push 0
lea ecx, [ebp - 0x48]
call fcn.1002a943
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x100245df
mov dword [ebp - 0x64], 1
jmp 0x100245e3
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x64]
jl 0x100245f4
mov dword [ebp - 0x4c], 1
jmp 0x100245f8
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x4c], eax
jl 0x10024609
mov dword [ebp - 0x6c], 1
jmp 0x1002460d
and dword [ebp - 0x6c], 0
imul eax, dword [ebp - 0x6c], 0xffffffff
test eax, eax
jne 0x10024621
cmp dword [ebp - 0x2c], 0
jne 0x10024621
and dword [ebp - 0x7c], 0
jmp 0x10024628
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x7c]
sub eax, 0x63b88216
cmp dword [ebp - 0x10], eax
jge 0x10024642
mov dword [ebp - 0x5c], 1
jmp 0x10024646
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x5c], eax
jne 0x10024657
mov dword [ebp - 0x60], 1
jmp 0x1002465b
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x60], eax
jle 0x1002466c
mov dword [ebp - 0x68], 1
jmp 0x10024670
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x18], eax
jne 0x10024690
mov dword [ebp - 0x50], 1
jmp 0x10024694
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100246f3
cmp dword [ebp - 0x10], 0
jne 0x100246e7
mov dword [ebp - 0x38], 0x4c92
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x38], eax
jle 0x100246b9
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xbc], eax
push 0
lea ecx, [ebp - 0x48]
call fcn.1002a943
mov eax, dword [eax]
neg eax
mov dword [ebp - 0x20], eax
imul eax, dword [ebp - 0x24], 0xfffd
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], 0
jne 0x100246f3
and dword [ebp - 0x54], 0
jmp 0x100246fa
mov dword [ebp - 0x54], 1
push 0
lea ecx, [ebp - 0x48]
call fcn.1002a943
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
lea esi, [ecx + eax + 0x106cf363]
push 0
lea ecx, [ebp - 0xb4]
call fcn.1002a943
mov dword [eax], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.1002a918
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1002a918
jmp 0x1002474c
push 0x14bb
push 0x18b3
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret