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

Disassembly:
push 0xffffffffffffffff
push 0x4b720f
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov ebp, ecx
push 1
xor ebx, ebx
lea ecx, [ebp + 0xd7f8]
push 0x4bfd0c
mov dword [ebp + 0xd9e4], ebx
call fcn.00401e90
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0xd814]
push 0x4de0e8
mov dword [esp + 0x4c], ecx
call fcn.00401cf0
lea edi, [ebp + 0xd830]
push 0x2c
push str.http:__www.xunyou.com_flash_xunyou2009ad.swf
mov ecx, edi
mov dword [esp + 0x3c], edi
call fcn.00401e90
push 0x2f
lea ecx, [ebp + 0xd85c]
push str.http:__xyd.xunyou.com_index.php_Plat_soft_index
call fcn.00401e90
push 0x26
lea ecx, [ebp + 0xd878]
push str.http:__xyd.xunyou.com_html_xunyou.html
mov dword [esp + 0x34], ecx
call fcn.00401e90
lea ecx, [esp + 0x7c]
call fcn.0047db60
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x10c], ebx
call fcn.0046a740
push 0x4c0d0c
push eax
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0x118], 1
call fcn.00416030
add esp, 0x10
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x10c], 2
call fcn.0047e6b0
cmp dword [esp + 0xa4], 0x10
jb 0x430405
mov edx, dword [esp + 0x90]
push edx
call fcn.0048d433
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov esi, 0xf
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
mov byte [esp + 0x108], bl
jb 0x43043a
mov eax, dword [esp + 0x48]
push eax
call fcn.0048d433
add esp, 4
lea ecx, [esp + 0x60]
call fcn.004301e0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x128], 3
call fcn.0047d490
lea ecx, [esp + 0x7c]
call fcn.0046cbe0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4bf904
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 9
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.urlXunyou
mov byte [esp + 0x148], 4
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x84], esp
push esi
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.XunYouModuleURL
mov byte [esp + 0x164], 5
mov byte [ecx + 4], bl
call fcn.00401e90
lea edx, [esp + 0xfc]
push edx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x160], 3
call fcn.0046ce20
cmp dword [esp + 0xbc], ebx
mov byte [esp + 0x108], 6
je 0x430516
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00401cf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4bf904
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xd
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.urlLoginFlash
mov byte [esp + 0x148], 7
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x7c], esp
push esi
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.XunYouModuleURL
mov byte [esp + 0x164], 8
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x118]
push ecx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x160], 6
call fcn.0046ce20
cmp dword [esp + 0xd8], ebx
mov byte [esp + 0x108], 9
je 0x4305bd
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xcc]
push edx
mov ecx, edi
call fcn.00401cf0
cmp dword [esp + 0xdc], 0x10
jb 0x4305d7
mov eax, dword [esp + 0xc8]
push eax
call fcn.0048d433
add esp, 4
cmp dword [esp + 0xc0], 0x10
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
jb 0x430606
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0048d433
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
mov byte [esp + 0x108], bl
call fcn.00430260
lea ecx, [esp + 0x7c]
mov dword [esp + 0x108], 0xffffffff
call fcn.0047db70
push 0x2e
lea ecx, [ebp + 0xd894]
push str.http:__xyd.xunyou.com_index.php_xyd_soft_index
call fcn.00401e90
mov dword [ebp + 0xd8c0], 1
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x10c], 0xa
call fcn.0046a740
push str._ver
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x118], 0xb
call fcn.00416030
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x114], 0xc
call fcn.00401cf0
cmp dword [esp + 0xa4], 0x10
jb 0x4306d5
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0048d433
add esp, 4
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
mov byte [esp + 0x108], 0xa
jb 0x430706
mov edx, dword [esp + 0x64]
push edx
call fcn.0048d433
add esp, 4
lea eax, [esp + 0x60]
push eax
call fcn.0046a740
push str._ver
push eax
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0x118], 0xd
call fcn.00416030
add esp, 0x10
cmp dword [eax + 0x18], 0x10
jb 0x430739
mov eax, dword [eax + 4]
jmp 0x43073c
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp dword [esp + 0xa4], 0x10
mov dword [ebp + 0xd9e4], eax
jb 0x430763
mov edx, dword [esp + 0x90]
push edx
call fcn.0048d433
add esp, 4
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
mov byte [esp + 0x108], 0xa
jb 0x430794
mov eax, dword [esp + 0x64]
push eax
call fcn.0048d433
add esp, 4
cmp dword [ebp + 0xd9e4], ebx
je 0x430c0f
lea ecx, [esp + 0x38]
call fcn.00469d90
push 0x80000000
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x10c]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x138], 0xe
mov byte [ecx + 4], bl
call fcn.00401cf0
lea ecx, [esp + 0x5c]
call fcn.0046a400
lea ecx, [esp + 0x38]
call fcn.00469fa0
add eax, 1
push eax
call fcn.0048c510
mov esi, eax
add esp, 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.00469fa0
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00469e20
mov ecx, dword [esp + 0x28]
sub esp, 0x1c
mov byte [ecx + esi], bl
mov edi, esp
mov eax, esi
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x4c], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x430835
sub eax, ecx
push eax
push esi
mov ecx, edi
call fcn.00401e90
lea edx, [esp + 0xa8]
push edx
call fcn.0046f650
add esp, 0x20
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 0xf
call fcn.0047db60
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10c], 0x10
call fcn.0047e1e0
push esi
call fcn.0048e604
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0047cce0
cmp eax, 1
jb 0x430bb0
lea ecx, [esp + 0x18]
call fcn.0047cce0
cmp eax, 8
ja 0x430bb0
push ebx
lea ecx, [esp + 0x1c]
call fcn.0047cc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0xd7f8]
call fcn.00401cf0
lea ecx, [esp + 0x18]
call fcn.0047cce0
cmp eax, 1
jbe 0x43091b
push 1
lea ecx, [esp + 0x1c]
call fcn.0047cc90
cmp dword [eax + 0x14], 3
jbe 0x43091b
push 1
lea ecx, [esp + 0x1c]
call fcn.0047cc90
mov esi, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00401cf0
cmp dword [esi + 0x18], 0x10
jb 0x43090d
mov esi, dword [esi + 4]
jmp 0x430910
add esi, 4
mov ecx, dword [ebp + 4]
push esi
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [esp + 0x18]
call fcn.0047cce0
cmp eax, 2
jbe 0x430952
push 2
lea ecx, [esp + 0x1c]
call fcn.0047cc90
cmp dword [eax + 0x14], 0xa
jbe 0x430952
push 2
lea ecx, [esp + 0x1c]
call fcn.0047cc90
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ebx
push eax
call fcn.00401cf0
lea ecx, [esp + 0x18]
call fcn.0047cce0
cmp eax, 3
jbe 0x430a08
push 3
lea ecx, [esp + 0x1c]
call fcn.0047cc90
cmp dword [eax + 0x14], 1
jbe 0x430a08
lea ecx, [esp + 0x44]
call fcn.0047db60
push 0x2c
push 3
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], 0x11
call fcn.0047cc90
push eax
lea ecx, [esp + 0x4c]
call fcn.0047e370
lea ecx, [esp + 0x44]
xor esi, esi
call fcn.0047cce0
test eax, eax
jbe 0x4309f7
lea edi, [ebp + 0xd84c]
push esi
lea ecx, [esp + 0x48]
call fcn.0047cc90
cmp dword [eax + 0x18], 0x10
jb 0x4309cb
mov eax, dword [eax + 4]
jmp 0x4309ce
add eax, 4
push eax
call fcn.0048e702
add esp, 4
lea edx, [esp + 0x14]
push edx
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.0042b2f0
lea ecx, [esp + 0x44]
add esi, 1
call fcn.0047cce0
cmp esi, eax
jb 0x4309b6
lea ecx, [esp + 0x44]
mov byte [esp + 0x108], 0x10
call fcn.0047db70
lea ecx, [esp + 0x18]
call fcn.0047cce0
cmp eax, 4
jbe 0x430a47
push 4
lea ecx, [esp + 0x1c]
call fcn.0047cc90
mov esi, 5
cmp dword [eax + 0x14], esi
jbe 0x430a4c
push 4
lea ecx, [esp + 0x1c]
call fcn.0047cc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0xd85c]
call fcn.00401cf0
jmp 0x430a4c
mov esi, 5
lea ecx, [esp + 0x18]
call fcn.0047cce0
cmp eax, esi
jbe 0x430a7f
push esi
lea ecx, [esp + 0x1c]
call fcn.0047cc90
cmp dword [eax + 0x14], esi
jbe 0x430a7f
push esi
lea ecx, [esp + 0x1c]
call fcn.0047cc90
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ebx
push eax
call fcn.00401cf0
lea ecx, [esp + 0x18]
call fcn.0047cce0
cmp eax, 6
jbe 0x430ab7
push 6
lea ecx, [esp + 0x1c]
call fcn.0047cc90
cmp dword [eax + 0x14], esi
jbe 0x430ab7
push 6
lea ecx, [esp + 0x1c]
call fcn.0047cc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0xd894]
call fcn.00401cf0
lea ecx, [esp + 0x18]
call fcn.0047cce0
cmp eax, 7
jbe 0x430ba4
push 7
lea ecx, [esp + 0x1c]
call fcn.0047cc90
cmp dword [eax + 0x14], 2
jbe 0x430ba4
lea ecx, [esp + 0x44]
call fcn.0047db60
push 0x2c
push 7
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], 0x12
call fcn.0047cc90
push eax
lea ecx, [esp + 0x4c]
call fcn.0047e370
lea ecx, [esp + 0x44]
call fcn.0047cce0
test eax, eax
jbe 0x430b3a
push ebx
lea ecx, [esp + 0x48]
call fcn.0047cc90
cmp dword [eax + 0x18], 0x10
jb 0x430b28
mov eax, dword [eax + 4]
jmp 0x430b2b
add eax, 4
push eax
call fcn.0048e702
add esp, 4
mov dword [ebp + 0xd8c0], eax
lea ecx, [esp + 0x44]
mov esi, 1
call fcn.0047cce0
cmp eax, esi
jbe 0x430b93
lea edi, [ebp + 0xd8b0]
push esi
lea ecx, [esp + 0x48]
call fcn.0047cc90
cmp dword [eax + 0x18], 0x10
jb 0x430b67
mov eax, dword [eax + 4]
jmp 0x430b6a
add eax, 4
push eax
call fcn.0048e702
mov dword [esp + 0x18], eax
add esp, 4
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.0042b2f0
lea ecx, [esp + 0x44]
add esi, 1
call fcn.0047cce0
cmp esi, eax
jb 0x430b52
lea ecx, [esp + 0x44]
mov byte [esp + 0x108], 0x10
call fcn.0047db70
mov dword [ebp + 0xd9e4], 1
jmp 0x430bb6
mov dword [ebp + 0xd9e4], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 0xf
call fcn.0047db70
cmp dword [esp + 0xa4], 0x10
jb 0x430be1
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0048d433
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
mov byte [esp + 0x108], 0xa
call fcn.0046a260
mov edi, dword [esp + 0x34]
cmp dword [0x4dff18], ebx
je 0x430c28
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
push 0x4dff04
call fcn.00401cf0
cmp dword [0x4dfefc], ebx
je 0x430c3f
push 0xffffffffffffffff
push ebx
push 0x4dfee8
mov ecx, edi
call fcn.00401cf0
cmp dword [0x4dffa4], ebx
je 0x430c58
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ebx
push 0x4dff90
call fcn.00401cf0
cmp dword [esp + 0xf8], 0x10
jb 0x430c72
mov edx, dword [esp + 0xe4]
push edx
call fcn.0048d433
add esp, 4
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0048de34
add esp, 0xf8
ret