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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536785
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x66c
mov dword [ebp - 0x678], ecx
lea ecx, [ebp - 0x320]
call fcn.0043e99e
mov dword [ebp - 4], 0
call fcn.004090a0
cmp dword [eax + 0x410], 0
je 0x43c553
push 1
call fcn.004090a0
mov ecx, dword [eax + 0x410]
call fcn.0044506d
lea ecx, [ebp - 0x18]
call fcn.00428d70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x318]
push ecx
mov ecx, dword [ebp - 0x678]
call fcn.0043ce42
test eax, eax
jne 0x43c59c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00428dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.0043ea1f
jmp 0x43ce08
call fcn.004090a0
mov edx, dword [eax + 0x1c]
add edx, 0xa08
mov dword [ebp - 0x340], edx
mov ecx, dword [ebp - 0x340]
call fcn.00478dcc
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0
jne 0x43c5ed
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00428dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.0043ea1f
jmp 0x43ce08
mov dword [ebp - 0x360], 0
mov eax, dword [ebp - 0x364]
shl eax, 2
push eax
call fcn.005142b0
add esp, 4
mov dword [ebp - 0x660], eax
mov ecx, dword [ebp - 0x660]
mov dword [ebp - 0x324], ecx
mov edx, dword [ebp - 0x324]
push edx
mov ecx, dword [ebp - 0x340]
call fcn.00478e20
push 0x55fd24
lea eax, [ebp - 0x318]
push eax
call fcn.004fa5a0
add esp, 8
mov dword [ebp - 0x358], 0
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.shlwapi.dll_PathFileExistsA]
test eax, eax
je 0x43c666
mov dword [ebp - 0x358], 1
push 0
lea ecx, [ebp - 0x4f0]
call fcn.004250f0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x318]
push edx
lea ecx, [ebp - 0x490]
call fcn.00513e76
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x48c], eax
call fcn.004090a0
mov ecx, dword [eax + 0x414]
mov dword [ebp - 0x484], ecx
cmp dword [ebp - 0x358], 0
je 0x43c6c1
push 0x55fd34
lea ecx, [ebp - 0x488]
call fcn.00513e76
jmp 0x43c6d1
push 0x55fd38
lea ecx, [ebp - 0x488]
call fcn.00513e76
lea ecx, [ebp - 0x4f0]
call fcn.00514883
cmp eax, 1
je 0x43c713
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f0]
call fcn.00425280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00428dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.0043ea1f
jmp 0x43ce08
call fcn.004090a0
mov edx, dword [ebp - 0x484]
mov dword [eax + 0x414], edx
mov eax, dword [ebp - 0x678]
mov dword [eax + 0x36c], 0
lea ecx, [ebp - 0x354]
call fcn.004016b0
mov byte [ebp - 4], 3
push 0xa224
lea ecx, [ebp - 0x354]
call fcn.00514c73
push 1
lea ecx, [ebp - 0x354]
call fcn.00409600
push eax
push 0
call fcn.004090a0
mov ecx, dword [eax + 0x1c]
add ecx, 0x1a8
call fcn.0051c532
call fcn.004090a0
mov dword [eax + 0x408], 0
lea ecx, [ebp - 0x350]
call fcn.00514d96
mov byte [ebp - 4], 4
call fcn.004090a0
cmp dword [eax + 0x414], 0
jne 0x43c7af
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x33c]
call fcn.004411f0
mov byte [ebp - 4], 5
call fcn.004090a0
cmp dword [eax + 0x414], 0
je 0x43c7df
cmp dword [ebp - 0x358], 0
jne 0x43c865
lea edx, [ebp - 0x33c]
push edx
push 0x9001
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x350]
call fcn.00514ea8
test eax, eax
jne 0x43c860
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x33c]
call fcn.004412c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x350]
call fcn.00514deb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x354]
call fcn.00513ced
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f0]
call fcn.00425280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00428dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.0043ea1f
jmp 0x43ce08
jmp 0x43ca67
lea ecx, [ebp - 0x33c]
push ecx
push 0x8000
lea edx, [ebp - 0x318]
push edx
lea ecx, [ebp - 0x350]
call fcn.00514ea8
test eax, eax
jne 0x43c8e6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x33c]
call fcn.004412c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x350]
call fcn.00514deb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x354]
call fcn.00513ced
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f0]
call fcn.00425280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00428dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.0043ea1f
jmp 0x43ce08
mov dword [ebp - 0x4f8], 0
lea ecx, [ebp - 0x350]
call fcn.00431ed0
mov dword [ebp - 0x4f4], eax
cmp dword [ebp - 0x4f4], 0
jbe 0x43c969
lea ecx, [ebp - 0x350]
call fcn.00431ef0
mov eax, dword [ebp - 0x4f4]
push eax
call fcn.005142b0
add esp, 4
mov dword [ebp - 0x664], eax
mov ecx, dword [ebp - 0x664]
mov dword [ebp - 0x4f8], ecx
mov edx, dword [ebp - 0x4f4]
push edx
mov eax, dword [ebp - 0x4f8]
push eax
lea ecx, [ebp - 0x350]
call fcn.00441320
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x4f4]
push edx
mov eax, dword [ebp - 0x4f8]
push eax
call fcn.00428118
add esp, 0xc
lea ecx, [ebp - 0x350]
call fcn.005150c3
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea edx, [ebp - 0x33c]
push edx
push 0x9001
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x350]
call fcn.00514ea8
test eax, eax
jne 0x43ca2a
cmp dword [ebp - 0x4f8], 0
je 0x43c9cb
mov ecx, dword [ebp - 0x4f8]
mov dword [ebp - 0x668], ecx
mov edx, dword [ebp - 0x668]
push edx
call fcn.005142d9
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x33c]
call fcn.004412c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x350]
call fcn.00514deb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x354]
call fcn.00513ced
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f0]
call fcn.00425280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00428dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.0043ea1f
jmp 0x43ce08
mov eax, dword [ebp - 0x4f4]
push eax
mov ecx, dword [ebp - 0x4f8]
push ecx
lea ecx, [ebp - 0x350]
call fcn.00441340
cmp dword [ebp - 0x4f8], 0
je 0x43ca67
mov edx, dword [ebp - 0x4f8]
mov dword [ebp - 0x66c], edx
mov eax, dword [ebp - 0x66c]
push eax
call fcn.005142d9
add esp, 4
lea ecx, [ebp - 0x350]
call fcn.00431ed0
lea ecx, [ebp - 0x480]
call fcn.00441380
call fcn.004090a0
cmp dword [eax + 0x414], 0
jne 0x43cac9
lea ecx, [ebp - 0x480]
push ecx
lea edx, [ebp - 0x318]
push edx
call fcn.00516ecc
test eax, eax
je 0x43cac9
mov byte [ebp - 0x470], 0x22
push 0
lea ecx, [ebp - 0x47c]
call fcn.00441360
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x318]
push ecx
call fcn.00517031
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x35c], 0
jmp 0x43caee
mov edx, dword [ebp - 0x35c]
add edx, 1
mov dword [ebp - 0x35c], edx
mov eax, dword [ebp - 0x35c]
cmp eax, dword [ebp - 0x364]
jge 0x43ccf7
mov ecx, dword [ebp - 0x35c]
mov edx, dword [ebp - 0x324]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x340]
call fcn.00478d94
mov dword [ebp - 0x360], eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x360]
call fcn.004045b3
mov edx, dword [ebp - 0x35c]
mov eax, dword [ebp - 0x324]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x500], ecx
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x65c]
call fcn.00513d5b
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x65c]
call fcn.0051419b
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x558]
call fcn.00513a62
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x65c]
call fcn.00409600
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.004fa590
add esp, 8
lea edx, [ebp - 0x118]
push edx
call fcn.0042559b
add esp, 4
mov ecx, dword [ebp - 0x340]
call fcn.00478db3
push eax
mov eax, dword [ebp - 0x500]
add eax, 1
push eax
push 0x55fd3c
lea ecx, [ebp - 0x550]
push ecx
call fcn.004fa9f4
add esp, 0x10
push 1
lea edx, [ebp - 0x550]
push edx
push 1
call fcn.004090a0
mov ecx, dword [eax + 0x1c]
add ecx, 0x1a8
call fcn.0051c532
lea ecx, [ebp - 0x558]
call fcn.00409600
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.004fa590
add esp, 8
push 0x55fd44
lea ecx, [ebp - 0x658]
push ecx
call fcn.004fa5a0
add esp, 8
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x4fc], 0
call fcn.004090a0
cmp dword [eax + 0x410], 0
je 0x43cca6
lea edx, [ebp - 0x4fc]
push edx
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x658]
push ecx
call fcn.004090a0
mov ecx, dword [eax + 0x410]
call fcn.004513c2
test eax, eax
je 0x43cca6
mov edx, dword [ebp - 0x4fc]
push edx
mov eax, dword [ebp - 0x554]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x350]
push edx
call fcn.004090a0
mov ecx, dword [eax + 0x410]
call fcn.0045185e
mov eax, dword [ebp - 0x328]
add eax, 1
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x554], 0
je 0x43ccca
mov ecx, dword [ebp - 0x554]
mov dword [ebp - 0x670], ecx
mov edx, dword [ebp - 0x670]
push edx
call fcn.005142d9
add esp, 4
mov dword [ebp - 0x554], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x558]
call fcn.00513ced
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x65c]
call fcn.00513ced
jmp 0x43cadf
lea ecx, [ebp - 0x350]
call fcn.005150c3
push 0xa225
lea ecx, [ebp - 0x354]
call fcn.00514c73
push 1
lea ecx, [ebp - 0x354]
call fcn.00409600
push eax
push 0
call fcn.004090a0
mov ecx, dword [eax + 0x1c]
add ecx, 0x1a8
call fcn.0051c532
cmp dword [ebp - 0x324], 0
je 0x43cd59
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x674]
push ecx
call fcn.005142d9
add esp, 4
lea ecx, [ebp - 0x368]
call fcn.004016b0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x364]
push eax
push 0x55fd4c
lea ecx, [ebp - 0x368]
push ecx
call fcn.0050ceb2
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x368]
call fcn.00409600
push eax
call fcn.0051c1dd
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x368]
call fcn.00513ced
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x33c]
call fcn.004412c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x350]
call fcn.00514deb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x354]
call fcn.00513ced
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f0]
call fcn.00425280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00428dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.0043ea1f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4