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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x9c
push esi
push eax
or esi, 0xffffffff
call fcn.004542c0
add esp, 4
test al, al
je 0x4593c3
push ebx
push str.rtsgt
lea ecx, [esp + 0x44]
call fcn.00418c70
push str.rtsgt
lea ecx, [esp + 0x28]
call fcn.00418c70
mov esi, dword [esp + 0xa8]
mov edx, esi
shr edx, 0x18
mov eax, esi
and eax, 0xf00000
shl edx, 0x18
lea ecx, [esp + 0xc]
push ecx
add eax, 0x100000
or edx, eax
push edx
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x8c]
push edx
call fcn.005b7540
add esp, 0xc
push eax
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.005b7510
add esp, 0xc
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
lea eax, [esp + 0x10]
push str.team_lookup
push eax
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 8]
call fcn.005bdce0
mov ecx, dword [esp + 0x18]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x10], 0x8477e8
je 0x4591dd
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x4591ec
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x68]
cmp eax, ecx
mov esi, 0x84760c
mov dword [esp + 0x10], esi
je 0x459210
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0x5c], esi
je 0x45922f
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x8c]
cmp eax, ecx
je 0x459250
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x48]
cmp eax, ecx
mov dword [esp + 0x80], esi
je 0x459272
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0xc]
push edi
call fcn.005b6c70
cmp eax, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ebx
jle 0x459364
push ebp
lea ecx, [ecx]
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.005b6e00
push str.move_from_rtsgt
lea ecx, [esp + 0x1c]
call fcn.00419060
mov ebp, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4592d4
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x4592d4
test esi, esi
je 0x4592d4
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005b6e00
push str.qualify_from_rtsgt
lea ecx, [esp + 0x30]
call fcn.00419060
mov edi, eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x459318
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x459318
test esi, esi
je 0x459318
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
cmp edi, 0xffffffff
mov eax, ebp
je 0x459321
mov eax, edi
mov edx, eax
shr edx, 0x18
mov ecx, eax
and ecx, 0xf00000
shl edx, 0x18
or edx, ecx
cmp edx, dword [esp + 0xb4]
jne 0x459346
cmp eax, dword [esp + 0x10]
jle 0x459346
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
inc ebx
cmp ebx, eax
jl 0x459290
mov ebx, dword [esp + 0x10]
test ebx, ebx
pop ebp
je 0x459364
and ebx, 0xff
jmp 0x459367
or ebx, 0xffffffff
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4593b7
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x4593b7
test esi, esi
je 0x4593b7
mov edi, dword [esi + 0x5c]
test edi, edi
je 0x45939b
dec dword [edi]
jne 0x45939b
test edi, edi
je 0x45939b
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov eax, dword [esi + 0x58]
lea edx, [esi + 0x54]
cmp eax, edx
je 0x4593ae
push eax
call fcn.005b3b10
add esp, 4
push esi
call fcn.005b3b10
add esp, 4
pop edi
mov eax, ebx
pop ebx
pop esi
add esp, 0x9c
ret
mov eax, esi
pop esi
add esp, 0x9c
ret