Function at 0x412ea0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5157ef
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.004655e0
add esp, 8
push dword [ebp - 0x254]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp - 0x254]
or ebx, 0xffffffff
test eax, eax
jne 0x412f15
push str.CIconBubbleWnd::_LaunchGameBox__exe_not_exist__s
call fcn.00441a80
add esp, 8
xor edi, edi
jmp 0x413303
call fcn.0048b530
add esp, 4
test eax, eax
jne 0x412f3b
push dword [ebp - 0x254]
push str.CIconBubbleWnd::_LaunchGameBox__exe_no_sign__s
call fcn.00441a80
add esp, 8
xor edi, edi
jmp 0x413303
call fcn.0044d1e0
mov edi, eax
mov dword [ebp - 0x268], edi
push dword [esi + 0x134]
mov byte [ebp - 4], 1
push 0x52ce74
push edi
call fcn.0044f680
push dword [esi + 0x12c]
lea eax, [ebp - 0x258]
push eax
call fcn.00448480
push dword [eax]
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 2
push eax
call fcn.00453eb0
push dword [eax]
call fcn.0044d210
push eax
push str.game_name
push edi
call fcn.0044ce10
mov edx, dword [ebp - 0x250]
add esp, 0x2c
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412fb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x258]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412fd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.needlogin
push edi
call fcn.0044f5c0
push str.general
call fcn.0044d210
push eax
push str.tab_type
push edi
call fcn.0044ce10
push 0
push str.inst_bubble
push 0x52cebc
push edi
call fcn.0044f610
call fcn.0044d1e0
mov esi, eax
mov dword [ebp - 0x270], esi
push 0x52cec4
mov byte [ebp - 4], 3
call fcn.0044d210
push eax
push 0x52cecc
push esi
call fcn.0044ce10
push 0
push str.inst_bubble
push 0x52cebc
push esi
call fcn.0044f610
add esp, 0x4c
push edi
push str.args
push esi
call fcn.0044ce10
lea eax, [ebp - 0x260]
mov dword [ebp - 0x268], 0
push esi
push eax
call fcn.0044f430
add esp, 0x14
mov eax, dword [ebp - 0x260]
mov byte [ebp - 4], 4
cmp dword [eax - 0xc], 0
jne 0x413090
push str.CIconBubbleWnd::_LaunchGameBox__print_json_failed.
call fcn.00441a80
add esp, 4
xor edi, edi
jmp 0x4132d5
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x413343
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x258], eax
mov eax, 0x52cf48
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
test eax, 0xffff0000
jne 0x4130ce
movzx eax, ax
push eax
call fcn.00409d60
jmp 0x4130da
push 0xe
push 0x52cf48
call fcn.00407f80
push 1
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0043af30
add esp, 0xc
mov edx, dword [ebp - 0x258]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413117
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ldsgame_inst_bubble_opentab_cmd.json
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00410610
add esp, 0xc
push dword [ebp - 0x260]
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 9
call fcn.0040fef0
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xa
call fcn.00410030
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0043e010
add esp, 8
lea ecx, [ebp - 0x234]
mov edi, eax
call fcn.00410350
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 9
call fcn.00410300
test edi, edi
jg 0x4131ad
neg edi
push edi
push str.CIconBubbleWnd::_LaunchGameBox__write_file_failed__error_d
call fcn.00441a80
add esp, 8
xor edi, edi
jmp 0x413293
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea ecx, [ebp - 0x250]
call fcn.0040fec0
push str.inst_bubble
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x250]
push str.___general_cmd_s___from_s
push eax
call fcn.00410920
mov edi, dword [ebp - 0x250]
push 0
push 0
push 0
push 0
push 0
push 5
push edi
push dword [ebp - 0x254]
call fcn.00446150
add esp, 0x30
test eax, eax
jne 0x413268
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00444c00
push dword [eax]
mov byte [ebp - 4], 0xd
push edi
push dword [ebp - 0x254]
push str.CIconBubbleWnd::_LaunchGameBox__RunAppAsAdmin__s__s__failed___s
call fcn.00441a80
add esp, 0x18
lea ecx, [ebp - 0x26c]
call fcn.00408250
xor eax, eax
mov dword [ebp - 0x250], eax
jmp 0x413272
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], 9
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41328d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x250]
mov edx, dword [ebp - 0x25c]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4132b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4132d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x260]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4132f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x413303
push esi
call fcn.0044d3a0
add esp, 4
mov eax, dword [ebp - 0x254]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x413325
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404400
int3