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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035f79
mov eax, dword fs:[0]
push eax
sub esp, 0x9c8
mov eax, dword [0x10051070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x99c], ecx
push 0x1004b070
lea ecx, [ebp - 0x878]
call fcn.10001c90
mov dword [ebp - 4], 0
mov dword [ebp - 0x998], 0
lea eax, [ebp - 0x998]
push eax
call fcn.10004c20
add esp, 4
cmp dword [ebp - 0x998], 0x258
jl 0x1000829d
push str.configdialconfig.txt
lea ecx, [ebp - 0x878]
call fcn.100042b0
lea ecx, [ebp - 0x8a8]
push ecx
call fcn.10004d50
add esp, 4
mov byte [ebp - 4], 1
call fcn.10005080
lea ecx, [ebp - 0x860]
call fcn.10003940
mov byte [ebp - 4], 2
push 0x400
lea eax, [ebp - 0x810]
push eax
call fcn.10003f30
add esp, 8
push eax
lea ecx, [ebp - 0x958]
call fcn.10001c90
mov dword [ebp - 0x9d0], eax
mov ecx, dword [ebp - 0x9d0]
mov dword [ebp - 0x9cc], ecx
mov byte [ebp - 4], 3
push 0x1004b0a0
mov edx, dword [ebp - 0x9cc]
push edx
lea eax, [ebp - 0x970]
push eax
call fcn.10002a00
add esp, 0xc
mov dword [ebp - 0x9c8], eax
mov ecx, dword [ebp - 0x9c8]
mov dword [ebp - 0x9c4], ecx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x878]
push edx
mov eax, dword [ebp - 0x9c4]
push eax
lea ecx, [ebp - 0x988]
push ecx
call fcn.10004710
add esp, 0xc
mov dword [ebp - 0x9c0], eax
mov edx, dword [ebp - 0x9c0]
mov dword [ebp - 0x9bc], edx
mov byte [ebp - 4], 5
push 0x80000000
push 3
mov ecx, dword [ebp - 0x9bc]
call fcn.100019c0
push eax
lea ecx, [ebp - 0x860]
call fcn.10003a00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x988]
call fcn.10001ad0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x970]
call fcn.10001ad0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x958]
call fcn.10001ad0
push 0x10052d30
lea ecx, [ebp - 0x860]
call fcn.10003d20
add eax, 1
push eax
call fcn.1000b376
add esp, 8
mov dword [ebp - 0x9b8], eax
mov eax, dword [ebp - 0x9b8]
mov dword [ebp - 0x990], eax
cmp dword [ebp - 0x990], 0
jne 0x10008422
mov byte [ebp - 0x98b], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x860]
call fcn.100039a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8a8]
call fcn.10001ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x878]
call fcn.10001ad0
mov al, byte [ebp - 0x98b]
jmp 0x100087bd
mov dword [ebp - 0x994], 0
lea ecx, [ebp - 0x994]
push ecx
lea ecx, [ebp - 0x860]
call fcn.10003d20
add eax, 1
push eax
mov edx, dword [ebp - 0x990]
push edx
lea ecx, [ebp - 0x860]
call fcn.10003ca0
mov eax, dword [ebp - 0x990]
add eax, dword [ebp - 0x994]
mov byte [eax], 0
mov ecx, dword [ebp - 0x990]
push ecx
lea ecx, [ebp - 0x840]
call fcn.10001c90
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x990]
push edx
lea eax, [ebp - 0x940]
push eax
call fcn.100037c0
add esp, 8
mov dword [ebp - 0x9b4], eax
mov ecx, dword [ebp - 0x9b4]
push ecx
lea ecx, [ebp - 0x840]
call fcn.10001b20
lea ecx, [ebp - 0x940]
call fcn.10001ad0
mov edx, dword [ebp - 0x990]
mov dword [ebp - 0x9b0], edx
mov eax, dword [ebp - 0x9b0]
push eax
call fcn.1000afda
add esp, 4
push 0x10044727
push 1
lea ecx, [ebp - 0x840]
push ecx
call fcn.100090f0
add esp, 8
push eax
call fcn.100047b0
add esp, 8
movzx edx, al
test edx, edx
je 0x10008544
mov byte [ebp - 0x989], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x840]
call fcn.10001ad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x860]
call fcn.100039a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8a8]
call fcn.10001ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x878]
call fcn.10001ad0
mov al, byte [ebp - 0x989]
jmp 0x100087bd
lea ecx, [ebp - 0x828]
call fcn.10001d00
mov byte [ebp - 4], 7
lea eax, [ebp - 0x910]
push eax
call fcn.10004250
add esp, 4
mov dword [ebp - 0x9ac], eax
mov ecx, dword [ebp - 0x9ac]
mov dword [ebp - 0x9a8], ecx
mov byte [ebp - 4], 8
push str.jixian
mov edx, dword [ebp - 0x9a8]
push edx
lea eax, [ebp - 0x928]
push eax
call fcn.10002a00
add esp, 0xc
mov dword [ebp - 0x9a4], eax
mov ecx, dword [ebp - 0x9a4]
push ecx
lea ecx, [ebp - 0x828]
call fcn.10001b20
lea ecx, [ebp - 0x928]
call fcn.10001ad0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x910]
call fcn.10001ad0
lea ecx, [ebp - 0x828]
call fcn.100019c0
push eax
call fcn.10003d50
add esp, 4
test eax, eax
jne 0x10008642
push str.c:jixian
lea ecx, [ebp - 0x828]
call fcn.100042b0
lea ecx, [ebp - 0x828]
call fcn.100019c0
push eax
call fcn.10003d50
add esp, 4
test eax, eax
jne 0x10008642
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea edx, [ebp - 0x40f]
push edx
call fcn.10023d20
add esp, 0xc
push 0x400
lea eax, [ebp - 0x410]
push eax
call fcn.10003f30
add esp, 8
push eax
lea ecx, [ebp - 0x828]
call fcn.100042b0
lea ecx, [ebp - 0x8c8]
call fcn.10003940
mov byte [ebp - 4], 9
push 0x1004b0b8
lea ecx, [ebp - 0x828]
push ecx
lea edx, [ebp - 0x8f8]
push edx
call fcn.10004650
add esp, 0xc
mov dword [ebp - 0x9a0], eax
mov eax, dword [ebp - 0x9a0]
push eax
lea ecx, [ebp - 0x890]
call fcn.10001c10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8f8]
call fcn.10001ad0
lea ecx, [ebp - 0x890]
call fcn.100019c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100086bb
lea ecx, [ebp - 0x890]
call fcn.100019c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xc0000000
push 2
lea ecx, [ebp - 0x890]
call fcn.100019c0
push eax
lea ecx, [ebp - 0x8c8]
call fcn.10003a00
test eax, eax
je 0x10008700
lea ecx, [ebp - 0x840]
call fcn.100019a0
push eax
lea ecx, [ebp - 0x840]
call fcn.100019c0
push eax
lea ecx, [ebp - 0x8c8]
call fcn.10003c70
push str.jx.bin
lea ecx, [ebp - 0x828]
push ecx
lea edx, [ebp - 0x8e0]
push edx
call fcn.10004650
add esp, 0xc
mov dword [ebp - 0x9d4], eax
mov eax, dword [ebp - 0x9d4]
push eax
mov ecx, dword [ebp - 0x99c]
add ecx, 0x42c
call fcn.10001b20
lea ecx, [ebp - 0x8e0]
call fcn.10001ad0
mov byte [ebp - 0x98a], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x890]
call fcn.10001ad0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c8]
call fcn.100039a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x828]
call fcn.10001ad0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x840]
call fcn.10001ad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x860]
call fcn.100039a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8a8]
call fcn.10001ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x878]
call fcn.10001ad0
mov al, byte [ebp - 0x98a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000afc9
mov esp, ebp
pop ebp
ret