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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xe4
push ebx
push ebp
mov ebp, dword [eax]
push esi
push edi
push str.team_id
lea ecx, [esp + 0x48]
call fcn.00418c70
mov edx, dword [esp + 0xfc]
lea ecx, [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
push str.team_lookup
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x14]
call fcn.005bdce0
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x6c]
cmp eax, ecx
je 0x5c5c3b
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x4c]
cmp eax, edx
mov dword [esp + 0x60], 0x84760c
je 0x5c5c58
push eax
call fcn.004186c0
add esp, 4
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 + 0x34]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
call fcn.005b86b0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
jmp 0x5c5ca0
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 + 0x70]
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], esi
call fcn.005b86b0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x6c]
cmp edx, esi
mov dword [esp + 0x70], ebx
setne bl
test eax, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], esi
je 0x5c5d11
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5c5d11
test esi, esi
je 0x5c5d11
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x5c5f09
mov edx, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x28]
call fcn.005b84a0
push str.rtsgt
lea ecx, [esp + 0x28]
call fcn.00419060
mov esi, eax
push str.tournament_type
lea ecx, [esp + 0x94]
and esi, 0xffffff00
call fcn.00418c70
push str.rtsg
lea ecx, [esp + 0x48]
call fcn.00418c70
push 1
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
push esi
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
push str.rtsg
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bc6d0
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.005bdce0
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov dword [esp + 0x18], 0x8477e8
je 0x5c5de0
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5c5def
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0xb8]
cmp eax, ecx
mov edi, 0x84760c
mov dword [esp + 0x18], edi
je 0x5c5e13
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x4c]
cmp eax, edx
mov dword [esp + 0xac], edi
je 0x5c5e2f
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0xdc]
cmp eax, ecx
je 0x5c5e4a
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0x98]
cmp eax, edx
mov dword [esp + 0xd0], edi
je 0x5c5e6c
push eax
call fcn.004186c0
add esp, 4
test bl, bl
jne 0x5c5e87
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x38]
lea eax, [edx + ecx*4]
mov dword [esp + 0x38], eax
jmp 0x5c5ca0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5c5eac
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x5c5eac
test edi, edi
je 0x5c5eac
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5c5efc
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x5c5efc
test ebx, ebx
je 0x5c5efc
mov edi, dword [ebx + 0x5c]
test edi, edi
je 0x5c5ee0
dec dword [edi]
jne 0x5c5ee0
test edi, edi
je 0x5c5ee0
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x54]
cmp eax, ecx
je 0x5c5ef3
push eax
call fcn.005b3b10
add esp, 4
push ebx
call fcn.005b3b10
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5c5f2e
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5c5f2e
test esi, esi
je 0x5c5f2e
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5c5f7e
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x5c5f7e
test edi, edi
je 0x5c5f7e
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x5c5f62
dec dword [esi]
jne 0x5c5f62
test esi, esi
je 0x5c5f62
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [edi + 0x58]
lea edx, [edi + 0x54]
cmp eax, edx
je 0x5c5f75
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe4
ret