Function at 0x401f00
Capabilities:
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x42ac40
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x437dac]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x11c]
mov edi, dword [ebp + 0x110]
mov esi, dword [ebp + 0x114]
mov ebx, dword [ebp + 0x118]
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
call fcn.00403851
mov ecx, dword [esi]
push 0
push 0xc
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x3c], ecx
push 0x26
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 0
call fcn.00402e0b
push 0
push 4
lea eax, [ebp - 0x14]
push eax
mov esi, 0xea60
push 2
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], esi
call fcn.00402e0b
push 0
push 4
lea ecx, [ebp - 0x14]
push ecx
push 8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], esi
call fcn.00402e0b
push 0
push 4
lea edx, [ebp - 0x14]
push edx
push 7
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], 0x2710
call fcn.00402e0b
mov eax, dword [ebp - 0x2c]
push 0
push 0
push 0x3c
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, dword [edi]
push 0
push 0
push 0x80000011
push 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00404433
lea ecx, [ebp - 0x20]
mov esi, eax
push ecx
mov ecx, esi
call fcn.00402f04
mov edi, 0xc8
cmp dword [ebp - 0x20], edi
jne 0x4020ac
call fcn.00404945
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40203e
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
call fcn.00404945
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40206b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + 0x58]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call edx
test eax, eax
mov eax, dword [ebp - 0x18]
je 0x4020a3
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401830
jmp 0x402080
mov byte [ebp - 4], 2
jmp 0x402200
push 0
push 0xc
lea ecx, [ebp - 0x40]
push ecx
push 3
mov ecx, esi
call fcn.00402e4a
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
push 0
push ecx
push eax
push 0x2b
mov ecx, esi
call fcn.00402e4a
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push 0
push ecx
push eax
push 0x2c
mov ecx, esi
call fcn.00402e4a
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00403d59
call fcn.00404945
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40210d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x13
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00403f6c
mov edx, dword [ebp - 0x1c]
push 0x42c594
push edx
call fcn.00411d6c
add esp, 8
test eax, eax
jne 0x40221c
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00402f04
cmp dword [ebp - 0x20], edi
jne 0x40221c
call fcn.00404945
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402176
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov bl, 5
mov byte [ebp - 4], bl
call fcn.00404945
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4021a4
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
mov edx, dword [esi]
mov edx, dword [edx + 0x58]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call edx
test eax, eax
mov eax, dword [ebp - 0x18]
je 0x4021da
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401830
jmp 0x4021b7
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4021f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40221c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40223f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
lea ecx, [ebp - 0x34]
call fcn.00403ef7
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004040e7
mov dword [ebp - 4], 0xffffffff
push 0x104
lea edx, [ebp]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.00404945
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4022c7
push 0x80004005
call fcn.00401000
lea ecx, [ebp - 0x14]
call fcn.00401390
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x14]
push 0x42c590
push ecx
call fcn.00401af0
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004013c0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x402263
ret
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp]
push ecx
lea edx, [ebp - 0x14]
push 0x42c58c
push edx
mov dword [ebp - 4], 9
call fcn.00401af0
mov esi, dword [ebp - 0x14]
add esp, 0xc
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402323
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0041275a
add ebp, 0x108
mov esp, ebp
pop ebp
ret