Function at 0x4ad0e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6167b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov byte [esp + 0x37], 0
mov dword [esp + 0x30], edi
mov byte [esp + 0x13], 0
lea eax, [esp + 0x4f]
xor esi, esi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x16c], esi
call fcn.00482bc0
lea ecx, [esp + 0x4e]
mov byte [esp + 0x168], 3
push ecx
lea ecx, [esp + 0x28]
call fcn.00482bc0
mov eax, dword [esp + 0x170]
mov byte [esp + 0x168], 5
mov dword [esp + 0x68], esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4ad545
xor edi, edi
mov dword [esp + 0x44], edi
mov edx, dword [edi + ecx]
mov esi, dword [edi + ecx + 4]
mov ebp, dword [esp + 0x30]
mov eax, edx
sub esi, eax
mov eax, 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x14], eax
je 0x4ad4fd
mov ecx, dword [esp + 0x3c]
inc eax
mov cl, byte [ecx + eax - 1]
mov dword [esp + 0x14], eax
test cl, cl
jne 0x4ad2a6
cmp eax, esi
mov bl, 1
jae 0x4ad4fd
mov edi, dword [esp + 0x3c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x6c]
push edx
push edi
push eax
call fcn.004ae220
add esp, 0xc
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
cmp ecx, eax
mov byte [esp + 0x168], 6
je 0x4ad295
lea edx, [esp + 0x14]
lea eax, [esp + 0x78]
push edx
push edi
push eax
call fcn.004ae220
add esp, 0xc
mov eax, dword [esp + 0x14]
mov byte [esp + 0x168], 7
cmp eax, esi
ja 0x4ad614
test bl, bl
je 0x4ad22c
sub esp, 8
lea ecx, [esp + 0x74]
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00401a00
lea ecx, [ebp + 0x28]
call fcn.004ae170
sub esp, 8
lea ecx, [esp + 0x80]
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00401a00
sub esp, 8
mov ecx, esp
mov dword [esp + 0x58], esp
push ecx
lea ecx, [esp + 0x80]
call fcn.00401a00
lea ecx, [ebp + 0x28]
call fcn.00443640
lea ecx, [esp + 0x78]
mov byte [esp + 0x168], 6
call fcn.004207d0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x168], 5
call fcn.004207d0
mov eax, dword [esp + 0x14]
xor bl, bl
cmp eax, esi
jae 0x4ad4fd
jmp 0x4ad1bb
mov byte [esp + 0x168], 5
lea ecx, [esp + 0x6c]
jmp 0x4ad4ec
cmp cl, 1
je 0x4ad4a0
cmp cl, 2
jne 0x4ad66f
lea edi, [esp + 0x24]
cmp eax, esi
jae 0x4ad4fd
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.004ae220
add esp, 0xc
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
cmp edx, eax
mov byte [esp + 0x168], 8
je 0x4ad4e0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4ad4e0
ja 0x4ad6e1
mov ebp, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
xor esi, esi
shr eax, 0x1f
add edx, eax
je 0x4ad358
xor ebx, ebx
lea ecx, [esp + 0x50]
lea edx, [ebx + ebp]
push ecx
push edx
call fcn.004c0ad0
add esp, 8
test al, al
jne 0x4ad358
mov ebp, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
inc esi
shr eax, 0x1f
add edx, eax
add ebx, 0x18
cmp esi, edx
jb 0x4ad323
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jne 0x4ad3e5
lea ecx, [esp + 0x84]
call fcn.00403f90
lea ecx, [esp + 0x90]
mov byte [esp + 0x168], 9
call fcn.0042d2a0
lea edx, [esp + 0x84]
mov ecx, edi
push edx
mov byte [esp + 0x16c], 0xa
call fcn.004c00d0
lea ecx, [esp + 0x90]
mov byte [esp + 0x168], 0xb
call fcn.00482be0
lea ecx, [esp + 0x84]
mov byte [esp + 0x168], 8
call fcn.004207d0
mov eax, dword [edi]
lea ecx, [esp + 0x50]
lea edx, [esi + esi*2]
push ecx
lea ecx, [eax + edx*8]
call fcn.004044c0
mov eax, dword [edi]
mov ebx, dword [esp + 0x3c]
lea ecx, [esi + esi*2]
lea esi, [eax + ecx*8 + 0xc]
mov eax, dword [esp + 0x14]
mov dl, byte [ebx + eax]
inc eax
mov dword [esp + 0x14], eax
mov ebp, dword [esi]
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, ebp
mov byte [esp + 0x38], dl
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x38]
and eax, 0xff
cmp eax, edx
ja 0x4ad72b
jae 0x4ad448
sub edx, eax
lea ecx, [eax + edx]
lea eax, [eax + eax*2]
lea ecx, [ecx + ecx*2]
lea edx, [ebp + ecx*4]
lea ecx, [ebp + eax*4]
push edx
push ecx
mov ecx, esi
call fcn.004bf440
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jae 0x4ad4ba
lea edx, [esp + 0x14]
lea eax, [esp + 0x5c]
push edx
push ebx
push eax
call fcn.004ae220
add esp, 0xc
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
cmp ecx, eax
mov byte [esp + 0x168], 0xc
je 0x4ad4a9
lea edx, [esp + 0x5c]
mov ecx, esi
push edx
call fcn.004bf3f0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x168], 8
call fcn.004207d0
cmp dword [esp + 0x14], ebp
jb 0x4ad454
jmp 0x4ad4ba
lea edi, [esp + 0x18]
jmp 0x4ad2bc
lea ecx, [esp + 0x5c]
mov byte [esp + 0x168], 8
call fcn.004207d0
lea ecx, [esp + 0x50]
mov byte [esp + 0x168], 5
call fcn.004207d0
mov eax, dword [esp + 0x14]
cmp eax, ebp
jae 0x4ad4fd
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
jmp 0x4ad2c4
mov byte [esp + 0x168], 5
lea ecx, [esp + 0x50]
call fcn.004207d0
mov eax, dword [esp + 0x14]
cmp eax, esi
jb 0x4ad198
cmp eax, dword [esp + 0x40]
jne 0x4ad776
mov eax, dword [esp + 0x170]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x44]
inc esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
add edi, 0xc
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x68], esi
cmp esi, edx
mov dword [esp + 0x44], edi
jb 0x4ad172
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
je 0x4adacf
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add edx, eax
je 0x4ad8cb
xor ebp, ebp
test ebp, ebp
je 0x4ad5b4
mov edx, dword [ecx + ebp + 0x10]
mov esi, dword [ecx + ebp + 0xc]
sub edx, esi
mov eax, 0x2aaaaaab
imul edx
mov esi, edx
mov eax, dword [ecx + ebp - 0xc]
sar esi, 1
mov edx, esi
shr edx, 0x1f
add esi, edx
mov edx, dword [ecx + ebp - 8]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, esi
jne 0x4ad7e9
lea esi, [ecx + ebp]
mov ecx, dword [ecx + ebp + 4]
cmp byte [ecx - 1], 0x5f
jne 0x4ad85a
mov edx, dword [esi + 4]
mov eax, ecx
mov ecx, dword [esi]
sub eax, ecx
dec eax
add eax, ecx
sub edx, eax
lea ecx, [eax + 1]
push edx
push ecx
push eax
call fcn.004333c0
mov edx, dword [esi + 4]
add esp, 0xc
dec edx
mov eax, 0x2aaaaaab
mov dword [esi + 4], edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ebx
sub edx, ecx
add ebp, 0x18
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebx, edx
jb 0x4ad572
jmp 0x4ad8cb
mov edx, dword [ebp]
push str.CServerQuery::Query_GS2:_Invalid_rules_data
mov ecx, ebp
call dword [edx + 0x1c]
lea ecx, [esp + 0x78]
mov byte [esp + 0x168], 6
call fcn.004207d0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x168], 5
call fcn.004207d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 2
call fcn.004bee10
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call fcn.004bee10
xor al, al
jmp 0x4ae124
mov eax, dword [ebp]
push str.CServerQuery::Query_GS2Ex:_Invalid_Type
mov ecx, ebp
call dword [eax + 0x1c]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0x168], 0xd
je 0x4ad6a0
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4ad690
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 2
call fcn.004c0120
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov dword [esp + 0x168], 0xe
je 0x4ade55
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4ad6cc
jmp 0x4ade55
mov edx, dword [ebp]
push str.CServerQuery::Query_GS2Ex:_Invalid_key_data
mov ecx, ebp
call dword [edx + 0x1c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x168], 5
call fcn.004207d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 2
call fcn.004bee10
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call fcn.004bee10
xor al, al
jmp 0x4ae124
mov ecx, dword [esp + 0x30]
push str.CServerQuery::Query_GS2Ex:_Invalid_key_start_position
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x168], 5
call fcn.004207d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 2
call fcn.004bee10
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call fcn.004bee10
xor al, al
jmp 0x4ae124
mov ecx, dword [esp + 0x30]
push str.CServerQuery::Query_GS2Ex:_Parser_error
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0x168], 0xf
je 0x4ad7a8
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4ad798
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 2
call fcn.004c0120
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov dword [esp + 0x168], 0x10
je 0x4ade55
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4ad7d4
jmp 0x4ade55
mov edx, dword [edi]
push str.CServerQuery::Query_GS2:_Player_field_size_differ
mov ecx, edi
call dword [edx + 0x1c]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0x168], 0x11
je 0x4ad819
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4ad809
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 2
call fcn.004c0120
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov dword [esp + 0x168], 0x12
je 0x4ade55
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4ad845
jmp 0x4ade55
mov eax, dword [edi]
push str.CServerQuery::Query_GS2Ex:_Invalid_player_key
mov ecx, edi
call dword [eax + 0x1c]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0x168], 0x13
je 0x4ad88a
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4ad87a
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 2
call fcn.004c0120
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov dword [esp + 0x168], 0x14
je 0x4ade55
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4ad8b6
jmp 0x4ade55
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
sub edx, esi
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add edx, eax
je 0x4adaca
lea ecx, [esp + 0xa4]
call fcn.004047a0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x168], 0x15
call fcn.00403f90
lea ecx, [esp + 0xbc]
call fcn.0042d2a0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x168], 0x17
mov byte [esp + 0xe0], 0
call fcn.00403f90
lea ecx, [esp + 0x100]
mov byte [esp + 0x168], 0x18
call fcn.00403f90
lea ecx, [esp + 0x10c]
mov byte [esp + 0x168], 0x19
call fcn.00403f90
lea ecx, [esp + 0x9c]
mov byte [esp + 0x168], 0x1a
call fcn.004dc020
mov edx, dword [esp + 0x18]
mov cl, bl
inc cl
mov eax, 0x2aaaaaab
mov byte [esp + 0x9c], cl
mov ecx, dword [esp + 0x1c]
sub ecx, edx
xor esi, esi
imul ecx
sar edx, 2
mov eax, edx
mov byte [esp + 0x168], 0x1b
shr eax, 0x1f
add edx, eax
je 0x4ada1d
push ebx
push esi
lea ecx, [esp + 0x20]
call fcn.0046c560
mov ecx, eax
add ecx, 0xc
call fcn.00482bd0
sub esp, 0xc
mov dword [esp + 0x54], esp
mov ecx, esp
push eax
call fcn.00420b60
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x178], 0x1c
call fcn.0046c560
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00435600
lea ecx, [esp + 0xb4]
mov byte [esp + 0x180], 0x1b
push ecx
mov ecx, edi
call fcn.004aa260
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
inc esi
shr eax, 0x1f
add edx, eax
cmp esi, edx
jb 0x4ad9a1
lea edx, [esp + 0x9c]
lea ecx, [edi + 0x40]
push edx
call fcn.00490980
lea ecx, [esp + 0x10c]
mov byte [esp + 0x168], 0x21
call fcn.004207d0
lea ecx, [esp + 0x100]
mov byte [esp + 0x168], 0x20
call fcn.004207d0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x168], 0x1f
call fcn.004207d0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x168], 0x1e
call fcn.00432740
lea ecx, [esp + 0xb0]
mov byte [esp + 0x168], 0x1d
call fcn.004207d0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x168], 5
call fcn.00402ab0
mov ecx, dword [esp + 0x18]
mov eax, 0x2aaaaaab
inc ebx
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
sub edx, esi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebx, edx
jb 0x4ad8eb
mov byte [esp + 0x37], 1
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp ebp, ebx
je 0x4adf98
mov edx, ebx
mov eax, 0x2aaaaaab
sub edx, ebp
mov dword [esp + 0x44], 0
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4add23
xor ebx, ebx
test ebx, ebx
je 0x4adb46
mov ecx, dword [ebx + ebp + 0x10]
mov esi, dword [ebx + ebp + 0xc]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
mov ecx, edx
mov esi, dword [ebx + ebp - 0xc]
sar ecx, 1
mov edx, ecx
mov eax, 0x2aaaaaab
shr edx, 0x1f
add ecx, edx
mov edx, dword [ebx + ebp - 8]
sub edx, esi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ecx
jne 0x4add7f
lea ecx, [esp + 0x78]
push 2
push ecx
lea ecx, [ebx + ebp]
call fcn.004ae140
mov edx, eax
mov edi, 0x6a26d0
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [edx]
mov edx, dword [edx + 4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, esi
cmp edx, ecx
jne 0x4adb83
mov edi, 0x6a26d0
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4adb83
mov eax, 1
jmp 0x4adb85
xor eax, eax
test al, al
lea ecx, [esp + 0x78]
sete byte [esp + 0x13]
call fcn.00402ab0
mov al, byte [esp + 0x13]
test al, al
jne 0x4addeb
mov ecx, dword [esp + 0x24]
add ecx, ebx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
sub eax, edx
sub eax, 2
lea esi, [edx + eax + 2]
add edx, eax
push esi
push edx
call fcn.004045c0
mov ebp, dword [esp + 0x24]
mov edi, str.team
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [ebx + ebp]
mov edx, dword [ebx + ebp + 4]
not ecx
dec ecx
sub edx, esi
cmp edx, ecx
jne 0x4adbe9
mov edi, str.team
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4adc18
mov edi, str.teamname
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [ebx + ebp]
repne scasb al, byte es:[edi]
mov edx, dword [ebx + ebp + 4]
not ecx
dec ecx
sub edx, esi
cmp edx, ecx
jne 0x4adcf0
mov edi, str.teamname
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4adcf0
mov esi, dword [esp + 0x30]
mov eax, 0x5397829d
xor edi, edi
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
sub ecx, edx
mov dword [esp + 0x40], edi
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
test edx, edx
jle 0x4adcf0
mov eax, dword [esi + 0x40]
mov edx, dword [eax + edi + 0x68]
mov ecx, dword [eax + edi + 0x64]
sub edx, ecx
je 0x4adcbc
lea ecx, [eax + edi + 0x64]
call fcn.004fde40
test al, al
je 0x4adcb8
mov eax, dword [esi + 0x40]
lea ecx, [eax + edi + 0x64]
call fcn.004fde70
mov ecx, eax
dec ecx
js 0x4adcb8
mov ebp, dword [esp + 0x24]
mov edx, dword [ebx + ebp + 0x10]
mov eax, dword [ebx + ebp + 0xc]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
jge 0x4adcbc
mov eax, dword [ebx + ebp + 0xc]
mov edx, dword [esi + 0x40]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
lea ecx, [edx + edi + 0x64]
cmp eax, ecx
je 0x4adcbc
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ebp, [esp + 0x4d]
push ebp
push edx
push eax
call fcn.0041cfd0
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x40]
inc ecx
mov eax, 0x5397829d
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x44]
sub ecx, edx
add edi, 0xc4
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x40]
cmp eax, edx
jl 0x4adc43
mov ecx, dword [esp + 0x28]
mov eax, 0x2aaaaaab
sub ecx, ebp
mov esi, dword [esp + 0x44]
imul ecx
sar edx, 2
mov ecx, edx
inc esi
shr ecx, 0x1f
add edx, ecx
add ebx, 0x18
cmp esi, edx
mov dword [esp + 0x44], esi
jb 0x4adb04
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
sub edx, esi
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
mov dword [esp + 0x3c], 0
shr eax, 0x1f
add edx, eax
je 0x4adf8f
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, 0x2aaaaaab
sub edx, ebp
xor esi, esi
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4adf66
mov ecx, dword [esp + 0x30]
lea ebx, [edi + 1]
add ecx, 0x34
mov dword [esp + 0x38], ecx
jmp 0x4ade74
mov ecx, dword [esp + 0x30]
push str.CServerQuery::Query_GS2Ex:_Team_field_size_differ
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0x168], 0x22
je 0x4addb1
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4adda1
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 2
call fcn.004c0120
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov dword [esp + 0x168], 0x23
je 0x4ade55
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4addd9
jmp 0x4ade55
mov ecx, dword [esp + 0x30]
push str.CServerQuery::Query_GS2Ex:_Invalid_team_key
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0x168], 0x24
je 0x4ade1d
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4ade0d
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 2
call fcn.004c0120
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov dword [esp + 0x168], 0x25
je 0x4ade55
push 0
mov ecx, esi
call fcn.004c48d0
add esi, 0x18
cmp esi, edi
jne 0x4ade45
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call fcn.004c0120
xor al, al
jmp 0x4ae124
mov edi, dword [esp + 0x3c]
push edi
push esi
lea ecx, [esp + 0x2c]
call fcn.0046c560
mov ecx, eax
add ecx, 0xc
call fcn.00482bd0
mov ecx, eax
call fcn.00404600
sub esp, 8
mov edx, esp
mov dword [esp + 0x50], esp
test eax, eax
mov dword [edx], eax
je 0x4adead
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4adeaf
xor ecx, ecx
mov dword [edx + 4], ecx
lea ecx, [esp + 0x64]
call fcn.00403f90
mov edi, eax
sub esp, 8
lea ecx, [esp + 0x34]
mov edx, esp
mov dword [esp + 0x58], esp
push edx
push ebx
push esi
mov byte [esp + 0x184], 0x26
call fcn.0046c560
mov ecx, eax
call fcn.00404600
push eax
push str._s_t_u
push edi
call fcn.004fda00
add esp, 0x10
mov ecx, eax
call fcn.00401a00
mov ecx, dword [esp + 0x48]
call fcn.00443640
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
sub eax, ecx
mov byte [esp + 0x168], 0x27
test ecx, ecx
je 0x4adf32
cmp eax, 0x80
jbe 0x4adf28
push ecx
call fcn.005dd7a4
add esp, 4
jmp 0x4adf32
push eax
push ecx
call fcn.0050d4e0
add esp, 8
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
inc esi
shr eax, 0x1f
add edx, eax
mov byte [esp + 0x168], 5
cmp esi, edx
jb 0x4ade70
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
sub edx, esi
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
inc edi
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x3c], edi
cmp edi, edx
jb 0x4add4d
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov byte [esp + 0x13], 1
mov dword [edi + 0xf4], 1
mov edx, dword [edi + 0x2c]
mov esi, dword [edi + 0x28]
mov eax, 0x2aaaaaab
sub edx, esi
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov al, byte [esp + 0x37]
mov esi, edx
mov edx, dword [esp + 0x13]
and eax, 1
and edx, 1
shl eax, 1
or eax, edx
mov dword [esp + 0x38], edx
shl eax, 1
xor edx, edx
test esi, esi
setne dl
and edx, 1
or eax, edx
mov edx, dword [edi + 0xf0]
shl eax, 1
and edx, 0xfffffff1
or eax, edx
test al, 2
mov dword [edi + 0xf0], eax
je 0x4ae00d
push 0x24
mov ecx, edi
call fcn.004aa9a0
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
mov esi, ebx
mov dword [esp + 0x38], ebp
je 0x4ae04a
mov bl, 0x28
lea ecx, [ebp + 0xc]
mov byte [esp + 0x168], 0x29
call fcn.00477e40
mov ecx, ebp
mov byte [esp + 0x168], bl
call fcn.00402340
add ebp, 0x18
cmp ebp, esi
mov dword [esp + 0x38], ebp
jne 0x4ae019
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
test ebp, ebp
mov byte [esp + 0x168], 0x2a
je 0x4ae093
mov ecx, dword [esp + 0x2c]
mov eax, 0x2aaaaaab
sub ecx, ebp
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx + edx*2]
shl eax, 3
cmp eax, 0x80
jbe 0x4ae085
push ebp
call fcn.005dd7a4
add esp, 4
jmp 0x4ae08f
push eax
push ebp
call fcn.0050d4e0
add esp, 8
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, 0x2b
mov esi, ecx
cmp ecx, edi
mov dword [esp + 0x168], ebx
mov dword [esp + 0x38], esi
je 0x4ae0da
lea ecx, [esi + 0xc]
mov byte [esp + 0x168], 0x2c
call fcn.00477e40
mov ecx, esi
mov byte [esp + 0x168], bl
call fcn.00402340
add esi, 0x18
cmp esi, edi
mov dword [esp + 0x38], esi
jne 0x4ae0ad
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x168], 0x2d
je 0x4ae122
mov edx, dword [esp + 0x20]
mov eax, 0x2aaaaaab
sub edx, ecx
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx + edx*2]
shl eax, 3
cmp eax, 0x80
jbe 0x4ae118
push ecx
call fcn.005dd7a4
add esp, 4
jmp 0x4ae122
push eax
push ecx
call fcn.0050d4e0
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret 4