Function at 0x414230
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x425eac
mov eax, dword fs:[0]
push eax
mov eax, 0x20180
mov dword fs:[0], esp
call fcn.00419fc0
mov eax, dword [0x42f180]
push ebx
push ebp
push esi
mov dword [esp + 0x20188], eax
push edi
mov ebp, ecx
xor esi, esi
push esi
mov dword [esp + 0x2019c], esi
call dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [esp + 0x10], eax
mov eax, 0xf
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
xor eax, eax
push esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov ecx, 0x8044
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x201a4]
mov eax, dword [eax]
push 1
lea ecx, [esp + 0x7c]
push ecx
push eax
mov ecx, ebp
mov byte [esp + 0x201a8], 2
call fcn.0040d130
cmp eax, esi
jge 0x41436c
xor bl, bl
mov edi, 0x10
mov eax, dword [0x430b50]
mov ecx, 0x430b50
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [0x430b50]
mov ecx, 0x430b50
mov byte [esp + 0x20198], 5
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
test bl, bl
mov byte [esp + 0x20198], 6
je 0x414859
mov eax, dword [0x430b50]
mov ecx, 0x430b50
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x201a4], 7
call fcn.00419520
add esp, 0xc
mov ecx, dword [eax + 0x18]
mov ebx, 8
cmp ecx, ebx
mov byte [esp + 0x20198], bl
jb 0x414559
mov eax, dword [eax + 4]
jmp 0x41455c
lea eax, [esp + 0x84]
mov bl, 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414378
sub eax, edx
push eax
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x44]
call fcn.00404430
mov eax, dword [esp + 0x54]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x40]
jae 0x4143a8
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x50]
push ecx
push eax
call fcn.00418f50
add esp, 8
test eax, eax
je 0x4143ce
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0040a3a0
add esp, 8
jmp 0x4143df
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404340
mov edx, dword [esp + 0x78]
cmp edx, dword [esp + 0x80]
jb 0x4142dc
ja 0x414400
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x7c]
jb 0x4142dc
mov edx, dword [0x430b50]
mov ecx, 0x430b50
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x201a4], 3
call fcn.00419520
add esp, 0xc
mov ecx, dword [eax + 0x18]
mov ebx, 8
cmp ecx, ebx
mov byte [esp + 0x20198], 4
jb 0x414449
mov eax, dword [eax + 4]
jmp 0x41444c
add eax, 4
push eax
call fcn.00418fa0
lea edx, [eax + eax*4]
lea eax, [edx + edx + 0x17]
push eax
call fcn.00418ee0
add esp, 4
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040a140
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp eax, ebx
mov byte [esp + 0x20198], 3
jb 0x41448d
mov edx, dword [esp + 0x5c]
push edx
call fcn.00419fb9
add esp, 4
push 0x40000
call fcn.00418fa0
lea eax, [eax + eax*4]
lea ecx, [eax + eax + 0x18]
push ecx
call fcn.00418ee0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add esp, 4
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
mov byte [esp + 0x20198], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x38], edi
jb 0x4144ed
mov eax, dword [esp + 0x24]
push eax
call fcn.00419fb9
add esp, 4
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, edi
mov ebx, 0xf
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
jb 0x414516
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00419fb9
add esp, 4
mov eax, dword [esp + 0x201a8]
add eax, 0xfffffff0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
mov dword [esp + 0x20198], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41454f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0xfffffffe
jmp 0x4149b0
add eax, 4
push eax
call fcn.00418fa0
lea eax, [eax + eax*4]
lea ecx, [eax + eax + 0x16]
push ecx
call fcn.00418ee0
add esp, 4
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0040a140
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp eax, ebx
mov byte [esp + 0x20198], 7
jb 0x41459d
mov eax, dword [esp + 0x5c]
push eax
call fcn.00419fb9
add esp, 4
push 0x40003
call fcn.00418fa0
lea ecx, [eax + eax*4]
lea edx, [ecx + ecx + 0x18]
push edx
call fcn.00418ee0
mov edi, dword [esp + 0x18]
add esp, 4
push eax
mov eax, dword [esp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x41468c
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x40]
mov bl, 9
push edx
mov byte [esp + 0x201a0], bl
call fcn.0040b550
mov eax, dword [esp + 0x78]
mov edi, 0x10
add esp, 8
cmp eax, edi
mov eax, dword [esp + 0x5c]
jae 0x414616
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x14]
call fcn.0040bdf0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2019c], 0xa
call fcn.0040a2d0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20198], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414657
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x14]
push esi
lea eax, [esp + 0x20]
push str.backendexternalpath_s
push eax
call fcn.0040a140
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp eax, edi
jb 0x414760
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00419fb9
add esp, 4
jmp 0x414760
cmp eax, 7
jne 0x414760
push 4
push str.._gr
lea ecx, [esp + 0x28]
call fcn.00409af0
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x4146b4
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.0040bdf0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4146e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x201a8]
push edi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00407f70
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00413af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2019c], 0xb
call fcn.0040a2d0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20198], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414749
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x14]
push esi
lea eax, [esp + 0x20]
push str.backendexternalpath_s
push eax
call fcn.0040a140
add esp, 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x20198], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414786
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, 0x10
mov eax, dword [esi - 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x4148ca
lea eax, [esi - 0x10]
mov byte [esp + 0x20198], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4147ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x20198], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4147e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x38], edi
jb 0x4147f3
mov eax, dword [esp + 0x24]
push eax
call fcn.00419fb9
add esp, 4
cmp dword [esp + 0x54], edi
mov esi, 0xf
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
jb 0x414818
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00419fb9
add esp, 4
mov eax, dword [esp + 0x201a8]
add eax, 0xfffffff0
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
mov dword [esp + 0x20198], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414851
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
or eax, 0xffffffff
jmp 0x4149b0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x201ac]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00407f70
add esp, 4
lea ecx, [esp + 0x18]
add eax, 0x10
push ecx
mov ecx, ebp
mov dword [esi], eax
call fcn.00413af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2019c], 0xc
call fcn.0040a2d0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20198], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4148c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x14]
jmp 0x41478b
push esi
lea eax, [esp + 0x20]
push str.backendexternalpath_s
push eax
call fcn.0040a140
mov edi, dword [esp + 0x28]
mov eax, dword [edi - 0xc]
mov ecx, dword [esp + 0x201b0]
add esp, 0xc
push eax
push edi
call fcn.00409c00
lea eax, [esi - 0x10]
mov byte [esp + 0x20198], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414914
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x20198], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414936
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
mov esi, 0x10
cmp eax, esi
jb 0x414950
mov eax, dword [esp + 0x24]
push eax
call fcn.00419fb9
add esp, 4
cmp dword [esp + 0x54], esi
mov edi, 0xf
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
jb 0x414975
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00419fb9
add esp, 4
mov eax, dword [esp + 0x201a8]
add eax, 0xfffffff0
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
mov dword [esp + 0x20198], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4149ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x20190]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2018c]
call fcn.00419d15
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2018c
ret 0xc