Function at 0x418350
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534fea
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x8e0
mov eax, dword [0x56d940]
xor eax, ebp
mov dword [ebp - 0x44], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x890], ecx
lea ecx, [ebp - 0x30]
call fcn.00402c10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402c10
mov byte [ebp - 4], 1
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x24]
call fcn.004e381d
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00402c10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.00402c10
mov byte [ebp - 4], 5
push str.http:__box64.9chapu.com_qidongqi_start.ini
lea ecx, [ebp - 0x3c]
call fcn.00402d10
push ecx
mov ecx, esp
mov dword [ebp - 0x860], esp
lea eax, [ebp - 0x3c]
push eax
call fcn.00402c30
mov dword [ebp - 0x894], eax
lea ecx, [ebp - 0x864]
push ecx
call fcn.004b25c0
add esp, 8
mov dword [ebp - 0x898], eax
mov edx, dword [ebp - 0x898]
mov dword [ebp - 0x89c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x89c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00402cf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x864]
call fcn.00402cd0
lea ecx, [ebp - 0x34]
call fcn.00403460
movzx ecx, al
test ecx, ecx
jne 0x418473
lea ecx, [ebp - 0x3c]
call fcn.00420f50
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea ecx, [ebp - 0x34]
call fcn.00420f50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x400002
push 0
lea ecx, [ebp - 0x3c]
call fcn.00420f50
push eax
lea ecx, [ebp - 0x24]
call fcn.004e44c9
mov dword [ebp - 0x8a0], eax
mov edx, dword [ebp - 0x8a0]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
push 0x400
lea eax, [ebp - 0x848]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x8a4]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
jg 0x4184ac
cmp dword [ebp - 0x28], 0
je 0x418545
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 0x4c]
call edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x86c], eax
mov ecx, dword [ebp - 0x86c]
mov dword [ebp - 0x868], ecx
cmp dword [ebp - 0x868], 0
je 0x418534
push 1
mov edx, dword [ebp - 0x868]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x868]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x8a8], eax
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x8ac], eax
jmp 0x41853e
mov dword [ebp - 0x8ac], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x24]
call fcn.004e3eb6
push ecx
mov ecx, esp
mov dword [ebp - 0x870], esp
lea edx, [ebp - 0x3c]
push edx
call fcn.00402c30
mov dword [ebp - 0x8b0], eax
lea eax, [ebp - 0x874]
push eax
call fcn.004b25c0
add esp, 8
mov dword [ebp - 0x8b4], eax
mov ecx, dword [ebp - 0x8b4]
mov dword [ebp - 0x8b8], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x8b8]
push edx
lea ecx, [ebp - 0x34]
call fcn.00402cf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x874]
call fcn.00402cd0
push 0x104
lea ecx, [ebp - 0x30]
call fcn.00403440
mov dword [ebp - 0x8bc], eax
lea ecx, [ebp - 0x34]
call fcn.00420f50
push eax
push 0x104
mov eax, dword [ebp - 0x8bc]
push eax
push 0x5501e0
push 0x5501e4
push 0x5501ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.00403480
push 0x14
lea ecx, [ebp - 0x2c]
call fcn.00403440
mov dword [ebp - 0x8c0], eax
lea ecx, [ebp - 0x34]
call fcn.00420f50
push eax
push 0x14
mov ecx, dword [ebp - 0x8c0]
push ecx
push 0x5501f8
push 0x5501fc
push 0x550204
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403480
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x890]
add ecx, 0x280
call fcn.00402cf0
push 0x104
mov ecx, dword [ebp - 0x890]
add ecx, 0x27c
call fcn.00403440
mov dword [ebp - 0x8c4], eax
lea ecx, [ebp - 0x34]
call fcn.00420f50
push eax
push 0x104
mov eax, dword [ebp - 0x8c4]
push eax
push 0x550210
push 0x550214
push 0x55021c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x890]
add ecx, 0x27c
call fcn.00403480
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.00402cd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00402cd0
jmp 0x41870d
mov dword [ebp - 4], 2
jmp 0x418742
jmp 0x418770
mov eax, dword [ebp - 0x890]
add eax, 0x278
push ecx
mov ecx, esp
mov dword [ebp - 0x878], esp
push eax
call fcn.00402c30
mov dword [ebp - 0x8c8], eax
call fcn.004be100
add esp, 4
mov dword [ebp - 0x8cc], eax
cmp dword [ebp - 0x8cc], 0
je 0x4189b2
lea ecx, [ebp - 0x854]
call fcn.00402c10
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x87c], esp
push 0x550228
call fcn.00402c50
mov dword [ebp - 0x8d0], eax
mov ecx, dword [ebp - 0x8d0]
mov dword [ebp - 0x8d4], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x890]
add edx, 0x278
push ecx
mov ecx, esp
mov dword [ebp - 0x880], esp
push edx
call fcn.00402c30
mov dword [ebp - 0x8d8], eax
lea eax, [ebp - 0x884]
push eax
mov byte [ebp - 4], 9
call fcn.004b1c70
add esp, 0xc
mov dword [ebp - 0x8dc], eax
mov ecx, dword [ebp - 0x8dc]
mov dword [ebp - 0x8e0], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x8e0]
push edx
lea ecx, [ebp - 0x854]
call fcn.00402cf0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x884]
call fcn.00402cd0
lea ecx, [ebp - 0x854]
call fcn.00403460
movzx eax, al
test eax, eax
je 0x41889d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x854]
call fcn.00402cd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004e402c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402cd0
jmp 0x4189d9
mov ecx, dword [ebp - 0x890]
mov dword [ecx + 0x28c], 1
mov edx, dword [ebp - 0x890]
add edx, 0x268
push ecx
mov ecx, esp
mov dword [ebp - 0x888], esp
push edx
call fcn.00402c30
mov dword [ebp - 0x8e4], eax
mov ecx, dword [ebp - 0x890]
call fcn.00419eb0
mov dword [ebp - 0x8e8], eax
mov eax, dword [ebp - 0x8e8]
mov dword [ebp - 0x858], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x88c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00402c30
mov dword [ebp - 0x8ec], eax
mov ecx, dword [ebp - 0x890]
call fcn.00419eb0
mov dword [ebp - 0x8f0], eax
mov eax, dword [ebp - 0x8f0]
mov dword [ebp - 0x850], eax
mov ecx, dword [ebp - 0x850]
cmp ecx, dword [ebp - 0x858]
jle 0x4189a3
lea ecx, [ebp - 0x2c]
call fcn.00403460
movzx edx, al
test edx, edx
jne 0x4189a3
lea ecx, [ebp - 0x85c]
call fcn.00402c10
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x85c]
call fcn.00402cf0
push 5
push 0x550240
lea ecx, [ebp - 0x85c]
call fcn.00420f50
push eax
mov ecx, dword [ebp - 0x890]
add ecx, 0x278
call fcn.00420f50
push eax
push 0x550244
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call fcn.00502336
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x85c]
call fcn.00402cd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x854]
call fcn.00402cd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004e402c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.005007b7
mov esp, ebp
pop ebp
ret