Function at 0x406fc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58616f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x5effd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x21c]
call fcn.004032f0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x224]
call fcn.00404d70
mov byte [ebp - 4], 1
push str.nineyou_setArea
lea ecx, [ebp - 0x224]
push ecx
call fcn.0040c150
add esp, 8
movzx edx, al
test edx, edx
je 0x407146
lea eax, [ebp - 0x2bc]
push eax
call fcn.00413fd0
mov ecx, eax
call fcn.00405170
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x29c]
push ecx
push 0x5cab30
call fcn.0040a820
add esp, 8
mov byte [ebp - 0x236], al
lea ecx, [ebp - 0x2bc]
call fcn.00403170
movzx edx, byte [ebp - 0x236]
test edx, edx
je 0x4070ff
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0xd4
call fcn.00402aa0
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.00408ed0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.0040bea0
movzx edx, al
test edx, edx
jne 0x4070f0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c4], esp
lea eax, [ebp - 0x24c]
push eax
call fcn.004027d0
mov ecx, dword [ebp - 0x228]
call fcn.00409090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.00403170
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
push str.setWindowType
lea eax, [ebp - 0x224]
push eax
call fcn.0040c150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4071c8
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
mov ecx, dword [ebp - 0x228]
add ecx, 0xd8
call fcn.00402aa0
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov ecx, dword [ebp - 0x220]
or ecx, 1
mov dword [ebp - 0x220], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
push str.nineyou_startBtnOnClick
lea edx, [ebp - 0x224]
push edx
call fcn.0040c150
add esp, 8
movzx eax, al
test eax, eax
je 0x4072e5
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c8], esp
push 0x5cab98
call fcn.00404d70
mov ecx, dword [ebp - 0x228]
call fcn.00409410
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
lea ecx, [ebp - 0x280]
call fcn.00404d70
mov byte [ebp - 4], 3
lea edx, [ebp - 0x27c]
push edx
call fcn.00413fd0
mov ecx, eax
call fcn.00405170
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
push eax
push 0x5caba0
call fcn.0040a820
add esp, 8
mov byte [ebp - 0x231], al
lea ecx, [ebp - 0x27c]
call fcn.00403170
movzx ecx, byte [ebp - 0x231]
test ecx, ecx
je 0x40728a
push 0
push 0
push 0
push 0x40a0a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov eax, dword [ebp - 0x220]
or eax, 1
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
push str.nineyou_logout
lea ecx, [ebp - 0x224]
push ecx
call fcn.0040c150
add esp, 8
movzx edx, al
test edx, edx
je 0x407429
push ecx
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x5cabd8
call fcn.00404d70
mov ecx, dword [ebp - 0x228]
call fcn.00408c30
mov byte [ebp - 0x232], al
movzx eax, byte [ebp - 0x232]
test eax, eax
je 0x40738e
push 0
push 0
push 0x5cabe0
mov ecx, dword [ebp - 0x228]
call fcn.0041b53b
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
lea eax, [ebp - 0x288]
push eax
call fcn.00413fd0
mov ecx, eax
call fcn.00405170
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
push ecx
push 0x5cabf8
call fcn.0040a820
add esp, 8
mov byte [ebp - 0x233], al
lea ecx, [ebp - 0x288]
call fcn.00403170
movzx edx, byte [ebp - 0x233]
test edx, edx
je 0x4073e2
mov ecx, dword [ebp - 0x228]
call fcn.00409950
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov ecx, dword [ebp - 0x220]
or ecx, 1
mov dword [ebp - 0x220], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
push str.saveRenderMode
lea edx, [ebp - 0x224]
push edx
call fcn.0040c150
add esp, 8
movzx eax, al
test eax, eax
je 0x407576
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00404d70
mov byte [ebp - 4], 4
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00404d70
mov byte [ebp - 4], 5
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
lea ecx, [ebp - 0x270]
call fcn.00404d70
mov byte [ebp - 4], 6
push 0x5cac30
lea ecx, [ebp - 0x25c]
call fcn.00402310
push eax
push str.WIDTH
push 0x5cac58
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x5cac68
lea ecx, [ebp - 0x274]
call fcn.00402310
push eax
push str.HEIGHT
push 0x5cac94
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str..Config.ini
lea ecx, [ebp - 0x270]
call fcn.00402310
push eax
push str.POST_EFFECT
push str.CONFIG
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x5cace8
mov ecx, dword [ebp + 8]
call fcn.00404d70
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x270]
call fcn.00403170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x274]
call fcn.00403170
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404d70
mov byte [ebp - 4], 7
push 0
lea ecx, [ebp - 0x248]
call fcn.0040bb80
mov byte [ebp - 4], 8
mov dword [ebp - 0x268], 0x104
lea ecx, [ebp - 0x22c]
call fcn.004032f0
mov byte [ebp - 4], 9
push 0x5cacec
lea ecx, [ebp - 0x230]
push ecx
call fcn.0040c150
add esp, 8
movzx edx, al
test edx, edx
je 0x4081a4
push 0x20019
push 0x5cacf4
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x248]
call fcn.0040ba70
test eax, eax
jne 0x40763a
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x5cad18
lea ecx, [ebp - 0x248]
call fcn.0040b910
test eax, eax
jne 0x40763a
lea ecx, [ebp - 0x248]
call fcn.0040bb10
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00402aa0
lea ecx, [ebp - 0x22c]
call fcn.0040bea0
movzx eax, al
test eax, eax
jne 0x4076a2
push 0x5cad24
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x290]
push edx
call fcn.00403bd0
add esp, 0xc
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x220]
or eax, 2
mov dword [ebp - 0x220], eax
push 0
mov ecx, dword [ebp - 0x28c]
call fcn.00402310
push eax
call fcn.00564cf4
add esp, 8
test eax, eax
jne 0x4076a2
mov dword [ebp - 0x260], 0
jmp 0x4076ac
mov dword [ebp - 0x260], 1
mov cl, byte [ebp - 0x260]
mov byte [ebp - 0x234], cl
mov edx, dword [ebp - 0x220]
and edx, 2
je 0x4076d5
and dword [ebp - 0x220], 0xfffffffd
lea ecx, [ebp - 0x290]
call fcn.00403170
movzx eax, byte [ebp - 0x234]
test eax, eax
je 0x407754
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.00403170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0040bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.00403d10
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040bd90
push 0x5cad40
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push str.pc_callback
lea edx, [ebp - 0x224]
push edx
call fcn.0040c150
add esp, 8
movzx eax, al
test eax, eax
je 0x40798a
cmp dword [ebp + 0x10], 7
je 0x407829
lea ecx, [ebp - 0x21c]
call fcn.00403100
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.00403170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0040bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
mov eax, dword [ebp - 0x228]
movzx ecx, byte [eax + 0xc0]
test ecx, ecx
je 0x407857
mov edx, dword [ebp - 0x228]
mov byte [edx + 0xc0], 0
push 0x5cad74
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cad7c
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cad8c
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cad98
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cada4
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
lea ecx, [ebp - 0x250]
call fcn.004032f0
mov byte [ebp - 4], 0xa
mov ecx, 4
imul edx, ecx, 6
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
mov edx, 4
imul eax, edx, 5
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
push 0x5cadac
push 0x5cadbc
lea eax, [ebp - 0x250]
push eax
call fcn.00403050
add esp, 0x14
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040bd90
mov edx, 4
shl edx, 2
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 0xe0
call fcn.00402aa0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x250]
call fcn.00403170
jmp 0x40819f
push 0x5cadd4
lea edx, [ebp - 0x224]
push edx
call fcn.0040c150
add esp, 8
movzx eax, al
test eax, eax
je 0x407b28
cmp dword [ebp + 0x10], 5
je 0x407a2e
lea ecx, [ebp - 0x21c]
call fcn.00403100
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.00403170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0040bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
mov eax, dword [ebp - 0x228]
movzx ecx, byte [eax + 0xc0]
test ecx, ecx
je 0x407a5c
mov edx, dword [ebp - 0x228]
mov byte [edx + 0xc0], 0
push 0x5cade8
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cadf0
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cae00
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cae0c
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cae18
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0xe0
call fcn.00402aa0
jmp 0x40819f
push 0x5cae20
lea ecx, [ebp - 0x224]
push ecx
call fcn.0040c150
add esp, 8
movzx edx, al
test edx, edx
je 0x407c0b
cmp dword [ebp + 0x10], 2
je 0x407bcc
lea ecx, [ebp - 0x21c]
call fcn.00403100
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov ecx, dword [ebp - 0x220]
or ecx, 1
mov dword [ebp - 0x220], ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.00403170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0040bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
push 0x5cae34
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cae3c
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
jmp 0x40819f
push str.nineyou_startGame
lea edx, [ebp - 0x224]
push edx
call fcn.0040c150
add esp, 8
movzx eax, al
test eax, eax
je 0x408053
cmp dword [ebp + 0x10], 5
jae 0x407caf
lea ecx, [ebp - 0x21c]
call fcn.00403100
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.00403170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0040bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
mov eax, dword [ebp - 0x228]
movzx ecx, byte [eax + 0xc0]
test ecx, ecx
je 0x407cdd
mov edx, dword [ebp - 0x228]
mov byte [edx + 0xc0], 0
push 0x5cae70
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cae78
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cae88
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cae94
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5caea0
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
lea eax, [ebp - 0x298]
push eax
call fcn.00413fd0
mov ecx, eax
call fcn.00405170
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x220]
or ecx, 4
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x294]
push edx
push 0x5caea8
call fcn.0040a820
add esp, 8
movzx eax, al
test eax, eax
je 0x407dd1
mov ecx, dword [ebp - 0x228]
add ecx, 0xd8
call fcn.0040bea0
movzx ecx, al
test ecx, ecx
jne 0x407dd1
mov dword [ebp - 0x264], 1
jmp 0x407ddb
mov dword [ebp - 0x264], 0
mov dl, byte [ebp - 0x264]
mov byte [ebp - 0x235], dl
mov eax, dword [ebp - 0x220]
and eax, 4
je 0x407e04
and dword [ebp - 0x220], 0xfffffffb
lea ecx, [ebp - 0x298]
call fcn.00403170
movzx ecx, byte [ebp - 0x235]
test ecx, ecx
je 0x407e29
mov edx, dword [ebp - 0x228]
add edx, 0xd8
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040bd90
jmp 0x407e43
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0xe0
call fcn.00402aa0
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.00413fd0
mov ecx, eax
call fcn.00405170
mov dword [ebp - 0x2b4], eax
mov edx, dword [ebp - 0x2b4]
push edx
push 0x5caec4
call fcn.0040a820
add esp, 8
mov byte [ebp - 0x23a], al
lea ecx, [ebp - 0x2a0]
call fcn.00403170
movzx eax, byte [ebp - 0x23a]
test eax, eax
je 0x407f18
lea ecx, [ebp - 0x254]
call fcn.004032f0
mov byte [ebp - 4], 0xb
mov ecx, 4
imul edx, ecx, 6
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx]
push ecx
mov edx, 4
imul eax, edx, 5
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
push 0x5caedc
push 0x5caeec
lea eax, [ebp - 0x254]
push eax
call fcn.00403050
add esp, 0x14
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040bd90
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x254]
call fcn.00403170
jmp 0x40804e
lea edx, [ebp - 0x2a8]
push edx
call fcn.00413fd0
mov ecx, eax
call fcn.00405170
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
push eax
push 0x5caf04
call fcn.0040a820
add esp, 8
mov byte [ebp - 0x237], al
lea ecx, [ebp - 0x2a8]
call fcn.00403170
movzx ecx, byte [ebp - 0x237]
test ecx, ecx
je 0x40804e
cmp dword [ebp + 0x10], 6
jbe 0x407fd4
lea ecx, [ebp - 0x258]
call fcn.004032f0
mov byte [ebp - 4], 0xc
mov edx, 4
imul eax, edx, 6
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx]
push eax
push str.togame:
push str.___s_s__s_
lea ecx, [ebp - 0x258]
push ecx
call fcn.00403050
add esp, 0x14
lea edx, [ebp - 0x258]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040bd90
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x258]
call fcn.00403170
jmp 0x40804e
cmp dword [ebp + 0x10], 5
jne 0x40804e
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov ecx, dword [ebp - 0x220]
or ecx, 1
mov dword [ebp - 0x220], ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.00403170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0040bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
jmp 0x40819f
push str.nineyou_fixClient
lea edx, [ebp - 0x224]
push edx
call fcn.0040c150
add esp, 8
movzx eax, al
test eax, eax
je 0x408194
cmp dword [ebp + 0x10], 2
je 0x4080f7
lea ecx, [ebp - 0x21c]
call fcn.00403100
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.00403170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0040bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
push 0x5caf6c
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5caf74
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
lea eax, [ebp - 0x2b0]
push eax
call fcn.00413fd0
mov ecx, eax
call fcn.00405170
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
push ecx
push 0x5caf84
call fcn.0040a820
add esp, 8
mov byte [ebp - 0x238], al
lea ecx, [ebp - 0x2b0]
call fcn.00403170
movzx edx, byte [ebp - 0x238]
test edx, edx
je 0x408192
mov eax, dword [ebp - 0x228]
mov byte [eax + 0xdc], 1
mov ecx, dword [ebp - 0x228]
call fcn.00409320
jmp 0x40819f
lea ecx, [ebp - 0x21c]
call fcn.00403100
jmp 0x4084b2
push 0x5cafa0
lea ecx, [ebp - 0x230]
push ecx
call fcn.0040c150
add esp, 8
movzx edx, al
test edx, edx
je 0x4084b2
push 0x20019
push 0x5cafa8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x248]
call fcn.0040ba70
test eax, eax
jne 0x408220
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x5cafc4
lea ecx, [ebp - 0x248]
call fcn.0040b910
test eax, eax
jne 0x408220
lea ecx, [ebp - 0x248]
call fcn.0040bb10
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00402aa0
lea ecx, [ebp - 0x22c]
call fcn.0040bea0
movzx eax, al
test eax, eax
jne 0x408288
push 0x5cafd0
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x2b8]
push edx
call fcn.00403bd0
add esp, 0xc
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x220]
or eax, 8
mov dword [ebp - 0x220], eax
push 0
mov ecx, dword [ebp - 0x2c0]
call fcn.00402310
push eax
call fcn.00564cf4
add esp, 8
test eax, eax
jne 0x408288
mov dword [ebp - 0x26c], 0
jmp 0x408292
mov dword [ebp - 0x26c], 1
mov cl, byte [ebp - 0x26c]
mov byte [ebp - 0x239], cl
mov edx, dword [ebp - 0x220]
and edx, 8
je 0x4082bb
and dword [ebp - 0x220], 0xfffffff7
lea ecx, [ebp - 0x2b8]
call fcn.00403170
movzx eax, byte [ebp - 0x239]
test eax, eax
je 0x40833a
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.00403170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0040bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.00403d10
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040bd90
push 0x5cafec
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cb008
lea edx, [ebp - 0x224]
push edx
call fcn.0040c150
add esp, 8
movzx eax, al
test eax, eax
je 0x4084a7
cmp dword [ebp + 0x10], 3
je 0x408404
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.00403170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0040bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
jmp 0x408521
mov eax, dword [ebp - 0x228]
movzx ecx, byte [eax + 0xc1]
test ecx, ecx
je 0x408432
mov edx, dword [ebp - 0x228]
mov byte [edx + 0xc1], 0
push 0x5cb01c
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push str.__url
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push str.__ip
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cb040
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
push 0x5cb044
lea ecx, [ebp - 0x21c]
call fcn.0040b8f0
jmp 0x4084b2
lea ecx, [ebp - 0x21c]
call fcn.00403100
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004027d0
mov ecx, dword [ebp - 0x220]
or ecx, 1
mov dword [ebp - 0x220], ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x22c]
call fcn.00403170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0040bb60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00403170
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c24d
mov esp, ebp
pop ebp
ret 0x14