Function at 0x453220
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4aae56
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x20], ecx
xor ebx, ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
call fcn.004775c0
lea ecx, [esp + 0x94]
mov dword [esp + 0xf4], ebx
call fcn.00451f70
mov ebp, 0xf
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
push 0xffffffffffffffff
push ebx
push 0x4ce2a4
lea ecx, [esp + 0xbc]
mov byte [esp + 0x100], 2
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.00403af0
cmp dword [esp + 0xc4], ebx
mov byte [esp + 0xf4], 3
lea esi, [ebx + 0x10]
je 0x4533a6
push 1
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x20], 0x2c
call fcn.00402910
mov edi, eax
cmp edi, 0xffffffff
je 0x4533a6
push edi
push ebx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0xbc]
call fcn.00403f20
cmp dword [eax + 0x18], esi
jb 0x453333
mov eax, dword [eax + 4]
jmp 0x453336
add eax, 4
push eax
call fcn.0047c75b
mov ecx, dword [esp + 0x24]
add esp, 4
cmp dword [esp + 0x3c], esi
mov dword [ecx + 0x2dc], eax
jb 0x45335c
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b89c
add esp, 4
push 0xffffffffffffffff
add edi, 1
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xbc]
call fcn.00403f20
cmp dword [eax + 0x18], esi
jb 0x45337d
mov eax, dword [eax + 4]
jmp 0x453380
add eax, 4
push eax
call fcn.0047c75b
mov ecx, dword [esp + 0x24]
add esp, 4
cmp dword [esp + 0x3c], esi
mov dword [ecx + 0x2e0], eax
jb 0x4533a6
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b89c
add esp, 4
push 0xffffffffffffffff
push ebx
push 0x4ce26c
lea ecx, [esp + 0xd8]
call fcn.00403af0
cmp dword [esp + 0xe0], ebx
je 0x45343b
lea eax, [esp + 0x40]
push eax
call fcn.0046ef90
push 0x4b1c18
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x104], 4
mov dword [esp + 0x28], 1
call fcn.0041b600
lea edx, [esp + 0xdc]
push edx
push eax
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x110], 5
mov dword [esp + 0x34], 3
call fcn.0041b6c0
add esp, 0x1c
cmp dword [eax + 0x18], esi
mov dword [esp + 0x18], 7
jb 0x453428
mov eax, dword [eax + 4]
jmp 0x45342b
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov byte [esp + 0x14], 1
jne 0x45343f
mov byte [esp + 0x14], bl
test byte [esp + 0x18], 4
je 0x45346a
and dword [esp + 0x18], 0xfffffffb
cmp dword [esp + 0x74], esi
jb 0x45345e
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0047b89c
add esp, 4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
test byte [esp + 0x18], 2
je 0x453495
and dword [esp + 0x18], 0xfffffffd
cmp dword [esp + 0x3c], esi
jb 0x453489
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b89c
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
test byte [esp + 0x18], 1
mov dword [esp + 0xf4], 3
je 0x4534bf
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x58], esi
jb 0x4534bf
mov eax, dword [esp + 0x44]
push eax
call fcn.0047b89c
add esp, 4
cmp byte [esp + 0x14], bl
je 0x453648
lea ecx, [esp + 0x40]
push ecx
call fcn.0046ef90
push 0x4b1c18
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x104], 6
call fcn.0041b600
lea ecx, [esp + 0xdc]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x110], 7
call fcn.0041b6c0
add esp, 0x1c
cmp dword [eax + 0x18], esi
jb 0x453513
mov eax, dword [eax + 4]
jmp 0x453516
add eax, 4
push esi
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov edi, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ebx
je 0x453539
cmp eax, edi
je 0x453539
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edi
jb 0x453552
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jb 0x453571
mov eax, dword [esp + 0x60]
push eax
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov byte [esp + 0xf4], 3
jb 0x453598
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0047b89c
add esp, 4
mov edx, dword [esp + 0x1c]
cmp dword [edx], ebx
je 0x453648
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
push 0x4ce288
add ecx, 0x2ec
call fcn.00403af0
cmp dword [esp + 0xc8], esi
jb 0x4535d4
mov eax, dword [esp + 0xb4]
push eax
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0xe4], esi
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x453602
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0047b89c
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
mov byte [esp + 0xf4], bl
call fcn.00451ff0
lea ecx, [esp + 0x84]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004775d0
mov al, 1
jmp 0x453d66
lea edx, [esp + 0x40]
push edx
call fcn.0046ef90
push 0x4b1e38
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x104], 8
call fcn.0041b600
add esp, 0x10
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xf8], 9
call fcn.00478310
cmp dword [esp + 0x3c], esi
jb 0x453695
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0xf4], 3
jb 0x4536bc
mov edx, dword [esp + 0x44]
push edx
call fcn.0047b89c
add esp, 4
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x94], esp
push eax
lea ecx, [esp + 0xa4]
call fcn.00476db0
lea ecx, [esp + 0xb0]
call fcn.00472180
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x94], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4b0c8c
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xb8], esp
push 4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.path
mov byte [esp + 0x134], 0xa
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xd0], esp
push 9
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.XunYouLog
mov byte [esp + 0x150], 0xb
mov byte [ecx + 4], bl
call fcn.00403cd0
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0xec]
mov byte [esp + 0x14c], 3
call fcn.004723c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x100], 0xc
call fcn.00403af0
cmp dword [esp + 0x58], esi
mov byte [esp + 0xf4], 3
jb 0x4537a2
mov edx, dword [esp + 0x44]
push edx
call fcn.0047b89c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4b0c8c
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xb8], esp
push 0xa
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.positionXY
mov byte [esp + 0x134], 0xd
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xcc], esp
push 9
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.XunYouLog
mov byte [esp + 0x150], 0xe
mov byte [ecx + 4], bl
call fcn.00403cd0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x14c], 3
call fcn.004723c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x100], 0xf
call fcn.00403af0
cmp dword [esp + 0x58], esi
mov byte [esp + 0xf4], 3
jb 0x453863
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0xc4], ebx
je 0x453924
push 1
push ebx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x20], 0x2c
call fcn.00402910
mov edi, eax
cmp edi, 0xffffffff
je 0x453924
push edi
push ebx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xbc]
call fcn.00403f20
cmp dword [eax + 0x18], esi
jb 0x4538b1
mov eax, dword [eax + 4]
jmp 0x4538b4
add eax, 4
push eax
call fcn.0047c75b
mov ecx, dword [esp + 0x24]
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [ecx + 0x2dc], eax
jb 0x4538da
mov edx, dword [esp + 0x44]
push edx
call fcn.0047b89c
add esp, 4
push 0xffffffffffffffff
add edi, 1
push edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xbc]
call fcn.00403f20
cmp dword [eax + 0x18], esi
jb 0x4538fb
mov eax, dword [eax + 4]
jmp 0x4538fe
add eax, 4
push eax
call fcn.0047c75b
mov ecx, dword [esp + 0x24]
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [ecx + 0x2e0], eax
jb 0x453924
mov edx, dword [esp + 0x44]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0xe0], ebx
je 0x45399b
lea eax, [esp + 0x40]
push eax
call fcn.0046ef90
or dword [esp + 0x1c], 8
push 0x4b1c18
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x104], 0x10
call fcn.0041b600
or dword [esp + 0x28], esi
lea edx, [esp + 0xdc]
push edx
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x110], 0x11
call fcn.0041b6c0
or dword [esp + 0x34], 0x20
add esp, 0x1c
cmp dword [eax + 0x18], esi
jb 0x453988
mov eax, dword [eax + 4]
jmp 0x45398b
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov byte [esp + 0x14], 1
jne 0x45399f
mov byte [esp + 0x14], bl
test byte [esp + 0x18], 0x20
je 0x4539ca
and dword [esp + 0x18], 0xffffffdf
cmp dword [esp + 0x3c], esi
jb 0x4539be
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047b89c
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
test byte [esp + 0x18], 0x10
je 0x4539f5
and dword [esp + 0x18], 0xffffffef
cmp dword [esp + 0x74], esi
jb 0x4539e9
mov edx, dword [esp + 0x60]
push edx
call fcn.0047b89c
add esp, 4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
test byte [esp + 0x18], 8
mov dword [esp + 0xf4], 3
je 0x453a1a
cmp dword [esp + 0x58], esi
jb 0x453a1a
mov eax, dword [esp + 0x44]
push eax
call fcn.0047b89c
add esp, 4
cmp byte [esp + 0x14], bl
je 0x453c28
lea ecx, [esp + 0x40]
push ecx
call fcn.0046ef90
push 0x4b1c18
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x104], 0x12
call fcn.0041b600
lea ecx, [esp + 0xdc]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x110], 0x13
call fcn.0041b6c0
add esp, 0x1c
cmp dword [eax + 0x18], esi
jb 0x453a6e
mov eax, dword [eax + 4]
jmp 0x453a71
add eax, 4
push esi
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov edi, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ebx
je 0x453a94
cmp eax, edi
je 0x453a94
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edi
jb 0x453aad
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jb 0x453acc
mov eax, dword [esp + 0x60]
push eax
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov byte [esp + 0xf4], 3
jb 0x453af3
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0047b89c
add esp, 4
mov edx, dword [esp + 0x1c]
cmp dword [edx], ebx
je 0x453c28
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push 0x4b0c8c
call fcn.00403e70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xb8], esp
push 0x4b2f7c
mov byte [esp + 0x130], 0x14
call fcn.00403e70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xcc], esp
push str.XunYouLog
mov byte [esp + 0x14c], 0x15
call fcn.00403e70
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x14c], 3
call fcn.004723c0
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x2ec
mov byte [esp + 0x100], 0x16
call fcn.00403af0
cmp dword [esp + 0x58], esi
jb 0x453b9b
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0xc8], esi
jb 0x453bb4
mov edx, dword [esp + 0xb4]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0xe4], esi
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x453be2
mov eax, dword [esp + 0xd0]
push eax
call fcn.0047b89c
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
mov byte [esp + 0xf4], bl
call fcn.00451ff0
lea ecx, [esp + 0x84]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004775d0
mov al, 1
jmp 0x453d66
lea ecx, [esp + 0x5c]
push ecx
call fcn.0046ef90
push str.gamelogopic_topbanner.bmp
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x104], 0x17
call fcn.0041b600
add esp, 0x10
cmp dword [eax + 0x18], esi
jb 0x453c57
mov eax, dword [eax + 4]
jmp 0x453c5a
add eax, 4
push esi
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov edi, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ebx
je 0x453c7d
cmp eax, edi
je 0x453c7d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edi
jb 0x453c96
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jb 0x453cb5
mov eax, dword [esp + 0x60]
push eax
call fcn.0047b89c
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x2dc], ebx
mov dword [eax + 0x2e0], ebx
cmp dword [ecx], ebx
mov dword [esp + 0x74], ebp
setne byte [esp + 0x14]
cmp dword [esp + 0xc8], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x453cf5
mov edx, dword [esp + 0xb4]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0xe4], esi
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x453d23
mov eax, dword [esp + 0xd0]
push eax
call fcn.0047b89c
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
mov byte [esp + 0xf4], bl
call fcn.00451ff0
lea ecx, [esp + 0x84]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004775d0
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0047b88d
add esp, 0xe4
ret 4