Function at 0x430d60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x56d380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
push esi
call fcn.0045f330
push 0
push 2
call fcn.00503674
push eax
call fcn.005037e8
push 0x53e568
push 2
mov dword [esi + 0x10dc], eax
call fcn.00503674
add esp, 0x18
lea eax, [ebp - 0x10c]
push eax
lea ecx, [esi + 0x1100]
call fcn.00451b10
push eax
lea ecx, [esi + 0x1068]
call fcn.00423fc0
mov eax, dword [ebp - 0x10c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430de2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esi + 0x1068]
push edi
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [esi + 0x1100]
call fcn.00452970
lea ecx, [esi + 0x108c]
push eax
call fcn.00423fc0
mov eax, dword [ebp - 0x10c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430e29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [esi + 0x1100]
call fcn.00451b90
push eax
lea ecx, [esi + 0x1064]
call fcn.00423fc0
mov eax, dword [ebp - 0x10c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430e69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x1064]
mov edi, dword [eax - 0xc]
cmp edi, 1
jg 0x430e88
add eax, 0xfffffff0
push eax
call fcn.00403b50
add esp, 4
lea edi, [eax + 0x10]
jmp 0x430ecb
mov eax, dword [eax - 0x10]
test eax, eax
je 0x430e9c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x430eac
mov edx, dword [0x56c260]
mov eax, dword [edx + 0x10]
mov ecx, 0x56c260
call eax
mov ecx, dword [esi + 0x1064]
push eax
lea ecx, [ecx + edi*2 - 2]
push 1
push ecx
lea ecx, [ebp - 0x10c]
call fcn.00403330
mov edi, dword [ebp - 0x10c]
push 0x556338
push edi
call fcn.004fe94a
add esp, 8
test eax, eax
lea eax, [edi - 0x10]
setne byte [ebp - 0x10d]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430efe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x10d], 0
je 0x430f19
push 1
push 0x556338
lea ecx, [esi + 0x1064]
call fcn.004034c0
call fcn.0045f340
cmp dword [eax + 0x1048], 1
lea ecx, [esi + 0x10b0]
je 0x430f54
push 0xb
push str.yylnch.conf
call fcn.00403ee0
push 0x11
lea ecx, [esi + 0x10b4]
push str.gatewayserver.dat
call fcn.00403ee0
push 0x41
push str.http:__download.5211game.com_11_ptupdate_config_gatewayserver.dat
jmp 0x430f79
push 0xd
push str.yylnch_t.conf
call fcn.00403ee0
push 0x13
lea ecx, [esi + 0x10b4]
push str.gatewayserver_t.dat
call fcn.00403ee0
push 0x38
push str.http:__10.0.19.239_ptupdate_config_yygatewayserver_t.dat
lea ecx, [esi + 0x10b8]
call fcn.00403ee0
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, esi
call fcn.00430a80
mov eax, dword [ebp - 0x10c]
cmp dword [eax - 0xc], 0
jle 0x430fbd
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
call fcn.00403b50
add eax, 0x10
add esp, 4
lea ecx, [esi + 0x11a0]
mov dword [edi], eax
call fcn.00432f90
push str.1003
lea ecx, [ebp - 0x118]
call fcn.0042abe0
mov eax, dword [ebp - 0x118]
push 3
lea edx, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], edx
call fcn.004046e0
mov ecx, dword [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x114]
call fcn.0042ad10
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
cmp eax, edx
je 0x431018
push eax
call fcn.004ff19b
add esp, 4
mov ebx, dword [ebp - 0x114]
push ecx
add ebx, 0xfffffff0
mov edi, esp
push ebx
call fcn.00403b50
add eax, 0x10
add esp, 4
lea ecx, [esi + 0x11a0]
mov dword [edi], eax
call fcn.00432f40
push str.binslog_
lea eax, [esi + 0x1064]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00428550
mov edi, dword [ebp - 0x114]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431093
push eax
push ecx
lea ecx, [edi - 0x10]
mov dword [ebp - 0x114], esp
push ecx
call fcn.00403b50
mov edx, dword [ebp - 0x114]
add eax, 0x10
add esp, 4
lea ecx, [esi + 0x1100]
mov dword [edx], eax
call fcn.00450120
push 0x8b0
call fcn.00500120
add esp, 4
test eax, eax
je 0x4310b3
push str.yyLnch
push edi
mov ecx, eax
call fcn.00401050
jmp 0x4310b5
xor eax, eax
mov dword [esi + 0x10fc], eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4310d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4310f0
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431112
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431134
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00500397
mov esp, ebp
pop ebp
ret