Function at 0x407270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473a98
push eax
mov dword fs:[0], esp
sub esp, 0x430
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4072aa
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4072da
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
push ebx
push esi
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
push 1
push 0x47da80
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00466df0
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrW]
add esp, 0x14
push 0x47e7a0
push dword [ebp - 0x18]
call ebx
test eax, eax
je 0x407340
push 0
push dword [0x4a4764]
push esi
call fcn.00468140
push 0
push dword [0x4a4768]
push esi
call fcn.00468140
add esp, 0x18
jmp 0x407cca
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40735c
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
push edi
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
xor edi, edi
mov byte [ebp - 4], 2
cmp dword [0x4a4798], edi
jle 0x4073ed
jmp 0x407380
mov eax, dword [0x4a47b8]
mov ecx, dword [0x4a47b4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x40739f
call fcn.0044e19c
mov ecx, dword [0x4a47b4]
push dword [ecx + edi*4]
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4073e4
mov eax, dword [0x4a47b8]
mov ecx, dword [0x4a47b4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4073ce
call fcn.0044e19c
mov ecx, dword [0x4a47b4]
push dword [ecx + edi*4]
mov ecx, 0x4a478c
call fcn.004020b0
push eax
lea ecx, [ebp - 0x18]
call fcn.00401e70
inc edi
cmp edi, dword [0x4a4798]
jl 0x407380
push 0x47e7ac
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x407501
push 0x1a
push 0x47e7b8
lea ecx, [ebp - 0x18]
call fcn.00408f60
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004016a0
mov edi, dword [ebp - 0x18]
push str.Default
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push str.Default
push edi
call fcn.0044cf75
add esp, 0xc
test eax, eax
jne 0x4077d7
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
mov ecx, 0x4a4418
mov dword [ebp - 0x14], eax
call fcn.0040e9e0
test eax, eax
je 0x40746f
push 0
push dword [0x4a4774]
mov ecx, 0x4a4418
call fcn.0040e990
mov ecx, 0x4a4418
call fcn.0040e9e0
test eax, eax
jne 0x40748f
push edi
push dword [ebp - 0x14]
mov ecx, 0x4a4418
call fcn.0040e640
test eax, eax
jne 0x407495
inc dword [0x4a47c0]
push 0x47d2cc
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x407521
push str.DefaultMainPanelMainMenuButtonmenu_btn_highlight.png
lea ecx, [ebp - 0x14]
call fcn.004016a0
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov ecx, 0x4a4418
mov byte [ebp - 4], 4
call fcn.0040e9e0
test eax, eax
je 0x4074de
push 0
push dword [0x4a4774]
mov ecx, 0x4a4418
call fcn.0040e990
mov ecx, 0x4a4418
call fcn.0040e9e0
test eax, eax
jne 0x4075fa
push edi
push ebx
mov ecx, 0x4a4418
call fcn.0040e640
jmp 0x4075fa
push 0x47e7f0
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x407412
call fcn.00408ab0
jmp 0x407cab
push 0x47d458
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x407564
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x47d4c8
push 0x47d458
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00408880
push 0x47d4c8
jmp 0x4075e2
push 0x47d53c
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x4075a4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x47d5a0
push 0x47d53c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00408880
push 0x47d5a0
jmp 0x4075e2
push 0x47d604
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x407624
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x47d690
push 0x47d604
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00408880
push 0x47d690
mov edi, dword [ebp - 0x10]
mov ecx, 0x4a478c
call fcn.00401fb0
push edi
push dword [eax]
call fcn.00404230
add esp, 8
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407c8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x407c8a
push 0x47d730
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x407667
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x47d7bc
push 0x47d730
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00408880
push 0x47d7bc
jmp 0x4077b2
push 0x47d854
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x4076aa
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x47d8c0
push 0x47d854
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00408880
push 0x47d8c0
jmp 0x4077b2
push 0x47ce70
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x4076ed
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x47cee8
push 0x47ce70
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.00408880
push 0x47cee8
jmp 0x4077b2
push 0x47cf68
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x407730
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x47cfe4
push 0x47cf68
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.00408880
push 0x47cfe4
jmp 0x4077b2
push 0x47d064
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x407770
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x47d0dc
push 0x47d064
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.00408880
push 0x47d0dc
jmp 0x4077b2
push 0x47d15c
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x407c8a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x47d1d8
push 0x47d15c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.00408880
push 0x47d1d8
mov edi, dword [ebp - 0x10]
mov ecx, 0x4a478c
call fcn.00401fb0
push edi
push dword [eax]
call fcn.00404230
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00419ae0
jmp 0x407c8a
mov edi, dword [ebp - 0x18]
push str.xtml
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push str.xtml
push edi
call fcn.0044cf75
add esp, 0xc
test eax, eax
jne 0x407817
cmp dword [0x4a3eac], eax
jne 0x407c8a
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.0040a4f0
add esp, 8
jmp 0x407c8a
mov edi, dword [ebp - 0x18]
push str.bundle
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push str.bundle
push edi
call fcn.0044cf75
add esp, 0xc
test eax, eax
jne 0x40784b
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.0040b6e0
add esp, 8
jmp 0x407c8a
mov edi, dword [ebp - 0x18]
push str.vipbundle
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push str.vipbundle
push edi
call fcn.0044cf75
add esp, 0xc
test eax, eax
je 0x407c8a
mov edi, dword [ebp - 0x18]
push str.Res
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push str.Res
push edi
call fcn.0044cf75
add esp, 0xc
test eax, eax
jne 0x407c8a
cmp dword [0x4a3eb0], eax
je 0x4078bf
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.reschatframeaio_
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4078cd
push str.resskinmgraio_png_bkg.gft
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4078cd
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.00407d20
add esp, 8
push 0x47c24c
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x4079b6
mov edi, dword [ebp - 0x10]
push 0x47c2a4
mov ecx, 0x4a478c
call fcn.00401fb0
push edi
push dword [eax]
call fcn.00407d20
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 0xc
mov dword [ebp - 0x24], eax
push 0x47be1c
push 0x47c24c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00408880
push dword [ebp - 0x24]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
jne 0x407950
mov edi, dword [ebp - 0x10]
push 0x47be1c
mov ecx, 0x4a478c
call fcn.00401fb0
push edi
push dword [eax]
call fcn.00407d20
add esp, 8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x20], eax
push 0x47be70
push 0x47c24c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.00408880
push dword [ebp - 0x20]
call ebx
test eax, eax
jne 0x4079a1
mov edi, dword [ebp - 0x10]
push 0x47be70
mov ecx, 0x4a478c
call fcn.00401fb0
push edi
push dword [eax]
call fcn.00404230
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00419ae0
lea ecx, [ebp - 0x24]
call fcn.00419ae0
jmp 0x407c8a
push 0x47b7b0
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x4079fd
cmp dword [0x4a3eb4], 0
je 0x407c8a
push str.ResInformationBoxmessagebox16_2.png
lea ecx, [ebp - 0x14]
call fcn.004016a0
push dword [ebp - 0x10]
mov byte [ebp - 4], 0x10
push dword [ebp - 0x14]
call fcn.00407d20
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00419ae0
jmp 0x407c8a
push 0x47bf64
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x407a7a
cmp dword [0x4a3eb4], 0
je 0x407c8a
push str.ResLoginpanel2morning.swf
lea ecx, [ebp - 0x1c]
call fcn.004016a0
push dword [ebp - 0x10]
mov byte [ebp - 4], 0x11
push dword [ebp - 0x1c]
call fcn.00407d20
add esp, 8
lea ecx, [ebp - 0x1c]
push str.ResLoginpanel2noon.swf
call fcn.00401f00
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call fcn.00407d20
add esp, 8
lea ecx, [ebp - 0x1c]
push str.ResLoginpanel2afternoon.swf
call fcn.00401f00
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call fcn.00407d20
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00419ae0
jmp 0x407c8a
push 0x47bf58
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x407c4a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402a30
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x47bdb8
push 0x47bf58
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.00408880
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407ae1
mov edi, dword [ebp - 0x10]
push 0x47bdb8
mov ecx, 0x4a478c
call fcn.00401fb0
push edi
push dword [eax]
call fcn.00404230
add esp, 8
cmp dword [0x4a3eb4], 0
je 0x407c40
push str.ResLoginpanel2morning.jpg
lea ecx, [ebp - 0x20]
call fcn.004016a0
push dword [ebp - 0x10]
mov byte [ebp - 4], 0x13
push dword [ebp - 0x20]
call fcn.00407d20
add esp, 8
lea ecx, [ebp - 0x20]
push str.ResLoginpanel2noon.jpg
call fcn.00401f00
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call fcn.00407d20
add esp, 8
lea ecx, [ebp - 0x20]
push str.ResLoginpanel2afternoon.jpg
call fcn.00401f00
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call fcn.00407d20
add esp, 8
cmp dword [0x4a3ea8], 0
jne 0x407c38
lea ecx, [ebp - 0x3c]
mov dword [0x4a3ea8], 1
call fcn.0042a182
push 0
push str.nullswf.swf
mov byte [ebp - 4], 0x14
call fcn.004651e0
add esp, 8
lea ecx, [ebp - 0x24]
push eax
call fcn.004016a0
push 0
push 0x1000
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x15
call fcn.0042a621
test eax, eax
je 0x407c24
lea ecx, [ebp - 0x3c]
call fcn.0042a11c
lea ecx, [ebp - 0x1c]
call fcn.00401760
push str.ResLoginpanel2afternoon.swf
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
call fcn.00401f00
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.00407d20
add esp, 8
lea ecx, [ebp - 0x1c]
push str.ResLoginpanel2noon.swf
call fcn.00401f00
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.00407d20
add esp, 8
lea ecx, [ebp - 0x1c]
push str.ResLoginpanel2morning.swf
call fcn.00401f00
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.00407d20
add esp, 8
lea ecx, [ebp - 0x1c]
push str.ResLoginpanel2night.swf
call fcn.00401f00
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.00407d20
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00419ae0
lea ecx, [ebp - 0x24]
call fcn.00419ae0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.0042a29b
lea ecx, [ebp - 0x20]
call fcn.00419ae0
lea ecx, [ebp - 0x14]
call fcn.00419ae0
jmp 0x407c8a
push 0x47ba04
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x407c8a
push str.fcgfhdcdebhahaeghcgbgngfhhgphcglcdeghcgjgfgogeedgjhcgdgmgfcdeghcgjgfgogeedgjhcgdgmgfengbgjgofegpgpgmebhcgfgbefgohehchjcohagogh
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x43c]
push 0
push eax
call fcn.004681b0
push dword [ebp - 0x10]
lea eax, [ebp - 0x43c]
push eax
call fcn.00407d20
add esp, 0x10
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407cab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407cc9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
pop esi
pop ebx
test ecx, ecx
jg 0x407ced
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407d11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret