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

Disassembly:
sub esp, 0x3b8
push ebx
push ebp
mov ebp, dword [esp + 0x3c4]
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp]
push esi
lea ecx, [eax + ecx*2]
push edi
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xbc]
push ecx
mov ecx, ebp
call fcn.004200e0
push str.level
lea ecx, [esp + 0x30]
call fcn.00418c70
push str.level
lea ecx, [esp + 0x50]
call fcn.00418c70
lea edx, [esp + 0x10]
push edx
push 5
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.005b7570
add esp, 0xc
push eax
push 0
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.005b7510
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
lea edx, [esp + 0x28]
push str.leagues
push edx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x20]
call fcn.005bdce0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov dword [esp + 0x14], 0x8477e8
je 0x5ef14e
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5ef15d
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x78]
cmp eax, ecx
mov esi, 0x84760c
mov dword [esp + 0x14], esi
je 0x5ef184
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x54]
cmp eax, ecx
mov dword [esp + 0x6c], esi
je 0x5ef1a3
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x9c]
cmp eax, ecx
je 0x5ef1c4
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x34]
cmp eax, ecx
mov dword [esp + 0x90], esi
je 0x5ef1e6
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x10]
push str._leaguename15
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], str._leaguename15
mov dword [esp + 0x2c], 1
call fcn.005eedd0
mov ecx, dword [esp + 0x10]
call fcn.005b6c70
test eax, eax
jle 0x5ef52c
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0047fb10
jmp 0x5ef230
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x58]
mov edx, dword [eax + 0x4c]
lea ecx, [eax + 0x5c]
lea esi, [edi + edx*4]
mov edx, dword [eax + 4]
push ecx
push edx
mov ebx, eax
push esi
add eax, 8
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
call fcn.005b86b0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
cmp edx, esi
mov dword [esp + 0x5c], ebx
setne bl
test eax, eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
je 0x5ef29b
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5ef29b
test esi, esi
je 0x5ef29b
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x5ef507
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
call fcn.005b84a0
push str.level
lea ecx, [esp + 0x30]
call fcn.00419060
cmp eax, 5
jg 0x5ef4c5
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea edi, [esi + 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 + 0x7c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call fcn.005b86b0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x78]
cmp edx, esi
mov dword [esp + 0x7c], ebx
setne bl
test eax, eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
je 0x5ef33c
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5ef33c
test esi, esi
je 0x5ef33c
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x5ef34c
push 0x86f474
mov ecx, ebp
call fcn.005ed590
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
call fcn.005b84a0
push str.leagueid
lea ecx, [esp + 0x30]
call fcn.00419060
mov esi, eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
call fcn.005b84a0
push str._leaguename15
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x34]
call fcn.0047ad20
mov edx, dword [esp + 0x20]
push edx
push 0
lea ecx, [esp + 0x22c]
push ecx
mov ecx, eax
call fcn.0043f540
mov eax, dword [esp + 0x108]
lea edx, [esp + 0xc8]
cmp eax, edx
je 0x5ef3bf
push eax
call fcn.0079a005
add esp, 4
lea eax, [esp + 0x198]
push esi
push eax
call fcn.005ec4a0
push 0x86f470
lea ecx, [esp + 0x1a4]
push ecx
lea edx, [esp + 0x34c]
push edx
call fcn.005ed7a0
add esp, 0x14
push eax
lea ecx, [esp + 0x110]
call fcn.0041ffa0
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x110]
call fcn.005ec900
push eax
lea ecx, [esp + 0x2b4]
call fcn.0041ffa0
mov eax, dword [esp + 0x194]
lea ecx, [esp + 0x114]
cmp eax, ecx
je 0x5ef433
push eax
call fcn.0079a005
add esp, 4
lea edx, [esp + 0x2b0]
push edx
mov ecx, ebp
call fcn.005ec900
mov eax, dword [esp + 0x338]
lea ecx, [esp + 0x2b8]
cmp eax, ecx
je 0x5ef45d
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x3c4]
lea edx, [esp + 0x344]
cmp eax, edx
je 0x5ef478
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x220]
lea ecx, [esp + 0x1a0]
cmp eax, ecx
je 0x5ef493
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x2ac]
lea edx, [esp + 0x22c]
cmp eax, edx
je 0x5ef4ae
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x40]
lea eax, [edx + ecx*4]
mov dword [esp + 0x40], eax
jmp 0x5ef230
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5ef4ea
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5ef4ea
test esi, esi
je 0x5ef4ea
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5ef57c
push ecx
call fcn.00418f80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3b8
ret
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5ef52c
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5ef52c
test esi, esi
je 0x5ef52c
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5ef57c
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x5ef57c
test edi, edi
je 0x5ef57c
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x5ef560
dec dword [esi]
jne 0x5ef560
test esi, esi
je 0x5ef560
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 0x5ef573
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, 0x3b8
ret