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

Disassembly:
sub esp, 0xf4
mov edx, dword [esp + 0x10c]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x114]
add eax, ecx
push edx
cdq
sub eax, edx
sar eax, 1
xor ebp, ebp
push eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call fcn.00453270
add esp, 4
push eax
call fcn.0051ee30
add esp, 0x10
push str.teamid
lea ecx, [esp + 0x80]
call fcn.00418c70
push str._internationalprestige
lea ecx, [esp + 0x48]
call fcn.00418c70
push str._internationalprestige
lea ecx, [esp + 0x64]
call fcn.00418c70
lea edx, [esp + 0x14]
push edx
call fcn.004a3030
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xec]
push ecx
call fcn.005b74b0
mov edx, dword [esp + 0x28]
add esp, 0xc
push eax
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xcc]
push ecx
call fcn.005b7540
mov edx, dword [esp + 0x30]
add esp, 0xc
push eax
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.005b7510
add esp, 0xc
push eax
lea edx, [esp + 0x30]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005b7fa0
add esp, 0xc
push eax
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push str.career_team_prestige
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push str.leagues
push str.teams
lea ecx, [esp + 0x88]
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.005bd570
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x40]
call fcn.005bdce0
mov ecx, dword [esp + 0x38]
cmp ecx, ebp
mov esi, 0x8477e8
mov dword [esp + 0x30], esi
je 0x53e34a
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x53e359
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
mov edi, 0x84760c
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], esi
je 0x53e375
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x53e384
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0xa4]
cmp eax, ecx
mov dword [esp + 0x20], edi
je 0x53e3a9
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x68]
cmp eax, ecx
mov dword [esp + 0x98], edi
je 0x53e3cb
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0xc8]
cmp eax, ecx
je 0x53e3ec
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x4c]
cmp eax, ecx
mov dword [esp + 0xbc], edi
je 0x53e40e
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xfc]
lea ecx, [esp + 0xec]
cmp eax, ecx
je 0x53e42f
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x84]
cmp eax, ecx
mov dword [esp + 0xe0], edi
je 0x53e457
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.005b6c70
mov esi, eax
cmp esi, 0x14
mov dword [esp + 0x18], esi
jle 0x53e57a
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x118]
jmp 0x53e480
mov esi, dword [esp + 0x18]
call fcn.0060fae0
xor edx, edx
div esi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
mov esi, edx
push esi
push eax
call fcn.005b6e00
push str.teamid
lea ecx, [esp + 0x24]
call fcn.00419060
mov edi, eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x53e4cf
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x53e4cf
test ebx, ebx
je 0x53e4cf
mov ecx, ebx
call fcn.005b0ba0
push ebx
call fcn.005b3b10
add esp, 4
push esi
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005b6e00
push str.leagueid
lea ecx, [esp + 0x34]
call fcn.00419060
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x53e513
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x53e513
test ebx, ebx
je 0x53e513
mov ecx, ebx
call fcn.005b0ba0
push ebx
call fcn.005b3b10
add esp, 4
push 0x92a348
push 0x270f
push edi
push esi
call fcn.0053bc20
mov edx, dword [esp + 0x12c]
mov ecx, dword [esp + 0x124]
push edx
mov edx, dword [esp + 0x124]
push ebp
push ecx
mov ecx, dword [esp + 0x128]
push edx
mov edx, dword [esp + 0x128]
push ecx
push edx
push eax
call fcn.005215a0
add esp, 0x2c
test al, al
jne 0x53e571
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0x14
mov dword [esp + 0x1c], eax
jl 0x53e47c
jmp 0x53e66b
mov dword [esp + 0x10], edi
jmp 0x53e66b
cmp esi, ebp
jle 0x53e66b
mov ecx, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x24]
push eax
call fcn.005b6e00
push str.teamid
lea ecx, [esp + 0x24]
call fcn.00419060
mov ebx, eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x53e5c6
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x53e5c6
test esi, esi
je 0x53e5c6
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
push ebp
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005b6e00
push str.leagueid
lea ecx, [esp + 0x34]
call fcn.00419060
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x53e60a
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x53e60a
test edi, edi
je 0x53e60a
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
push 0x92a348
push 0x270f
push ebx
push esi
call fcn.0053bc20
mov edx, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
push edx
mov edx, dword [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x128]
push edx
mov edx, dword [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x128]
push edx
push ecx
push eax
call fcn.005215a0
add esp, 0x2c
test al, al
jne 0x53e667
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x53e582
jmp 0x53e66b
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x53e6bb
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x53e6bb
test esi, esi
je 0x53e6bb
mov edi, dword [esi + 0x5c]
test edi, edi
je 0x53e69f
dec dword [edi]
jne 0x53e69f
test edi, edi
je 0x53e69f
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 0x53e6b2
push eax
call fcn.005b3b10
add esp, 4
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret