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

Disassembly:
sub esp, 0xec
mov eax, dword [esp + 0xf4]
push ebx
mov ebx, dword [esp + 0xf4]
push ebp
mov ebp, dword [esp + 0x100]
push esi
push edi
push eax
push ebx
mov dword [ebp], 0
call fcn.005c5bc0
mov edi, dword [ebx]
add esp, 8
push str.team_id
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00418c70
push str.rtsgt
lea ecx, [esp + 0x58]
call fcn.00418c70
push str.rtsgt
lea ecx, [esp + 0x78]
call fcn.00418c70
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xe4]
push eax
call fcn.005b74b0
add esp, 0xc
push eax
mov ecx, esi
shr ecx, 0x18
mov edx, esi
and edx, 0xff00
shl ecx, 0x18
add edx, 0x100
or ecx, edx
mov eax, esi
and eax, 0xff0000
or ecx, eax
push ecx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0xa0]
push edx
call fcn.005b7540
add esp, 0xc
push eax
push esi
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.005b7510
add esp, 0xc
push eax
lea edx, [esp + 0x24]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
lea eax, [esp + 0x54]
push eax
call fcn.005b7fa0
add esp, 0xc
push eax
push str.team_lookup
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x20]
call fcn.005bdce0
mov esi, 0x8477e8
mov ecx, dword [esp + 0x50]
test ecx, ecx
mov dword [esp + 0x48], esi
je 0x5c27a9
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x5c27b8
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov edi, 0x84760c
mov dword [esp + 0x48], edi
mov dword [esp + 0x14], esi
je 0x5c27d4
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5c27e3
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0xc0]
cmp eax, ecx
mov dword [esp + 0x14], edi
je 0x5c2802
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x7c]
cmp eax, edx
mov dword [esp + 0xb4], edi
je 0x5c2821
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x9c]
cmp eax, ecx
je 0x5c283c
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x5c]
cmp eax, edx
mov dword [esp + 0x90], edi
je 0x5c2858
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0xe4]
cmp eax, ecx
je 0x5c2873
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x30]
cmp eax, edx
mov dword [esp + 0xd8], edi
je 0x5c288f
push eax
call fcn.004186c0
add esp, 4
mov ecx, ebx
call fcn.005c6090
test eax, eax
jl 0x5c28bd
mov ecx, dword [esp + 0x10]
push str._ranking
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], str._ranking
mov dword [esp + 0x2c], 0xffffffff
call fcn.005c1270
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea edx, [eax + 0x5c]
push edx
mov edx, dword [eax + 4]
lea edi, [esi + ecx*4]
push edx
mov ecx, esi
mov ebx, eax
push ecx
add eax, 8
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call fcn.005b86b0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea esi, [edi + ecx*4]
mov ecx, dword [eax + 4]
lea edx, [eax + 0x5c]
push edx
push ecx
mov ebx, eax
push esi
add eax, 8
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
call fcn.005b86b0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x60]
cmp edx, esi
mov dword [esp + 0x64], ebx
setne bl
test eax, eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], esi
je 0x5c296b
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5c296b
test esi, esi
je 0x5c296b
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x5c29b6
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x2c]
call fcn.005b84a0
push str.team_id
lea ecx, [esp + 0x2c]
call fcn.00419060
mov ecx, dword [ebp]
mov edx, dword [esp + 0x110]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp]
mov edx, dword [esp + 0x3c]
inc eax
mov dword [ebp], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea eax, [edx + ecx*4]
mov dword [esp + 0x3c], eax
jmp 0x5c2900
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5c29db
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5c29db
test esi, esi
je 0x5c29db
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5c2a2b
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x5c2a2b
test edi, edi
je 0x5c2a2b
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x5c2a0f
dec dword [esi]
jne 0x5c2a0f
test esi, esi
je 0x5c2a0f
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [edi + 0x58]
lea ecx, [edi + 0x54]
cmp eax, ecx
je 0x5c2a22
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret