Function at 0x419a20
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x48e6ac
mov eax, dword fs:[0]
push eax
mov eax, 0xa198
mov dword fs:[0], esp
call fcn.00461900
mov eax, dword [0x4baba4]
push ebx
push esi
mov dword [esp + 0xa19c], eax
push edi
lea eax, [esp + 0x30]
xor ebx, ebx
push eax
mov edi, ecx
mov dword [esp + 0x2c], ebx
call fcn.00434630
mov dword [esp + 0xa1ac], 1
mov esi, dword [esp + 0xa1b8]
mov al, byte [esi + 0x4a6]
test al, al
jl 0x419a8f
push 0x209
lea ecx, [esp + 0x34]
call fcn.00430640
jmp 0x419f2b
push ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xa1c8]
call fcn.0042fa40
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x30], ebp
je 0x419f1c
cmp word [esp + 0x10], 0x10
ja 0x419f1c
mov dword [esp + 0x14], ebx
lea ebx, [esi + 0x484]
mov dword [esp + 0x18], ebx
cmp byte [ebx], 0
je 0x419ad8
lea edx, [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x14], 1
mov byte [esp + 0xa1b0], 2
push ebp
mov ecx, esi
call fcn.00424560
test al, al
mov byte [esi + 0x4a5], al
jge 0x419b0d
push 0x20c
lea ecx, [esp + 0x38]
call fcn.00430640
jmp 0x419ef0
mov eax, dword [esi + 0x410]
test eax, eax
ja 0x419b2a
push 0x216
lea ecx, [esp + 0x38]
call fcn.00430640
jmp 0x419ef0
lea eax, [edi + 0x9bc]
push eax
lea ecx, [esp + 0x28]
call fcn.00401b70
mov byte [esp + 0xa1b0], 3
movsx ecx, byte [esi + 0x4a5]
mov edx, dword [esi + ecx*4 + 0x4a8]
mov ecx, dword [edi + 0xa18]
push edx
call fcn.00406ce0
cmp eax, 1
jge 0x419b74
push 0x209
lea ecx, [esp + 0x38]
call fcn.00430640
jmp 0x419ebc
push str.MaxVal
push str.Database
lea ecx, [edi + 0xa30]
call fcn.00436690
mov ecx, eax
call fcn.004369d0
mov ecx, eax
call fcn.00401360
push eax
call fcn.00461829
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x419d3c
mov ecx, dword [edi + 0xa18]
call fcn.004178e0
cmp eax, ebp
jg 0x419c08
mov ecx, dword [edi + 0xa18]
call fcn.00417910
cmp eax, ebp
jg 0x419c08
mov ecx, dword [edi + 0xa18]
call fcn.00417940
cmp eax, ebp
jg 0x419c08
mov ecx, dword [edi + 0xa18]
call fcn.00417970
cmp eax, ebp
jg 0x419c08
mov ecx, dword [edi + 0xa18]
call fcn.004179a0
cmp eax, ebp
jg 0x419c08
mov ecx, dword [edi + 0xa18]
call fcn.004179d0
cmp eax, ebp
jle 0x419d3c
push 0x226
lea ecx, [esp + 0x38]
call fcn.00430640
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call fcn.00434630
mov byte [esp + 0xa1b0], 4
push 0x205
lea ecx, [esp + 0x70]
call fcn.0042f730
movsx eax, byte [esi + 0x4a5]
add eax, 0x2c
imul eax, eax, 0x1c
mov edx, dword [eax + esi + 0x18]
add eax, esi
mov ecx, 0x10
cmp edx, ecx
jb 0x419c59
mov eax, dword [eax + 4]
jmp 0x419c5c
add eax, 4
cmp dword [esi + 0x3dc], ecx
jb 0x419c6c
mov ecx, dword [esi + 0x3c8]
jmp 0x419c72
lea ecx, [esi + 0x3c8]
push eax
push ecx
push str.GP_GROUPSERVERAPPSERV_CPP_00002
mov ecx, 0x4be334
call fcn.0045e470
push eax
lea ecx, [esp + 0xa0b0]
push ecx
call fcn.004616ad
add esp, 0x10
lea edx, [esp + 0xa0a4]
push edx
lea ecx, [esp + 0x70]
call fcn.00430970
lea ebp, [edi + 0x54c]
push ebp
lea ecx, [esp + 0x20]
xor ebx, ebx
call fcn.0040c130
mov byte [esp + 0xa1b0], 5
mov ecx, ebp
call fcn.0040ab90
test eax, eax
je 0x419cf0
lea ebx, [ebx]
mov cl, byte [eax + 0x4a5]
test cl, cl
jl 0x419ce5
movsx ecx, bx
mov dword [esp + ecx*4 + 0xa4], eax
inc ebx
mov ecx, ebp
call fcn.0040ab90
test eax, eax
jne 0x419cd0
lea ecx, [esp + 0x1c]
call fcn.0040ad60
lea edx, [esp + 0x6c]
push edx
push ebx
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.0040d630
mov byte [esi + 0x4a6], 0xff
mov byte [esp + 0xa1b0], 4
lea ecx, [esp + 0x1c]
call fcn.0040c150
mov byte [esp + 0xa1b0], 3
lea ecx, [esp + 0x6c]
call fcn.004033b0
jmp 0x419eb8
xor ebx, ebx
push ebx
lea ecx, [esp + 0x38]
call fcn.00430640
cmp dword [esi + 0x414], 0x10
jb 0x419d59
mov eax, dword [esi + 0x400]
jmp 0x419d5f
lea eax, [esi + 0x400]
push eax
lea ecx, [esp + 0x38]
call fcn.00430970
movsx ecx, byte [esi + 0x4a5]
mov edx, dword [esi + ecx*4 + 0x4a8]
push edx
lea ecx, [esp + 0x38]
call fcn.00430750
movsx eax, byte [esi + 0x4a5]
mov ecx, dword [esi + eax*4 + 0x4a8]
push ecx
lea ecx, [esp + 0x38]
call fcn.00430750
mov ecx, dword [edi + 0xa18]
call fcn.004178c0
push eax
lea ecx, [esp + 0x38]
call fcn.00430970
movsx edx, byte [esi + 0x4a5]
mov eax, dword [edi + 0xa28]
mov edx, dword [esi + edx*4 + 0x4a8]
xor ecx, ecx
add eax, 0x82138
lea esp, [esp]
cmp edx, dword [eax]
je 0x419de1
inc ecx
add eax, 0x84
cmp ecx, 5
jl 0x419dd0
jmp 0x419de4
lea ebx, [ecx + 1]
push ebx
lea ecx, [esp + 0x38]
call fcn.00430640
mov byte [esp + 0x1c], 0
mov dword [esp + 0x20], 0x4bdac0
mov byte [esp + 0xa1b0], 6
mov ebp, dword [edi + 0xc40]
lea eax, [esp + 0x1c]
push eax
call fcn.0042e4d0
add esp, 4
push ebp
push 0x49d074
lea ecx, [edi + 0x54c]
mov ebx, eax
call fcn.0040b450
mov ecx, dword [esp + 0x38]
push eax
push str._begin_paly...
push ecx
push str._select_char_
lea edx, [esi + 0x3c4]
push edx
push 0x49d054
add esi, 0x419
push esi
push 0x49c1e8
push ebx
call fcn.00404a70
add esp, 8
push eax
call fcn.00404a70
add esp, 8
push eax
call fcn.00404a70
add esp, 8
push eax
call fcn.004118b0
add esp, 8
push eax
call fcn.00404a70
add esp, 8
push eax
call fcn.00404a70
add esp, 8
push eax
call fcn.00404a70
add esp, 8
mov ecx, eax
call fcn.00405170
push eax
call fcn.00404a70
add esp, 8
mov ecx, eax
call fcn.00405170
mov byte [esp + 0xa1b0], 3
lea ecx, [esp + 0x1c]
call fcn.0042e4c0
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x419edf
mov edx, eax
mov eax, dword [esp + 0x28]
mov cl, byte [eax]
dec edx
test cl, cl
mov dword [esp + 0x24], edx
je 0x419edf
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0xa1b0], 2
lea ecx, [esp + 0x24]
call fcn.00401ba0
cmp byte [ebx], 0
mov dword [esp + 0x14], 0
je 0x419f07
add ebx, 8
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0xa1b0], 1
lea ecx, [esp + 0x14]
call fcn.00401ba0
xor ebx, ebx
jmp 0x419f2a
push 0x209
lea ecx, [esp + 0x38]
call fcn.00430640
pop ebp
mov esi, dword [esp + 0xa1b4]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00409c60
mov dword [esp + 0x28], 1
mov dword [esp + 0xa1ac], ebx
lea ecx, [esp + 0x30]
call fcn.004028b0
mov ecx, dword [esp + 0xa1a4]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa198]
pop ebx
call fcn.0046135e
add esp, 0xa1a4
ret 0x10