Function at 0x463c90
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a501f
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebx
push ebp
push esi
mov eax, dword [0x4c26a0]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
push 1
xor ebx, ebx
push 0x4a99dc
mov ecx, 0x4c41b8
mov dword [0x4c41b0], ebx
call fcn.0040aeb0
push 0x2c
push str.http:__www.xunyou.com_flash_xunyou2009ad.swf
mov ecx, 0x4c41f0
call fcn.0040aeb0
push 0x2f
push str.http:__xyd.xunyou.com_index.php_Plat_soft_index
mov ecx, 0x4c421c
call fcn.0040aeb0
push 0x26
push str.http:__xyd.xunyou.com_html_xunyou.html
mov ecx, 0x4c4238
call fcn.0040aeb0
lea ecx, [esp + 0x6c]
call fcn.0046f9b0
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0xfc], ebx
call fcn.00467380
push str.configxunyou.txt
push eax
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0x108], 1
call fcn.0040b1f0
add esp, 0x10
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xfc], 2
call fcn.00470700
mov esi, 0x10
cmp dword [esp + 0x94], esi
jb 0x463d7e
mov edx, dword [esp + 0x80]
push edx
call fcn.00474c07
add esp, 4
cmp dword [esp + 0x4c], esi
mov ebp, 0xf
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov byte [esp + 0xf8], bl
jb 0x463db2
mov eax, dword [esp + 0x38]
push eax
call fcn.00474c07
add esp, 4
lea ecx, [esp + 0x50]
call fcn.0044a9a0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x118], 3
call fcn.0046f1a0
lea ecx, [esp + 0x6c]
call fcn.0046a570
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4a7e3f
mov byte [ecx + 4], bl
call fcn.0040aeb0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push 9
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.urlXunyou
mov byte [esp + 0x138], 4
mov byte [ecx + 4], bl
call fcn.0040aeb0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x7c], esp
push ebp
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.XunYouModuleURL
mov byte [esp + 0x154], 5
mov byte [ecx + 4], bl
call fcn.0040aeb0
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x150], 3
call fcn.0046a7b0
cmp dword [esp + 0xac], ebx
mov byte [esp + 0xf8], 6
je 0x463e8c
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xa0]
push eax
mov ecx, 0x4c4238
call fcn.0040a730
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4a7e3f
mov byte [ecx + 4], bl
call fcn.0040aeb0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xd
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.urlLoginFlash
mov byte [esp + 0x138], 7
mov byte [ecx + 4], bl
call fcn.0040aeb0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], esp
push ebp
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.XunYouModuleURL
mov byte [esp + 0x154], 8
mov byte [ecx + 4], bl
call fcn.0040aeb0
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x150], 6
call fcn.0046a7b0
cmp dword [esp + 0xc8], ebx
mov byte [esp + 0xf8], 9
je 0x463f36
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xbc]
push edx
mov ecx, 0x4c41f0
call fcn.0040a730
cmp dword [esp + 0xcc], esi
jb 0x463f4f
mov eax, dword [esp + 0xb8]
push eax
call fcn.00474c07
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
jb 0x463f7d
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00474c07
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
mov byte [esp + 0xf8], bl
call fcn.0044aa20
lea ecx, [esp + 0x6c]
mov dword [esp + 0xf8], 0xffffffff
call fcn.0046f9c0
push 0x2e
push str.http:__xyd.xunyou.com_index.php_xyd_soft_index
mov ecx, 0x4c4254
call fcn.0040aeb0
mov dword [0x4c4280], 1
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0xfc], 0xa
call fcn.00467380
push str._ver
push eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x108], 0xb
call fcn.0040b1f0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x104], 0xc
call fcn.0040a730
cmp dword [esp + 0x94], esi
jb 0x46404a
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00474c07
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov byte [esp + 0xf8], 0xa
jb 0x46407a
mov edx, dword [esp + 0x54]
push edx
call fcn.00474c07
add esp, 4
lea eax, [esp + 0x50]
push eax
call fcn.00467380
push str._ver
push eax
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0x108], 0xd
call fcn.0040b1f0
add esp, 0x10
cmp dword [eax + 0x18], esi
jb 0x4640ac
mov eax, dword [eax + 4]
jmp 0x4640af
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp dword [esp + 0x94], esi
mov dword [0x4c41b0], eax
jb 0x4640d4
mov edx, dword [esp + 0x80]
push edx
call fcn.00474c07
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov byte [esp + 0xf8], 0xa
jb 0x464104
mov eax, dword [esp + 0x54]
push eax
call fcn.00474c07
add esp, 4
cmp dword [0x4c41b0], ebx
je 0x46452d
lea ecx, [esp + 0x2c]
call fcn.004669b0
push SysReAllocStringLen
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xfc]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x128], 0xe
mov byte [ecx + 4], bl
call fcn.0040a730
lea ecx, [esp + 0x50]
call fcn.004670a0
lea ecx, [esp + 0x2c]
call fcn.00466bb0
add eax, 1
push eax
call fcn.004747ad
mov esi, eax
add esp, 4
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
call fcn.00466bb0
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.00466a40
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x7c]
push esi
push edx
mov byte [ecx + esi], bl
call fcn.00472db0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], 0xf
call fcn.0046f9b0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xfc], 0x10
call fcn.00470230
push esi
call fcn.00475615
add esp, 4
lea ecx, [esp + 0x14]
call fcn.0046ebb0
cmp eax, 1
jb 0x4644d1
lea ecx, [esp + 0x14]
call fcn.0046ebb0
cmp eax, 8
ja 0x4644d1
push 0xffffffffffffffff
push ebx
push 0x4c4178
mov ecx, 0x4c41b8
call fcn.0040a730
lea ecx, [esp + 0x14]
call fcn.0046ebb0
cmp eax, 1
jbe 0x464236
push 1
lea ecx, [esp + 0x18]
call fcn.0046eb60
cmp dword [eax + 0x14], 3
jbe 0x464236
push 1
lea ecx, [esp + 0x18]
call fcn.0046eb60
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4c41d4
call fcn.0040a730
lea ecx, [esp + 0x14]
call fcn.0046ebb0
cmp eax, 2
jbe 0x46426e
push 2
lea ecx, [esp + 0x18]
call fcn.0046eb60
cmp dword [eax + 0x14], 0xa
jbe 0x46426e
push 2
lea ecx, [esp + 0x18]
call fcn.0046eb60
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4c41f0
call fcn.0040a730
lea ecx, [esp + 0x14]
call fcn.0046ebb0
cmp eax, 3
jbe 0x464325
push 3
lea ecx, [esp + 0x18]
call fcn.0046eb60
cmp dword [eax + 0x14], 1
jbe 0x464325
lea ecx, [esp + 0x34]
call fcn.0046f9b0
push 0x2c
push 3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x100], 0x11
call fcn.0046eb60
push eax
lea ecx, [esp + 0x3c]
call fcn.004703c0
lea ecx, [esp + 0x34]
xor esi, esi
call fcn.0046ebb0
test eax, eax
jbe 0x464314
lea esp, [esp]
push esi
lea ecx, [esp + 0x38]
call fcn.0046eb60
cmp dword [eax + 0x18], 0x10
jb 0x4642e5
mov eax, dword [eax + 4]
jmp 0x4642e8
add eax, 4
push eax
call fcn.00476b5f
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4c420c
mov dword [esp + 0x14], eax
call fcn.00461e60
lea ecx, [esp + 0x34]
add esi, 1
call fcn.0046ebb0
cmp esi, eax
jb 0x4642d0
lea ecx, [esp + 0x34]
mov byte [esp + 0xf8], 0x10
call fcn.0046f9c0
lea ecx, [esp + 0x14]
call fcn.0046ebb0
cmp eax, 4
jbe 0x464363
push 4
lea ecx, [esp + 0x18]
call fcn.0046eb60
mov esi, 5
cmp dword [eax + 0x14], esi
jbe 0x464368
push 4
lea ecx, [esp + 0x18]
call fcn.0046eb60
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4c421c
call fcn.0040a730
jmp 0x464368
mov esi, 5
lea ecx, [esp + 0x14]
call fcn.0046ebb0
cmp eax, esi
jbe 0x46439c
push esi
lea ecx, [esp + 0x18]
call fcn.0046eb60
cmp dword [eax + 0x14], esi
jbe 0x46439c
push esi
lea ecx, [esp + 0x18]
call fcn.0046eb60
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4c4238
call fcn.0040a730
lea ecx, [esp + 0x14]
call fcn.0046ebb0
cmp eax, 6
jbe 0x4643d3
push 6
lea ecx, [esp + 0x18]
call fcn.0046eb60
cmp dword [eax + 0x14], esi
jbe 0x4643d3
push 6
lea ecx, [esp + 0x18]
call fcn.0046eb60
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4c4254
call fcn.0040a730
lea ecx, [esp + 0x14]
call fcn.0046ebb0
cmp eax, 7
jbe 0x4644c5
push 7
lea ecx, [esp + 0x18]
call fcn.0046eb60
cmp dword [eax + 0x14], 2
jbe 0x4644c5
lea ecx, [esp + 0x34]
call fcn.0046f9b0
push 0x2c
push 7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x100], 0x12
call fcn.0046eb60
push eax
lea ecx, [esp + 0x3c]
call fcn.004703c0
lea ecx, [esp + 0x34]
call fcn.0046ebb0
test eax, eax
jbe 0x464455
push ebx
lea ecx, [esp + 0x38]
call fcn.0046eb60
cmp dword [eax + 0x18], 0x10
jb 0x464444
mov eax, dword [eax + 4]
jmp 0x464447
add eax, 4
push eax
call fcn.00476b5f
add esp, 4
mov dword [0x4c4280], eax
lea ecx, [esp + 0x34]
mov esi, 1
call fcn.0046ebb0
cmp eax, esi
jbe 0x4644b4
jmp 0x464470
push esi
lea ecx, [esp + 0x38]
call fcn.0046eb60
cmp dword [eax + 0x18], 0x10
jb 0x464485
mov eax, dword [eax + 4]
jmp 0x464488
add eax, 4
push eax
call fcn.00476b5f
add esp, 4
lea edx, [esp + 0x10]
push edx
mov ecx, 0x4c4270
mov dword [esp + 0x14], eax
call fcn.00461e60
lea ecx, [esp + 0x34]
add esi, 1
call fcn.0046ebb0
cmp esi, eax
jb 0x464470
lea ecx, [esp + 0x34]
mov byte [esp + 0xf8], 0x10
call fcn.0046f9c0
mov dword [0x4c41b0], 1
jmp 0x4644d7
mov dword [0x4c41b0], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], 0xf
call fcn.0046f9c0
cmp dword [esp + 0x94], 0x10
jb 0x464502
mov eax, dword [esp + 0x80]
push eax
call fcn.00474c07
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov byte [esp + 0xf8], 0xa
call fcn.00466f00
mov esi, 0x10
cmp dword [0x4c3ce4], ebx
je 0x464547
push 0xffffffffffffffff
push ebx
push 0x4c3cd0
mov ecx, 0x4c41d4
call fcn.0040a730
cmp dword [0x4c3cc8], ebx
je 0x464561
push 0xffffffffffffffff
push ebx
push 0x4c3cb4
mov ecx, 0x4c41f0
call fcn.0040a730
cmp dword [0x4c3d70], ebx
je 0x46457b
push 0xffffffffffffffff
push ebx
push 0x4c3d5c
mov ecx, 0x4c4238
call fcn.0040a730
cmp dword [esp + 0xe8], esi
jb 0x464594
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.00474c07
add esp, 4
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.00475ec4
add esp, 0xec
ret