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

Disassembly:
sub esp, 0x370
push ebx
push ebp
push esi
push edi
push str.leagueid
lea ecx, [esp + 0x20]
call fcn.00418c70
mov ecx, dword [esp + 0x384]
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.005b7360
add esp, 0xc
push eax
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push str.teams
lea ecx, [esp + 0x38]
push str.leagueteamlinks
push ecx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005bd530
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x10]
call fcn.005bdce0
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x9c]
cmp eax, edx
je 0x5ee86e
mov ecx, dword [0x9d9dcc]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0x90], 0x84760c
je 0x5ee894
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
sub esp, 0x90
mov eax, esp
lea ecx, [eax + 0xc]
mov dword [eax + 4], ebp
mov dword [eax + 0x8c], ecx
mov dword [eax + 8], 0x3f
mov word [ecx], bp
mov ecx, dword [esp + 0xa4]
call fcn.005b6c70
push eax
lea ecx, [esp + 0x1d4]
call fcn.005ed5f0
mov ecx, dword [esp + 0x14]
call fcn.005b6c70
test eax, eax
jle 0x5eece4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebp
call fcn.0047fb10
mov edi, edi
mov eax, dword [esp + 0x14]
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 + 0xa0]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
call fcn.005b86b0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x9c]
cmp edx, esi
mov dword [esp + 0xa0], ebx
setne bl
test eax, eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], esi
je 0x5ee96d
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5ee96d
test esi, esi
je 0x5ee96d
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x5eea7c
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0x20]
call fcn.005b84a0
mov eax, dword [esp + 0x1d8]
push str.teamid
lea ecx, [esp + 0x20]
lea esi, [eax + ebp]
call fcn.00419060
mov dword [esi], eax
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
call fcn.005b84a0
push str._teamname15
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x24]
call fcn.0047ad20
mov ecx, dword [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x270]
push edx
mov ecx, eax
call fcn.0043f540
mov eax, dword [esp + 0x1d8]
lea ecx, [esp + 0x268]
push ecx
lea ecx, [esp + 0x1e0]
lea esi, [eax + ebp + 4]
call fcn.0041ffa0
lea edx, [esp + 0x1dc]
push edx
mov ecx, esi
call fcn.0041fdd0
mov eax, dword [esp + 0x264]
lea ecx, [esp + 0x1e4]
cmp eax, ecx
je 0x5eea20
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x2f0]
lea edx, [esp + 0x270]
cmp eax, edx
je 0x5eea3b
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0xfc]
lea ecx, [esp + 0xbc]
cmp eax, ecx
je 0x5eea56
push eax
call fcn.0079a005
add esp, 4
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [edx + 4]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], ecx
add ebp, 0x90
jmp 0x5ee8f0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5eeaa1
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5eeaa1
test esi, esi
je 0x5eeaa1
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x140]
lea edx, [esp + 0x18]
push edx
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x1dc]
shl ecx, 4
add ecx, eax
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [esp + 0x34], 0x5ebee0
mov dword [edx + 8], ecx
call fcn.005ee450
mov eax, dword [esp + 0x2c]
add esp, 0x1c
test eax, eax
jle 0x5eece4
mov ebx, dword [esp + 0x388]
xor edi, edi
mov ebp, eax
lea ecx, [ecx]
test edi, edi
je 0x5eeb4a
mov eax, 0x86f474
mov dword [esp + 0x10], eax
lea ecx, [ecx]
add eax, 2
mov dword [esp + 0x18], eax
cmp word [eax], 0
jne 0x5eeb10
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx]
lea ecx, [eax + ecx*2]
lea edx, [esp + 0x54]
mov dword [esp + 0x58], eax
push edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.005ec970
mov edx, dword [esp + 0x1d8]
mov eax, dword [edi + edx]
push eax
lea ecx, [esp + 0x26c]
push ecx
call fcn.005ec4a0
mov edx, dword [esp + 0x1e0]
push 0x86f470
lea eax, [esp + 0x274]
push eax
lea ecx, [esp + 0x304]
push ecx
lea esi, [edi + edx + 4]
call fcn.005ed7a0
add esp, 0x14
push eax
lea ecx, [esp + 0xb8]
call fcn.0041ffa0
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0xb4]
lea eax, [ecx + edx*2]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x88]
lea ecx, [eax + ecx*2]
lea edx, [esp + 0x6c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
push edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x6c], ecx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0xc0]
call fcn.005ec6e0
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x1e0]
call fcn.0041ffa0
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 0xbc]
cmp eax, ecx
je 0x5eec2d
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx]
lea ecx, [eax + edx*2]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x264]
lea ecx, [eax + ecx*2]
lea edx, [esp + 0x78]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
push edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call fcn.005ec6e0
mov eax, dword [esp + 0x264]
lea edx, [esp + 0x1e4]
cmp eax, edx
je 0x5eeca1
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x37c]
lea ecx, [esp + 0x2fc]
cmp eax, ecx
je 0x5eecbc
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x2f0]
lea edx, [esp + 0x270]
cmp eax, edx
je 0x5eecd7
push eax
call fcn.0079a005
add esp, 4
add edi, 0x90
dec ebp
jne 0x5eeb00
mov edx, dword [esp + 0x1d8]
lea eax, [esp + 0x148]
cmp edx, eax
je 0x5eed4e
test edx, edx
je 0x5eed4e
mov eax, dword [edx - 4]
lea edi, [edx - 4]
lea ecx, [eax + eax*8]
shl ecx, 4
add ecx, edx
dec eax
js 0x5eed3f
lea esi, [ecx + 0x8c]
lea ebx, [eax + 1]
jmp 0x5eed20
mov eax, dword [esi - 0x90]
sub esi, 0x90
lea ecx, [esi - 0x80]
cmp eax, ecx
je 0x5eed3c
push eax
call fcn.0079a005
add esp, 4
dec ebx
jne 0x5eed20
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
mov eax, dword [esp + 0x1d4]
lea ecx, [esp + 0x154]
cmp eax, ecx
je 0x5eed69
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5eedb9
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x5eedb9
test edi, edi
je 0x5eedb9
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x5eed9d
dec dword [esi]
jne 0x5eed9d
test esi, esi
je 0x5eed9d
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 0x5eedb0
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, 0x370
ret