Function at 0x40c300
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48df02
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x204], ecx
mov dword [ebp - 0x1fc], 0
push 1
lea ecx, [ebp - 0x1f8]
call fcn.0040cb60
push str.ErrorReportReq
lea ecx, [ebp - 0x328]
call fcn.00403a80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.0040bb30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x328]
call fcn.00403ac0
lea ecx, [ebp - 0x58]
call fcn.00406db0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
push ecx
call fcn.00444690
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.0040ceb0
movzx edx, al
test edx, edx
je 0x40c3ea
push 0x4a3003
lea ecx, [ebp - 0x370]
call fcn.00403a80
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1fc]
or ecx, 1
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x208], edx
jmp 0x40c42d
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x388]
call fcn.00406d50
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x1fc]
or edx, 2
mov dword [ebp - 0x1fc], edx
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x248]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.0043d910
mov dword [ebp - 4], 6
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.0040bf00
mov ecx, eax
call fcn.0043db60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a8]
call fcn.0043dac0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x1fc]
and ecx, 2
je 0x40c49e
and dword [ebp - 0x1fc], 0xfffffffd
lea ecx, [ebp - 0x388]
call fcn.00403ac0
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x1fc]
and edx, 1
je 0x40c4c2
and dword [ebp - 0x1fc], 0xfffffffe
lea ecx, [ebp - 0x370]
call fcn.00403ac0
push 0x4a3012
lea ecx, [ebp - 0x268]
call fcn.0043d980
mov byte [ebp - 4], 7
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.0040bf20
mov ecx, eax
call fcn.0043db60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.0043dac0
lea ecx, [ebp - 0x340]
push ecx
call fcn.004439d0
add esp, 4
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x258], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.0043d910
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b8]
push ecx
lea ecx, [ebp - 0x1f8]
call fcn.0040bf40
mov ecx, eax
call fcn.0043db60
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2b8]
call fcn.0043dac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x340]
call fcn.00403ac0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x2e0]
call fcn.00405eb0
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x238]
call fcn.00405a10
push eax
lea ecx, [ebp - 0x288]
call fcn.0043d980
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x1f8]
call fcn.0040bf60
mov ecx, eax
call fcn.0043db60
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x288]
call fcn.0043dac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e0]
call fcn.00405f20
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x2c8]
call fcn.0043d950
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.0040bf80
mov ecx, eax
call fcn.0043db60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c8]
call fcn.0043dac0
push 0x4a3b6c
lea ecx, [ebp - 0x23c]
call fcn.0040d2b0
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x21c]
call fcn.00401a50
push eax
lea ecx, [ebp - 0x298]
call fcn.0043d980
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x298]
push edx
lea ecx, [ebp - 0x1f8]
call fcn.0040bfa0
mov ecx, eax
call fcn.0043db60
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x298]
call fcn.0043dac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.00401400
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x358]
push ecx
call fcn.00443ac0
add esp, 8
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x24c], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x278]
call fcn.0043d910
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x278]
push ecx
lea ecx, [ebp - 0x1f8]
call fcn.0040bfc0
mov ecx, eax
call fcn.0043db60
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x278]
call fcn.0043dac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x358]
call fcn.00403ac0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c74e
mov byte [ebp - 0x200], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00403ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.0040ca70
mov al, byte [ebp - 0x200]
jmp 0x40ca46
lea ecx, [ebp - 0x70]
call fcn.00406db0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.0040bfe0
lea ecx, [ebp - 0x40]
call fcn.00406db0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.004437d0
add esp, 8
push 1
lea ecx, [ebp - 0x28]
call fcn.0040cb90
lea ecx, [ebp - 0x28]
call fcn.00407550
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.00403b10
add eax, 0x1000
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d330
lea ecx, [ebp - 0x28]
call fcn.00408fc0
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
push eax
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004076b0
push eax
call fcn.00426af0
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00406ea0
push eax
push str.http:__config.qqpy.sogou.com_QQinput_pc_err_report_index_
push str._sq_s
push 0
lea ecx, [ebp - 0x28]
call fcn.004076b0
push eax
call fcn.00423930
add esp, 0x10
push 0
lea ecx, [ebp - 0x28]
call fcn.004076b0
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00403a80
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2f8]
push ecx
mov ecx, dword [ebp - 0x204]
call fcn.00442a70
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2f8]
call fcn.00403ac0
mov ecx, dword [ebp - 0x204]
add ecx, 0x140
call fcn.004077d0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040cb90
lea ecx, [ebp - 0x1c]
call fcn.00407550
mov byte [ebp - 4], 0x15
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x310]
call fcn.0040cee0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x3a8]
call fcn.00443c50
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x234], ecx
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x234]
call fcn.00443f40
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x3a8]
call fcn.00443e60
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x310]
call fcn.00407530
mov byte [ebp - 0x1ff], 0
lea eax, [ebp - 0x1ff]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407580
mov byte [ebp - 0x1fe], 0
lea ecx, [ebp - 0x1fe]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00407580
push 0
lea ecx, [ebp - 0x1c]
call fcn.004076b0
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x210]
push edx
lea ecx, [ebp - 0x2d4]
call fcn.00405eb0
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x220]
call fcn.00405a10
push eax
lea ecx, [ebp - 0x88]
call fcn.00403a80
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2d4]
call fcn.00405f20
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.004437d0
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00403b10
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040d160
lea ecx, [ebp - 0x1c]
call fcn.00408fc0
push eax
lea ecx, [ebp - 0x40]
call fcn.00406ea0
push eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.004076b0
push eax
call fcn.00423e70
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x204]
call fcn.0040bab0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x88]
call fcn.00403ac0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c]
call fcn.00407690
push 1
mov ecx, dword [ebp - 0x204]
call fcn.00405650
push 0
mov ecx, dword [ebp - 0x204]
call fcn.00405630
mov ecx, dword [ebp - 0x204]
call fcn.00442340
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x1fd], 1
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
call fcn.00407690
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.00403ac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00403ac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00403ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.0040ca70
mov al, byte [ebp - 0x1fd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret 0xc