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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c29a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3bc
mov eax, dword [0x4f66e0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3a8], ecx
mov ecx, dword [ebp - 0x3a8]
call fcn.0042ff60
mov eax, dword [ebp - 0x3a8]
add eax, 0x1a8
push eax
lea ecx, [ebp - 0x258]
call fcn.00431050
mov dword [ebp - 4], 0
call fcn.004b5d44
push eax
lea ecx, [ebp - 0x264]
call fcn.00431020
mov byte [ebp - 4], 1
push 0x104
push 0x104
lea ecx, [ebp - 0x264]
call fcn.0041bc50
push eax
call fcn.0043d260
add esp, 8
mov dword [ebp - 0x2bc], 0xffffffff
cmp dword [ebp - 0x2bc], 0xffffffff
jne 0x42f4a1
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x2b8], ecx
cmp dword [ebp - 0x2b8], 0
jne 0x42f48c
mov dword [ebp - 0x2bc], 0
jmp 0x42f4a1
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x264]
call fcn.0041bca0
mov ecx, 0x4cdf68
test ecx, ecx
jne 0x42f4c8
mov dword [ebp - 0x2c0], 0
jmp 0x42f4db
push 0x4cdf68
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x2c0], eax
mov edx, dword [ebp - 0x2c0]
push edx
push 0x4cdf68
lea ecx, [ebp - 0x264]
call fcn.00401ba0
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x25c]
push edx
call fcn.00419410
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x25c]
push eax
call dword [0x4c8504]
test eax, eax
jne 0x42f5a1
mov ecx, dword [ebp - 0x3a8]
call fcn.00430360
mov dword [ebp - 0x284], 0xffffffff
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x25c]
sub ecx, 0x10
mov dword [ebp - 0x2c4], ecx
mov ecx, dword [ebp - 0x2c4]
call fcn.0042a490
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x264]
sub edx, 0x10
mov dword [ebp - 0x2c8], edx
mov ecx, dword [ebp - 0x2c8]
call fcn.0042a490
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x258]
sub eax, 0x10
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
call fcn.0042a490
mov eax, dword [ebp - 0x284]
jmp 0x42ff24
push 0
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.00469ea0
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42f638
mov ecx, dword [ebp - 0x3a8]
call fcn.00430360
mov dword [ebp - 0x288], 0xffffffff
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x25c]
sub edx, 0x10
mov dword [ebp - 0x2d0], edx
mov ecx, dword [ebp - 0x2d0]
call fcn.0042a490
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x264]
sub eax, 0x10
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d4]
call fcn.0042a490
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x258]
sub ecx, 0x10
mov dword [ebp - 0x2d8], ecx
mov ecx, dword [ebp - 0x2d8]
call fcn.0042a490
mov eax, dword [ebp - 0x288]
jmp 0x42ff24
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x3a8]
call fcn.00430090
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00469fc0
add esp, 8
lea edx, [ebp - 0x254]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
push eax
call fcn.00469ec0
add esp, 0xc
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x26c], ecx
call fcn.004b5d44
mov dword [ebp - 0x2e0], eax
mov edx, dword [ebp - 0x2e0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2e0]
call dword [eax + 0xc]
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
add ecx, 0x10
mov dword [ebp - 0x268], ecx
mov byte [ebp - 4], 4
call fcn.004b5d44
mov dword [ebp - 0x2e8], eax
mov edx, dword [ebp - 0x2e8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2e8]
call dword [eax + 0xc]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x10
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 5
mov dword [ebp - 0x270], 0
jmp 0x42f6fe
mov edx, dword [ebp - 0x270]
add edx, 1
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x26c]
jge 0x42f869
lea ecx, [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00469ec0
add esp, 0xc
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00469fa0
add esp, 0xc
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00401e40
mov byte [ebp - 4], 6
push 5
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x274]
call fcn.00430710
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [eax]
mov dword [ebp - 0x2f0], ecx
push 0x4cdf5c
mov edx, dword [ebp - 0x2f0]
push edx
call fcn.00499e84
add esp, 8
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x289], al
mov eax, dword [ebp - 0x290]
sub eax, 0x10
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x2f8]
call fcn.0042a490
movzx ecx, byte [ebp - 0x289]
test ecx, ecx
je 0x42f7da
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x268]
call fcn.00402240
jmp 0x42f855
push 4
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x274]
call fcn.00430710
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
mov edx, dword [ecx]
mov dword [ebp - 0x2fc], edx
push 0x4cdf50
mov eax, dword [ebp - 0x2fc]
push eax
call fcn.00499e84
add esp, 8
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x291], al
mov ecx, dword [ebp - 0x298]
sub ecx, 0x10
mov dword [ebp - 0x304], ecx
mov ecx, dword [ebp - 0x304]
call fcn.0042a490
movzx edx, byte [ebp - 0x291]
test edx, edx
je 0x42f855
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402240
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x274]
call fcn.0044e670
jmp 0x42f6ef
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0046a020
add esp, 4
mov dword [ebp - 0x260], 1
mov edx, dword [ebp - 0x3a8]
mov eax, dword [edx + 0x1a8]
sub eax, 0x10
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 0x30c]
push ecx
call fcn.00402570
add esp, 4
mov dword [ebp - 0x310], eax
mov edx, dword [ebp - 0x310]
add edx, 0x10
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x314], ecx
mov edx, dword [ebp - 0x314]
sub edx, 0xc
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00419330
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x3ac]
mov dword [ebp - 0x318], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x318]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00402240
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x29c]
call fcn.0044e670
mov eax, 0x4cd570
test eax, eax
jne 0x42f927
mov dword [ebp - 0x320], 0
jmp 0x42f93a
push 0x4cd570
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x320]
push ecx
push 0x4cd570
lea ecx, [ebp - 0x1c]
call fcn.00401ba0
mov dword [ebp - 0x278], 1
jmp 0x42f969
mov edx, dword [ebp - 0x278]
add edx, 1
mov dword [ebp - 0x278], edx
cmp dword [ebp - 0x278], 6
jg 0x42fd90
mov dword [ebp - 0x27c], 7
jmp 0x42f991
mov eax, dword [ebp - 0x27c]
add eax, 1
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 9
jg 0x42fd8b
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10
mov dword [ebp - 0x324], ecx
mov edx, dword [ebp - 0x324]
push edx
call fcn.00402570
add esp, 4
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x328]
add eax, 0x10
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x3b0], ecx
cmp dword [ebp - 0x3b0], 7
je 0x42fa02
cmp dword [ebp - 0x3b0], 8
je 0x42fa46
cmp dword [ebp - 0x3b0], 9
je 0x42fa87
jmp 0x42fac6
mov edx, 0x4cd56c
test edx, edx
jne 0x42fa17
mov dword [ebp - 0x32c], 0
jmp 0x42fa2a
push 0x4cd56c
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x32c]
push eax
push 0x4cd56c
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp 0x42fac6
mov ecx, 0x4cd568
test ecx, ecx
jne 0x42fa5b
mov dword [ebp - 0x330], 0
jmp 0x42fa6e
push 0x4cd568
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x330], eax
mov edx, dword [ebp - 0x330]
push edx
push 0x4cd568
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp 0x42fac6
mov eax, 0x4cd564
test eax, eax
jne 0x42fa9c
mov dword [ebp - 0x334], 0
jmp 0x42faaf
push 0x4cd564
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x334]
push ecx
push 0x4cd564
lea ecx, [ebp - 0x280]
call fcn.00401ba0
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x3b4], edx
mov eax, dword [ebp - 0x3b4]
sub eax, 1
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 5
ja case.default.0x42faf4
mov ecx, dword [ebp - 0x3b4]
jmp dword [ecx*4 + 0x42ff3a]
mov edx, 0x4cd55c
test edx, edx
jne 0x42fb10
mov dword [ebp - 0x338], 0
jmp 0x42fb23
push 0x4cd55c
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x338]
push eax
push 0x4cd55c
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp case.default.0x42faf4
mov ecx, 0x4cd554
test ecx, ecx
jne 0x42fb54
mov dword [ebp - 0x33c], 0
jmp 0x42fb67
push 0x4cd554
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x33c], eax
mov edx, dword [ebp - 0x33c]
push edx
push 0x4cd554
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp case.default.0x42faf4
mov eax, 0x4cd54c
test eax, eax
jne 0x42fb98
mov dword [ebp - 0x340], 0
jmp 0x42fbab
push 0x4cd54c
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
push ecx
push 0x4cd54c
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp case.default.0x42faf4
mov edx, 0x4cd544
test edx, edx
jne 0x42fbdc
mov dword [ebp - 0x344], 0
jmp 0x42fbef
push 0x4cd544
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x344]
push eax
push 0x4cd544
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp case.default.0x42faf4
mov ecx, 0x4cd53c
test ecx, ecx
jne 0x42fc20
mov dword [ebp - 0x348], 0
jmp 0x42fc33
push 0x4cd53c
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x348], eax
mov edx, dword [ebp - 0x348]
push edx
push 0x4cd53c
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp case.default.0x42faf4
mov eax, 0x4cd534
test eax, eax
jne 0x42fc61
mov dword [ebp - 0x34c], 0
jmp 0x42fc74
push 0x4cd534
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
push ecx
push 0x4cd534
lea ecx, [ebp - 0x280]
call fcn.00401ba0
mov edx, 0x4cd528
test edx, edx
jne 0x42fca0
mov dword [ebp - 0x350], 0
jmp 0x42fcb3
push 0x4cd528
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
push eax
push 0x4cd528
lea ecx, [ebp - 0x280]
call fcn.00401ba0
cmp dword [ebp - 0x260], 0
je 0x42fd61
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0x10]
push eax
push ecx
call fcn.00419410
add esp, 0xc
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x278]
push eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2a4], esp
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
push ecx
call fcn.00419410
add esp, 0xc
mov dword [ebp - 0x3c0], eax
mov byte [ebp - 4], 9
call fcn.0040f830
add esp, 0x14
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x3c4], 0
je 0x42fd61
mov dword [ebp - 0x3c8], 1
jmp 0x42fd6b
mov dword [ebp - 0x3c8], 0
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x260], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x280]
call fcn.0044e670
jmp 0x42f982
jmp 0x42f95a
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.00419410
add esp, 0xc
mov dword [ebp - 0x358], eax
mov edx, dword [ebp - 0x358]
mov eax, dword [edx]
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2a8]
call fcn.0044e670
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.00419410
add esp, 0xc
mov dword [ebp - 0x364], eax
mov edx, dword [ebp - 0x364]
mov eax, dword [edx]
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x368]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2ac]
call fcn.0044e670
cmp dword [ebp - 0x260], 0
jne 0x42feb1
mov ecx, dword [ebp - 0x3a8]
call fcn.00430360
mov ecx, dword [ebp - 0x3a8]
call fcn.0042ff60
mov dword [ebp - 0x2b0], 0xffffffff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.0044e670
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0044e670
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.0044e670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0044e670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.0044e670
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0044e670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0044e670
mov eax, dword [ebp - 0x2b0]
jmp 0x42ff24
mov dword [ebp - 0x2b4], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.0044e670
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0044e670
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.0044e670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0044e670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.0044e670
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0044e670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0044e670
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x20]
call fcn.00498784
mov esp, ebp
pop ebp
ret