Function at 0x4a3c30
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5074e0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4a8
mov eax, dword [0x55b18c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x458], ecx
xor eax, eax
dec edx
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x43c], eax
cmp edx, 3
ja case.default.0x4a3c8f
jmp dword [edx*4 + 0x4a4dd4]
call fcn.004a0ba0
test al, al
je 0x4a3ca9
mov edx, str.Call_of_Duty_Multiplayer_game_is_already_running_in_the_background._n
jmp 0x4a4d9a
cmp dword [0x568980], 0x10
mov edi, 0x56896c
cmovae edi, dword [0x56896c]
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x43c], edi
mov byte [ebp - 0x448], 0
lea eax, [ebp - 0x43c]
push dword [ebp - 0x448]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004c1290
add esp, 0xc
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x288]
push eax
call fcn.00477a00
lea ecx, [ebp - 0x248]
call fcn.00414f50
lea ecx, [ebp - 0x288]
call fcn.00477ad0
lea ecx, [ebp - 0x268]
mov byte [ebp - 0x43e], al
call fcn.00414f50
cmp byte [ebp - 0x43e], 0
jne 0x4a3db2
push 1
mov dword [ebp - 4], 1
call fcn.004cfd1d
add esp, 4
mov esi, eax
mov eax, 1
xor edx, edx
mov dword [ebp - 0x444], eax
test edi, edi
je 0x4a3d67
cmp byte [edi], dl
je 0x4a3d67
nop dword [eax]
inc edx
cmp byte [edx + edi], 0
jne 0x4a3d60
xor eax, eax
nop dword [eax]
inc eax
cmp eax, 0x10
je 0x4a3d81
cmp byte [eax + str._applaunch_2620], 0
jne 0x4a3d70
jmp 0x4a3d86
mov eax, 0x10
test edx, edx
je 0x4a3da9
test eax, eax
je 0x4a3da9
cmp eax, edx
ja 0x4a3da9
push eax
push str._applaunch_2620
push 0
mov ecx, edi
call fcn.0042fe80
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4a3db8
mov byte [ebp - 0x43d], 1
jmp 0x4a3dbf
mov esi, dword [ebp - 0x450]
mov byte [ebp - 0x43d], 0
mov eax, dword [ebp - 0x444]
test al, 1
je 0x4a3deb
and eax, 0xfffffffe
mov dword [ebp - 0x444], eax
test esi, esi
je 0x4a3deb
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x4a3deb
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x43d], 0
je 0x4a41c3
mov cl, 1
call fcn.0049ff80
jmp 0x4a41bb
call fcn.004a1b00
test al, al
je 0x4a3e17
mov edx, str.Call_of_Duty_2_Multiplayer_game_is_already_running_in_the_background._n
jmp 0x4a4d9a
cmp dword [0x568998], 0x10
mov edi, 0x568984
cmovae edi, dword [0x568984]
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x43c], edi
mov byte [ebp - 0x448], 0
lea eax, [ebp - 0x43c]
push dword [ebp - 0x448]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004c1290
add esp, 0xc
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x288]
push eax
call fcn.00477a00
lea ecx, [ebp - 0x248]
call fcn.00414f50
lea ecx, [ebp - 0x288]
call fcn.00477ad0
lea ecx, [ebp - 0x268]
mov byte [ebp - 0x43e], al
call fcn.00414f50
cmp byte [ebp - 0x43e], 0
jne 0x4a3eef
push 1
mov dword [ebp - 4], 6
call fcn.004cfd1d
mov dword [ebp - 0x450], eax
mov eax, 2
mov dword [ebp - 4], 7
sub esp, 8
mov dword [ebp - 0x444], eax
mov edx, str._applaunch_2630
mov dword [ebp - 0x43c], eax
lea ecx, [ebp - 0x44c]
call fcn.004bfd90
add esp, 0xc
mov byte [ebp - 0x43d], 1
test al, al
je 0x4a3ef6
mov byte [ebp - 0x43d], 0
mov eax, dword [ebp - 0x444]
test al, 2
je 0x4a3f28
mov ecx, dword [ebp - 0x450]
and eax, 0xfffffffd
mov dword [ebp - 0x444], eax
test ecx, ecx
je 0x4a3f28
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4a3f28
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x43d], 0
je 0x4a41c3
mov cl, 1
call fcn.004a0ee0
jmp 0x4a41bb
call fcn.004a2a60
test al, al
je 0x4a3f54
mov edx, str.Call_of_Duty_4:_Modern_Warfare_Multiplayer_game_is_already_running_in_the_background._n
jmp 0x4a4d9a
cmp dword [0x5689b0], 0x10
mov edi, 0x56899c
cmovae edi, dword [0x56899c]
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x43c], edi
mov byte [ebp - 0x448], 0
lea eax, [ebp - 0x43c]
push dword [ebp - 0x448]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004c1290
add esp, 0xc
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x288]
push eax
call fcn.00477a00
lea ecx, [ebp - 0x248]
call fcn.00414f50
lea ecx, [ebp - 0x288]
call fcn.00477ad0
lea ecx, [ebp - 0x268]
mov byte [ebp - 0x43e], al
call fcn.00414f50
cmp byte [ebp - 0x43e], 0
jne 0x4a4062
push 1
mov dword [ebp - 4], 9
call fcn.004cfd1d
add esp, 4
mov dword [ebp - 0x450], eax
mov eax, 4
xor edx, edx
mov dword [ebp - 0x444], eax
test edi, edi
je 0x4a4017
cmp byte [edi], dl
je 0x4a4017
nop
inc edx
cmp byte [edi + edx], 0
jne 0x4a4010
xor eax, eax
nop dword [eax]
inc eax
cmp eax, 0x10
je 0x4a4031
cmp byte [eax + str._applaunch_7940], 0
jne 0x4a4020
jmp 0x4a4036
mov eax, 0x10
test edx, edx
je 0x4a4059
test eax, eax
je 0x4a4059
cmp eax, edx
ja 0x4a4059
push eax
push str._applaunch_7940
push 0
mov ecx, edi
call fcn.0042fe80
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4a4062
mov byte [ebp - 0x43d], 1
jmp 0x4a4069
mov byte [ebp - 0x43d], 0
mov eax, dword [ebp - 0x444]
test al, 4
je 0x4a4087
and eax, 0xfffffffb
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x444], eax
call fcn.0040aa40
cmp byte [ebp - 0x43d], 0
je 0x4a41c3
mov cl, 1
call fcn.004a1e40
jmp 0x4a41bb
call fcn.004a38f0
test al, al
je 0x4a40b3
mov edx, str.Call_of_Duty_5:_World_at_War_Multiplayer_game_is_already_running_in_the_background._n
jmp 0x4a4d9a
cmp dword [0x5689c8], 0x10
mov edi, 0x5689b4
cmovae edi, dword [0x5689b4]
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x43c], edi
mov byte [ebp - 0x448], 0
lea eax, [ebp - 0x43c]
push dword [ebp - 0x448]
mov dword [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004c1290
add esp, 0xc
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x288]
push eax
call fcn.00477a00
lea ecx, [ebp - 0x248]
call fcn.00414f50
lea ecx, [ebp - 0x288]
call fcn.00477ad0
lea ecx, [ebp - 0x268]
mov byte [ebp - 0x43e], al
call fcn.00414f50
cmp byte [ebp - 0x43e], 0
jne 0x4a4186
push 1
mov dword [ebp - 4], 0xe
call fcn.004cfd1d
mov dword [ebp - 0x450], eax
mov eax, 8
mov dword [ebp - 4], 0xf
sub esp, 8
mov dword [ebp - 0x444], eax
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x43c], eax
call fcn.004bfe30
add esp, 0xc
mov byte [ebp - 0x43d], 1
test al, al
je 0x4a418d
mov byte [ebp - 0x43d], 0
mov eax, dword [ebp - 0x444]
test al, 8
je 0x4a41ab
and eax, 0xfffffff7
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x444], eax
call fcn.0040aa40
cmp byte [ebp - 0x43d], 0
je 0x4a41c3
mov cl, 1
call fcn.004a2da0
mov edi, eax
mov dword [ebp - 0x44c], edi
push 1
mov dword [ebp - 4], 0x10
call fcn.004cfd1d
add esp, 4
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x444]
xor edx, edx
or eax, 0x10
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x43c], eax
test edi, edi
je 0x4a4207
cmp byte [edi], dl
je 0x4a4207
nop dword [eax]
inc edx
cmp byte [edx + edi], 0
jne 0x4a4200
xor eax, eax
nop dword [eax]
inc eax
cmp eax, 0x10
je 0x4a4221
cmp byte [eax + str._applaunch_2620], 0
jne 0x4a4210
jmp 0x4a4226
mov eax, 0x10
test edx, edx
je 0x4a4254
test eax, eax
je 0x4a4254
cmp eax, edx
ja 0x4a4254
push eax
push str._applaunch_2620
push 0
mov ecx, edi
call fcn.0042fe80
add esp, 0xc
cmp eax, 0xffffffff
je 0x4a4254
mov esi, dword [ebp - 0x450]
jmp 0x4a43b7
push 1
mov dword [ebp - 4], 0x14
call fcn.004cfd1d
add esp, 4
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x444]
xor edx, edx
or eax, 0x20
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x43c], eax
test edi, edi
je 0x4a4297
cmp byte [edi], dl
je 0x4a4297
nop word [eax + eax]
inc edx
cmp byte [edx + edi], 0
jne 0x4a4290
xor eax, eax
nop dword [eax]
inc eax
cmp eax, 0x10
je 0x4a42b1
cmp byte [eax + str._applaunch_2630], 0
jne 0x4a42a0
jmp 0x4a42b6
mov eax, 0x10
test edx, edx
je 0x4a42e4
test eax, eax
je 0x4a42e4
cmp eax, edx
ja 0x4a42e4
push eax
push str._applaunch_2630
push 0
mov ecx, edi
call fcn.0042fe80
add esp, 0xc
cmp eax, 0xffffffff
je 0x4a42e4
mov esi, dword [ebp - 0x450]
jmp 0x4a43b7
push 1
mov dword [ebp - 4], 0x18
call fcn.004cfd1d
mov esi, eax
add esp, 4
mov dword [ebp - 0x450], esi
mov eax, dword [ebp - 0x444]
xor edx, edx
or eax, 0x40
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x43c], eax
test edi, edi
je 0x4a4327
cmp byte [edi], dl
je 0x4a4327
nop dword [eax]
inc edx
cmp byte [edx + edi], 0
jne 0x4a4320
xor eax, eax
nop dword [eax]
inc eax
cmp eax, 0x10
je 0x4a4341
cmp byte [eax + str._applaunch_7940], 0
jne 0x4a4330
jmp 0x4a4346
mov eax, 0x10
test edx, edx
je 0x4a4369
test eax, eax
je 0x4a4369
cmp eax, edx
ja 0x4a4369
push eax
push str._applaunch_7940
push 0
mov ecx, edi
call fcn.0042fe80
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4a43b7
push 1
mov dword [ebp - 4], 0x1c
call fcn.004cfd1d
mov dword [ebp - 0x45c], eax
mov dword [ebp - 4], 0x1d
lea ecx, [ebp - 0x44c]
mov eax, dword [ebp - 0x444]
sub esp, 8
or eax, 0x80
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x43c], eax
call fcn.004bfe30
add esp, 0xc
mov byte [ebp - 0x43d], 0
test al, al
je 0x4a43be
mov byte [ebp - 0x43d], 1
mov eax, dword [ebp - 0x444]
test al, al
jns 0x4a43f8
mov ecx, dword [ebp - 0x45c]
and eax, 0xffffff7f
mov dword [ebp - 0x444], eax
test ecx, ecx
je 0x4a43f8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4a43f2
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov eax, dword [ebp - 0x444]
test al, 0x40
je 0x4a4426
and eax, 0xffffffbf
mov dword [ebp - 0x444], eax
test esi, esi
je 0x4a4426
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4a4420
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov eax, dword [ebp - 0x444]
test al, 0x20
je 0x4a4458
mov ecx, dword [ebp - 0x46c]
and eax, 0xffffffdf
mov dword [ebp - 0x444], eax
test ecx, ecx
je 0x4a4458
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4a4452
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov eax, dword [ebp - 0x444]
test al, 0x10
je 0x4a4484
mov ecx, dword [ebp - 0x464]
and eax, 0xffffffef
mov dword [ebp - 0x444], eax
test ecx, ecx
je 0x4a4484
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4a4484
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
test edi, edi
je 0x4a464c
xor eax, eax
cmp byte [edi], al
je 0x4a464c
inc eax
cmp byte [eax + edi], 0
jne 0x4a4496
test eax, eax
je 0x4a464c
push 1
mov dword [ebp - 4], 0x1e
call fcn.004cfd1d
add esp, 4
mov dword [ebp - 0x450], eax
mov dword [ebp - 4], 0x1f
mov eax, dword [ebp - 0x444]
or eax, 0x100
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x43c], eax
xor eax, eax
mov dword [ebp - 0x44c], eax
cmp byte [edi], al
je 0x4a44f3
inc eax
cmp byte [eax + edi], 0
jne 0x4a44e6
mov dword [ebp - 0x44c], eax
xor ecx, ecx
inc ecx
cmp ecx, 5
je 0x4a4506
cmp byte [ecx + str..exe], 0
jne 0x4a44f5
jmp 0x4a450b
mov ecx, 5
test eax, eax
je 0x4a463a
test ecx, ecx
je 0x4a463a
cmp ecx, eax
ja 0x4a463a
mov esi, eax
sub esi, ecx
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x448], esi
call fcn.004308b0
test al, al
je 0x4a45d7
lea eax, [ebp - 0x454]
push eax
call fcn.004159c0
add esp, 4
mov ecx, eax
mov dword [ebp - 0x448], ecx
cmp esi, dword [ebp - 0x44c]
jae 0x4a4643
mov eax, str..exe
sub eax, esi
mov dword [ebp - 0x46c], eax
mov al, byte [esi + edi]
mov byte [ebp - 0x464], al
mov eax, dword [ecx]
push dword [ebp - 0x464]
mov eax, dword [eax + 0x10]
call eax
mov byte [ebp - 0x43e], al
mov eax, dword [ebp - 0x46c]
mov cl, byte [eax + esi]
mov eax, dword [ebp - 0x448]
mov byte [ebp - 0x45c], cl
push dword [ebp - 0x45c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov ecx, eax
call edx
cmp byte [ebp - 0x43e], al
jne 0x4a463a
mov ecx, dword [ebp - 0x448]
inc esi
cmp esi, dword [ebp - 0x44c]
jb 0x4a4570
mov byte [ebp - 0x43e], 0
jmp 0x4a4653
cmp esi, dword [ebp - 0x44c]
jae 0x4a4643
mov eax, str..exe
sub eax, esi
mov dword [ebp - 0x45c], eax
nop dword [eax]
movsx eax, byte [esi + edi]
push eax
call fcn.004de878
mov ecx, dword [ebp - 0x45c]
mov esi, eax
mov eax, dword [ebp - 0x448]
add esp, 4
movsx ecx, byte [ecx + eax]
push ecx
call fcn.004de878
add esp, 4
cmp esi, eax
jne 0x4a463a
mov esi, dword [ebp - 0x448]
inc esi
mov dword [ebp - 0x448], esi
cmp esi, dword [ebp - 0x44c]
jb 0x4a45f0
mov byte [ebp - 0x43e], 0
jmp 0x4a4653
cmp byte [ebp - 0x43d], 0
je 0x4a464c
mov byte [ebp - 0x43e], 0
jmp 0x4a4653
mov byte [ebp - 0x43e], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x444]
test eax, 0x100
je 0x4a4686
mov ecx, dword [ebp - 0x450]
test ecx, ecx
je 0x4a4686
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4a4686
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x43e], 0
jne 0x4a4db1
push 6
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x458]
call fcn.00413d80
cmp byte [ebp - 0x43d], 0
je 0x4a4981
cmp byte [ebx + 8], 0
je 0x4a46e8
mov ecx, 0x568ba4
mov esi, eax
call fcn.00413d80
push esi
push eax
push edi
push str._s_password__s_connect__s
push 0x8000
push 0x581c70
call fcn.00409c40
add esp, 0x18
jmp 0x4a4701
push eax
push edi
push str._s_connect__s
push 0x8000
push 0x581c70
call fcn.00409c40
add esp, 0x14
push 0x98
lea eax, [ebp - 0x3a0]
push 0
push eax
call fcn.004db730
add esp, 8
lea ecx, [ebp - 0x3a0]
call fcn.0046cd60
lea eax, [ebp - 0x3a0]
mov dword [ebp - 4], 0x2a
push str.2Launching_1
push eax
call fcn.0046dc20
add esp, 8
mov esi, eax
call fcn.00479120
push str._2via_Steam_and_connecting_to_1
push ecx
push eax
push esi
call fcn.0046dc20
add esp, 0xc
push eax
call fcn.0046dc20
add esp, 8
mov edx, 0x568954
cmp dword [0x568968], 0x10
cmovae edx, dword [0x568954]
push str._2game_server..._n
push ecx
push dword [0x568964]
mov ecx, eax
call fcn.004342b0
add esp, 8
push eax
call fcn.0046dc20
add esp, 8
lea eax, [ebp - 0x2a8]
lea ecx, [ebp - 0x3a0]
push eax
call fcn.0046cc70
push 1
push 0
mov byte [ebp - 4], 0x2b
lea edx, [ebp - 0x2a8]
cmp dword [ebp - 0x294], 0x10
push 1
cmovae edx, dword [ebp - 0x2a8]
push 1
push ecx
mov ecx, dword [0x5653c4]
call fcn.004a4e90
add esp, 0x14
mov dword [ebp - 0x250], 0
lea eax, [ebp - 0x290]
mov dword [ebp - 0x290], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x264], 0x80
movlpd qword [ebp - 0x28c], xmm0
push 0x56539c
push eax
push 0
push 0
push 0x8008
push 0
push 0
push 0
push 0x581c70
push 0
movlpd qword [ebp - 0x284], xmm0
movlpd qword [ebp - 0x27c], xmm0
movlpd qword [ebp - 0x274], xmm0
movlpd qword [ebp - 0x26c], xmm0
movlpd qword [ebp - 0x260], xmm0
movlpd qword [ebp - 0x258], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4a4958
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004db730
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push 0x200
push eax
call fcn.004e6774
add esp, 0xc
lea ecx, [ebp - 0x4b8]
mov edx, 0x536bd8
push 1
call fcn.00409ed0
add esp, 4
mov esi, eax
push 0x23
mov edx, str.1Launching_game_via_Steam_failed:
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x4a0]
call fcn.00409ed0
add esp, 4
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x2d
push ecx
push eax
lea eax, [ebp - 0x488]
push eax
call fcn.004bc120
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x2c0]
call fcn.00416bb0
add esp, 4
lea ecx, [ebp - 0x488]
call fcn.00413f80
lea ecx, [ebp - 0x4a0]
call fcn.00413f80
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 0x32
call fcn.00413f80
lea ecx, [ebp - 0x2c0]
call fcn.00413d80
push 1
push 0
push 1
push 1
push ecx
mov ecx, dword [0x5653c4]
mov edx, eax
call fcn.004a4e90
add esp, 0x14
lea ecx, [ebp - 0x2c0]
call fcn.00413f80
lea ecx, [ebp - 0x2a8]
call fcn.00413f80
lea ecx, [ebp - 0x3a0]
call fcn.0043b440
jmp 0x4a4db1
lea ecx, [ebp - 0x2a8]
call fcn.00413f80
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 4], 0xffffffff
call fcn.0043b440
call fcn.004b1730
mov al, 1
jmp 0x4a4db3
cmp byte [ebx + 8], 0
je 0x4a49af
mov ecx, 0x568ba4
mov esi, eax
call fcn.00413d80
push esi
push eax
push edi
push str.__s__password__s_connect__s
push 0x8000
push 0x581c70
call fcn.00409c40
add esp, 0x18
jmp 0x4a49c8
push eax
push edi
push str.__s__connect__s
push 0x8000
push 0x581c70
call fcn.00409c40
add esp, 0x14
mov ecx, edi
mov dword [ebp - 0x220], 0
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x230], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a49f0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x230]
call fcn.00417660
mov dword [ebp - 4], 0x20
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x21c]
lea edx, [ebp - 0x230]
mov ecx, dword [ebp - 0x230]
cmp esi, 0x10
mov edi, dword [ebp - 0x220]
cmovae eax, ecx
add eax, edi
cmp esi, 0x10
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x230]
cmovae eax, ecx
cmovae edx, ecx
mov dword [ebp - 0x45c], eax
test edi, edi
je 0x4a4a72
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x4a4a6e
cmp ecx, edx
je 0x4a4a72
dec ecx
cmp byte [ecx], 0x5c
jne 0x4a4a64
sub ecx, edx
jmp 0x4a4a75
or ecx, 0xffffffff
add ecx, dword [ebp - 0x45c]
lea eax, [ebp - 0x230]
mov edx, dword [ebp - 0x448]
cmp esi, 0x10
mov esi, ecx
cmovae eax, dword [ebp - 0x230]
sub edx, ecx
sub esi, eax
mov eax, edi
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x21c], 0x10
mov dword [ebp - 0x448], edx
lea edx, [ebp - 0x230]
cmovae edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x448]
add edx, esi
sub edi, eax
add eax, edx
mov ecx, edi
sub ecx, esi
inc ecx
push ecx
push eax
push edx
call fcn.004db1b0
add esp, 0xc
mov dword [ebp - 0x220], edi
test edi, edi
je 0x4a4af5
lea ecx, [ebp - 0x230]
call fcn.00413d90
cmp byte [eax], 0x5c
jne 0x4a4af5
call fcn.0042d880
push 0x98
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.004db730
add esp, 8
lea ecx, [ebp - 0x438]
call fcn.0046cd60
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x21
push str.2Launching_1
push eax
call fcn.0046dc20
add esp, 8
mov esi, eax
call fcn.00479120
push str._2and_connecting_to_1
push ecx
push eax
push esi
call fcn.0046dc20
add esp, 0xc
push eax
call fcn.0046dc20
add esp, 8
mov edx, 0x568954
cmp dword [0x568968], 0x10
cmovae edx, dword [0x568954]
push str._2game_server..._n
push ecx
push dword [0x568964]
mov ecx, eax
call fcn.004342b0
add esp, 8
push eax
call fcn.0046dc20
add esp, 8
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x438]
push eax
call fcn.0046cc70
push 1
push 0
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x248]
cmp dword [ebp - 0x234], 0x10
push 1
cmovae edx, dword [ebp - 0x248]
push 1
push ecx
mov ecx, dword [0x5653c4]
call fcn.004a4e90
add esp, 0x14
mov dword [ebp - 0x2c8], 0
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x308]
lea eax, [ebp - 0x230]
mov dword [ebp - 0x308], 0x44
cmovae eax, dword [ebp - 0x230]
xorps xmm0, xmm0
push 0x56539c
push ecx
push eax
push 0
push 0x88
push 0
push 0
push 0
push 0x581c70
push 0
movlpd qword [ebp - 0x304], xmm0
movlpd qword [ebp - 0x2fc], xmm0
movlpd qword [ebp - 0x2f4], xmm0
movlpd qword [ebp - 0x2ec], xmm0
movlpd qword [ebp - 0x2e4], xmm0
movlpd qword [ebp - 0x2d8], xmm0
movlpd qword [ebp - 0x2d0], xmm0
mov dword [ebp - 0x2dc], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4a4d64
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004db730
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push 0x200
push eax
call fcn.004e6774
add esp, 0xc
lea ecx, [ebp - 0x488]
mov edx, 0x536bd8
push 1
call fcn.00409ed0
add esp, 4
mov esi, eax
push 0x19
mov edx, str.1Launching_game_failed:
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x4a0]
call fcn.00409ed0
add esp, 4
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x24
push ecx
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.004bc120
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x2c0]
call fcn.00416bb0
add esp, 4
lea ecx, [ebp - 0x4b8]
call fcn.00413f80
lea ecx, [ebp - 0x4a0]
call fcn.00413f80
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 0x29
call fcn.00413f80
lea ecx, [ebp - 0x2c0]
call fcn.00413d80
push 1
push 0
push 1
push 1
push ecx
mov ecx, dword [0x5653c4]
mov edx, eax
call fcn.004a4e90
add esp, 0x14
lea ecx, [ebp - 0x2c0]
call fcn.00413f80
lea ecx, [ebp - 0x248]
call fcn.00413f80
lea ecx, [ebp - 0x438]
call fcn.0043b440
lea ecx, [ebp - 0x230]
call fcn.00413f80
jmp 0x4a4db1
lea ecx, [ebp - 0x248]
call fcn.00413f80
lea ecx, [ebp - 0x438]
call fcn.0043b440
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00413f80
call fcn.004b1730
mov al, 1
jmp 0x4a4db3
mov edx, str.1Invalid_1game_name_t_enum_value_has_been_specified__n
push 1
push 0
push 1
push 1
push ecx
mov ecx, dword [0x5653c4]
call fcn.004a4e90
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d20a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret