Function at 0x402250
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x45d070]
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
lea eax, [ebp - 0x5c]
push eax
push ecx
mov dword [ebp - 0x5c], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x5c], ebx
jle 0x40266e
mov esi, dword [sym.imp.MSVCR110.dll__wcsicmp]
mov edx, dword [ecx + ebx*4]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [edx], ax
jne 0x4022c3
xor ecx, ecx
jmp 0x4022df
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x4022d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4022d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00405db0
push 1
push ecx
push 0x444ce8
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.00403470
mov edi, eax
test edi, edi
jg 0x4023e6
push 1
push ecx
push 0x444cec
lea ecx, [ebp - 0x58]
call fcn.00403470
mov edi, eax
test edi, edi
jg 0x4023e6
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 0x444cf0
push eax
call esi
add esp, 8
test eax, eax
je 0x402648
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 0x444cf8
push eax
call esi
add esp, 8
test eax, eax
je 0x402648
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 0x444d0c
push eax
call esi
add esp, 8
test eax, eax
je 0x402648
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push str._silence
push eax
call esi
add esp, 8
test eax, eax
je 0x402648
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push str._show_home
push eax
call esi
add esp, 8
test eax, eax
jne 0x402648
cmp dword [0x45f714], 8
mov dword [0x45f710], eax
mov eax, 0x45f700
cmovae eax, dword [0x45f700]
xor ecx, ecx
mov dword [0x460540], 1
mov word [eax], cx
jmp 0x402648
push edi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403210
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
sub eax, edi
dec eax
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403210
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push str.game
push eax
call esi
add esp, 8
test eax, eax
jne 0x40243d
cmp dword [ebp - 0x30], eax
je 0x40243d
mov ecx, 0x45f658
jmp 0x402605
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push str.path
push eax
call esi
add esp, 8
test eax, eax
jne 0x402466
cmp dword [ebp - 0x30], eax
je 0x402466
mov ecx, 0x45f6a0
jmp 0x402605
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x444d58
push eax
call esi
add esp, 8
test eax, eax
jne 0x40248f
cmp dword [ebp - 0x30], eax
je 0x40248f
mov ecx, 0x45f640
jmp 0x402605
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x444d60
push eax
call esi
add esp, 8
test eax, eax
jne 0x4024b8
cmp dword [ebp - 0x30], eax
je 0x4024b8
mov ecx, 0x45f670
jmp 0x402605
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x444d68
push eax
call esi
add esp, 8
test eax, eax
jne 0x4024e1
cmp dword [ebp - 0x30], eax
je 0x4024e1
mov ecx, 0x45f688
jmp 0x402605
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push str.gkey
push eax
call esi
add esp, 8
test eax, eax
jne 0x40250a
cmp dword [ebp - 0x30], eax
je 0x40250a
mov ecx, 0x45f6b8
jmp 0x402605
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push str.name
push eax
call esi
add esp, 8
test eax, eax
jne 0x402533
cmp dword [ebp - 0x30], eax
je 0x402533
mov ecx, 0x45f658
jmp 0x402605
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push str.namespace
push eax
call esi
add esp, 8
test eax, eax
jne 0x40255c
cmp dword [ebp - 0x30], eax
je 0x40255c
mov ecx, 0x45f6d0
jmp 0x402605
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push str.app_id
push eax
call esi
add esp, 8
test eax, eax
jne 0x402585
cmp dword [ebp - 0x30], eax
je 0x402585
mov ecx, 0x45f6e8
jmp 0x402605
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push str._show_play
push eax
call esi
add esp, 8
test eax, eax
jne 0x4025cd
cmp dword [ebp - 0x30], eax
je 0x4025cd
cmp dword [0x45f714], 8
mov dword [0x45f710], eax
mov eax, 0x45f700
cmovae eax, dword [0x45f700]
xor ecx, ecx
mov dword [0x460540], 2
mov word [eax], cx
jmp 0x402600
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push str._show_webgame
push eax
call esi
add esp, 8
test eax, eax
jne 0x402612
cmp dword [ebp - 0x30], eax
je 0x402612
mov ecx, 0x45f700
mov dword [0x460540], 3
call fcn.004031f0
mov ecx, 0x45f700
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00405a30
cmp dword [ebp - 0x2c], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x402626
push dword [ebp - 0x40]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x402648
push dword [ebp - 0x28]
call edi
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 8
jb 0x402661
push dword [ebp - 0x58]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x60]
inc ebx
cmp ebx, dword [ebp - 0x5c]
jl 0x4022a3
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
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.0043bd5c
mov esp, ebp
pop ebp
ret