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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3bc
mov eax, dword [0x4fb770]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3a8], ecx
mov ecx, dword [ebp - 0x3a8]
call fcn.00430fb0
mov eax, dword [ebp - 0x3a8]
add eax, 0x244
push eax
lea ecx, [ebp - 0x258]
call fcn.00432280
mov dword [ebp - 4], 0
call fcn.004ba5ee
push eax
lea ecx, [ebp - 0x264]
call fcn.00432250
mov byte [ebp - 4], 1
push 0x104
push 0x104
lea ecx, [ebp - 0x264]
call fcn.0041bf90
push eax
call fcn.0043e210
add esp, 8
mov dword [ebp - 0x2bc], 0xffffffff
cmp dword [ebp - 0x2bc], 0xffffffff
jne 0x4304f1
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x2b8], ecx
cmp dword [ebp - 0x2b8], 0
jne 0x4304dc
mov dword [ebp - 0x2bc], 0
jmp 0x4304f1
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x264]
call fcn.00456690
mov ecx, 0x4d3240
test ecx, ecx
jne 0x430518
mov dword [ebp - 0x2c0], 0
jmp 0x43052b
push 0x4d3240
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x2c0], eax
mov edx, dword [ebp - 0x2c0]
push edx
push 0x4d3240
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.00419430
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4305f1
mov ecx, dword [ebp - 0x3a8]
call fcn.004313b0
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.0042ad20
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.0042ad20
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.0042ad20
mov eax, dword [ebp - 0x284]
jmp 0x430f74
push 0
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.0046e820
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x430688
mov ecx, dword [ebp - 0x3a8]
call fcn.004313b0
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.0042ad20
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.0042ad20
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.0042ad20
mov eax, dword [ebp - 0x288]
jmp 0x430f74
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x3a8]
call fcn.004310e0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0046e940
add esp, 8
lea edx, [ebp - 0x254]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
push eax
call fcn.0046e840
add esp, 0xc
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x26c], ecx
call fcn.004ba5ee
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.004ba5ee
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 0x43074e
mov edx, dword [ebp - 0x270]
add edx, 1
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x26c]
jge 0x4308b9
lea ecx, [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0046e840
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.0046e920
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.004318c0
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [eax]
mov dword [ebp - 0x2f0], ecx
push 0x4d3234
mov edx, dword [ebp - 0x2f0]
push edx
call fcn.0049e884
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.0042ad20
movzx ecx, byte [ebp - 0x289]
test ecx, ecx
je 0x43082a
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x268]
call fcn.00402240
jmp 0x4308a5
push 4
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x274]
call fcn.004318c0
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
mov edx, dword [ecx]
mov dword [ebp - 0x2fc], edx
push 0x4d3228
mov eax, dword [ebp - 0x2fc]
push eax
call fcn.0049e884
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.0042ad20
movzx edx, byte [ebp - 0x291]
test edx, edx
je 0x4308a5
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402240
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x274]
call fcn.0044f730
jmp 0x43073f
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0046e9a0
add esp, 4
mov dword [ebp - 0x260], 1
mov edx, dword [ebp - 0x3a8]
mov eax, dword [edx + 0x244]
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.00419350
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.0044f730
mov eax, 0x4d2700
test eax, eax
jne 0x430977
mov dword [ebp - 0x320], 0
jmp 0x43098a
push 0x4d2700
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x320]
push ecx
push 0x4d2700
lea ecx, [ebp - 0x1c]
call fcn.00401ba0
mov dword [ebp - 0x278], 1
jmp 0x4309b9
mov edx, dword [ebp - 0x278]
add edx, 1
mov dword [ebp - 0x278], edx
cmp dword [ebp - 0x278], 6
jg 0x430de0
mov dword [ebp - 0x27c], 7
jmp 0x4309e1
mov eax, dword [ebp - 0x27c]
add eax, 1
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 9
jg 0x430ddb
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 0x430a52
cmp dword [ebp - 0x3b0], 8
je 0x430a96
cmp dword [ebp - 0x3b0], 9
je 0x430ad7
jmp 0x430b16
mov edx, 0x4d26fc
test edx, edx
jne 0x430a67
mov dword [ebp - 0x32c], 0
jmp 0x430a7a
push 0x4d26fc
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x32c]
push eax
push 0x4d26fc
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp 0x430b16
mov ecx, 0x4d26f8
test ecx, ecx
jne 0x430aab
mov dword [ebp - 0x330], 0
jmp 0x430abe
push 0x4d26f8
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x330], eax
mov edx, dword [ebp - 0x330]
push edx
push 0x4d26f8
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp 0x430b16
mov eax, 0x4d26f4
test eax, eax
jne 0x430aec
mov dword [ebp - 0x334], 0
jmp 0x430aff
push 0x4d26f4
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x334]
push ecx
push 0x4d26f4
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.0x430b44
mov ecx, dword [ebp - 0x3b4]
jmp dword [ecx*4 + 0x430f8a]
mov edx, 0x4d26ec
test edx, edx
jne 0x430b60
mov dword [ebp - 0x338], 0
jmp 0x430b73
push 0x4d26ec
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x338]
push eax
push 0x4d26ec
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp case.default.0x430b44
mov ecx, 0x4d26e4
test ecx, ecx
jne 0x430ba4
mov dword [ebp - 0x33c], 0
jmp 0x430bb7
push 0x4d26e4
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x33c], eax
mov edx, dword [ebp - 0x33c]
push edx
push 0x4d26e4
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp case.default.0x430b44
mov eax, 0x4d26dc
test eax, eax
jne 0x430be8
mov dword [ebp - 0x340], 0
jmp 0x430bfb
push 0x4d26dc
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
push ecx
push 0x4d26dc
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp case.default.0x430b44
mov edx, 0x4d26d4
test edx, edx
jne 0x430c2c
mov dword [ebp - 0x344], 0
jmp 0x430c3f
push 0x4d26d4
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x344]
push eax
push 0x4d26d4
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp case.default.0x430b44
mov ecx, 0x4d26cc
test ecx, ecx
jne 0x430c70
mov dword [ebp - 0x348], 0
jmp 0x430c83
push 0x4d26cc
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x348], eax
mov edx, dword [ebp - 0x348]
push edx
push 0x4d26cc
lea ecx, [ebp - 0x280]
call fcn.00401ba0
jmp case.default.0x430b44
mov eax, 0x4d26c4
test eax, eax
jne 0x430cb1
mov dword [ebp - 0x34c], 0
jmp 0x430cc4
push 0x4d26c4
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
push ecx
push 0x4d26c4
lea ecx, [ebp - 0x280]
call fcn.00401ba0
mov edx, 0x4d26b8
test edx, edx
jne 0x430cf0
mov dword [ebp - 0x350], 0
jmp 0x430d03
push 0x4d26b8
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
push eax
push 0x4d26b8
lea ecx, [ebp - 0x280]
call fcn.00401ba0
cmp dword [ebp - 0x260], 0
je 0x430db1
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.00419430
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.00419430
add esp, 0xc
mov dword [ebp - 0x3c0], eax
mov byte [ebp - 4], 9
call fcn.0040f870
add esp, 0x14
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x3c4], 0
je 0x430db1
mov dword [ebp - 0x3c8], 1
jmp 0x430dbb
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.0044f730
jmp 0x4309d2
jmp 0x4309aa
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.00419430
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.0044f730
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.00419430
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.0044f730
cmp dword [ebp - 0x260], 0
jne 0x430f01
mov ecx, dword [ebp - 0x3a8]
call fcn.004313b0
mov ecx, dword [ebp - 0x3a8]
call fcn.00430fb0
mov dword [ebp - 0x2b0], 0xffffffff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.0044f730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0044f730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.0044f730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0044f730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.0044f730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0044f730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0044f730
mov eax, dword [ebp - 0x2b0]
jmp 0x430f74
mov dword [ebp - 0x2b4], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.0044f730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0044f730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.0044f730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0044f730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.0044f730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0044f730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0044f730
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x20]
call fcn.0049d184
mov esp, ebp
pop ebp
ret