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

Disassembly:
sub esp, 0x3a0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x18]
push str.career_extra_user_team_info
push eax
call fcn.004908b0
mov ecx, eax
call fcn.005b8380
mov ecx, dword [eax]
call fcn.005b1cf0
mov eax, dword [esp + 0x18]
xor ebp, ebp
cmp eax, ebp
je 0x538bcd
dec dword [eax]
cmp dword [eax], ebp
mov esi, eax
jne 0x538bcd
cmp esi, ebp
je 0x538bcd
mov ecx, esi
call fcn.00453ab0
push esi
call fcn.005b3b10
add esp, 4
call fcn.004a3030
mov edi, eax
push str.teamid
lea ecx, [esp + 0x70]
mov dword [esp + 0x50], edi
call fcn.00418c70
lea ecx, [esp + 0x20]
push ecx
push edi
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x94]
push eax
call fcn.005b7360
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.teams
push str.leagues
lea ecx, [esp + 0x60]
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 + 0x18]
call fcn.005bdce0
mov eax, dword [esp + 0xa4]
lea edx, [esp + 0x94]
cmp eax, edx
je 0x538c7a
mov ecx, dword [0x9d9dcc]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x74]
cmp eax, ecx
mov ebx, 0x84760c
mov dword [esp + 0x88], ebx
je 0x538ca4
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebp
call fcn.005b6c70
test eax, eax
jle 0x538d47
mov ecx, dword [esp + 0x20]
push ebp
lea eax, [esp + 0x54]
push eax
call fcn.005b6e00
push str.leagueprestige
lea ecx, [esp + 0x54]
call fcn.00419060
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
cmp eax, ebp
je 0x538d02
dec dword [eax]
cmp dword [eax], ebp
mov esi, eax
jne 0x538d02
cmp esi, ebp
je 0x538d02
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
push ebp
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.005b6e00
push str._internationalprestige
lea ecx, [esp + 0x54]
call fcn.00419060
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
cmp eax, ebp
je 0x538d47
dec dword [eax]
cmp dword [eax], ebp
mov esi, eax
jne 0x538d47
cmp esi, ebp
je 0x538d47
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
push str.teamid
lea ecx, [esp + 0x70]
call fcn.00418c70
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push 0x84f970
push str.playerstats
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push str.teams
push str.players
lea edx, [esp + 0x64]
push str.teamplayerlinks
push edx
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 + 0x1c]
call fcn.005bdce0
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x94]
cmp eax, ecx
je 0x538ded
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x74]
cmp eax, ecx
mov dword [esp + 0x88], ebx
je 0x538e12
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x14], ebx
call fcn.005b6c70
test eax, eax
jle 0x5396f0
jmp 0x538e30
mov ebx, dword [esp + 0x14]
nop
mov ecx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x13c]
push eax
call fcn.005b6e00
push str.playerid
lea ecx, [esp + 0x13c]
call fcn.00419060
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x144]
test eax, eax
je 0x538e7f
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x538e7f
test esi, esi
je 0x538e7f
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
push ebx
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.005b6e00
push str.preferredposition1
lea ecx, [esp + 0xbc]
call fcn.00419060
mov ebp, eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x538ecc
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x538ecc
test esi, esi
je 0x538ecc
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x14c]
push edx
call fcn.005b6e00
push 0x84fdac
lea ecx, [esp + 0x14c]
call fcn.00419060
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x154]
test eax, eax
je 0x538f1b
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x538f1b
test esi, esi
je 0x538f1b
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x15c]
push eax
call fcn.005b6e00
push str._overall5
lea ecx, [esp + 0x15c]
call fcn.00419060
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x164]
test eax, eax
je 0x538f6a
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x538f6a
test esi, esi
je 0x538f6a
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
push ebx
lea ecx, [esp + 0xec]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.005b6e00
push str._age
lea ecx, [esp + 0xec]
call fcn.00419060
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x538fb9
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x538fb9
test esi, esi
je 0x538fb9
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x12c]
push edx
call fcn.005b6e00
push str.internationalreputation
lea ecx, [esp + 0x12c]
call fcn.00419060
mov edi, eax
mov eax, dword [esp + 0x134]
test eax, eax
je 0x539006
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x539006
test esi, esi
je 0x539006
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x10c]
push eax
call fcn.005b6e00
push str.yearcontractvalidtil
lea ecx, [esp + 0x10c]
call fcn.00419060
mov esi, eax
mov eax, dword [esp + 0x114]
test eax, eax
je 0x539057
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x539053
test ebx, ebx
je 0x539053
mov ecx, ebx
call fcn.005b0ba0
push ebx
call fcn.005b3b10
add esp, 4
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0xb0]
push ecx
call fcn.00528f30
add esp, 4
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, eax
call fcn.00486ec0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
sub esi, eax
push ebx
lea eax, [esp + 0xcc]
push eax
call fcn.005b6e00
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0xd4]
push eax
call fcn.004c49c0
mov eax, dword [esp + 0xe4]
add esp, 0x10
test eax, eax
je 0x5390dc
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x5390dc
test ebx, ebx
je 0x5390dc
mov ecx, ebx
call fcn.005b0ba0
push ebx
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push edi
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x34]
push esi
push ecx
push edx
push eax
push ebp
call fcn.0051f340
fstp dword [esp + 0x48]
add esp, 0x24
push str.bonus_type
lea ecx, [esp + 0x1a4]
call fcn.00418c70
lea ecx, [esp + 0x1a0]
push ecx
lea ecx, [esp + 0x2c4]
call fcn.005b7e80
xor edx, edx
cmp ebp, 0xe
setge dl
xor ebx, ebx
mov esi, 0x84f9cc
push str.bonus
lea ecx, [esp + 0x16c]
mov dword [esp + 0x304], ebx
mov dword [esp + 0x2c4], esi
mov dword [esp + 0x300], edx
call fcn.00418c70
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x23c]
call fcn.005b7e80
push str.wage
lea ecx, [esp + 0x188]
mov dword [esp + 0x278], ebx
mov dword [esp + 0x27c], ebx
mov dword [esp + 0x23c], esi
call fcn.00418c70
lea ecx, [esp + 0x184]
push ecx
lea ecx, [esp + 0x1f8]
call fcn.005b7e80
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push eax
push str.playerid
lea ecx, [esp + 0x354]
mov dword [esp + 0x238], edx
mov dword [esp + 0x23c], ebx
mov dword [esp + 0x1fc], 0x84ff54
call fcn.00454040
lea ecx, [esp + 0x34c]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004908b0
mov ecx, eax
call fcn.005b82c0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push str.career_extra_user_team_info
push ecx
push edx
lea ecx, [esp + 0x78]
mov byte [eax + 8], 1
call fcn.005b3b30
push 0x8c2134
push 0x8c2134
push 0x8c2134
push 0x8c2134
push 0x8c2134
push 0x8c2134
push 0x8c2134
lea eax, [esp + 0x2dc]
push eax
lea ecx, [esp + 0x258]
push ecx
lea edx, [esp + 0x218]
push edx
lea ecx, [esp + 0x94]
call fcn.005b3b70
lea ecx, [esp + 0x6c]
call fcn.005b3d30
lea esi, [esp + 0x3c8]
mov edi, 3
mov eax, dword [esi - 0x1c]
sub esi, 0x1c
lea ecx, [esi - 0x10]
cmp eax, ecx
je 0x53928e
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
dec edi
jne 0x539272
mov eax, dword [esp + 0x210]
lea ecx, [esp + 0x200]
cmp eax, ecx
je 0x5392b2
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x19c]
lea ecx, [esp + 0x18c]
cmp eax, ecx
mov esi, 0x84f900
mov dword [esp + 0x1f4], esi
je 0x5392df
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x254]
lea ecx, [esp + 0x244]
cmp eax, ecx
je 0x539300
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x180]
lea ecx, [esp + 0x170]
cmp eax, ecx
mov dword [esp + 0x238], esi
je 0x539328
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x2dc]
lea ecx, [esp + 0x2cc]
cmp eax, ecx
je 0x539349
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x1b8]
lea ecx, [esp + 0x1a8]
cmp eax, ecx
mov dword [esp + 0x2c0], esi
je 0x539371
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebp
lea eax, [esp + 0xdc]
push eax
call fcn.005b6e00
push str.yearcontractvalidtil
lea ecx, [esp + 0xdc]
call fcn.00419060
mov edi, eax
mov eax, dword [esp + 0xe4]
cmp eax, ebx
je 0x5393c1
dec dword [eax]
cmp dword [eax], ebx
mov esi, eax
jne 0x5393c1
cmp esi, ebx
je 0x5393c1
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
lea ecx, [esp + 0xb4]
push ecx
call fcn.00528f30
add esp, 4
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, eax
call fcn.00486ec0
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
jl 0x5393fb
call fcn.0060fae0
and eax, 3
lea edi, [eax + ebx + 1]
mov ecx, dword [esp + 0x10]
push ebp
lea eax, [esp + 0x11c]
push eax
call fcn.005b6e00
push ebp
lea ecx, [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.005b6e00
push str.retirementage
lea ecx, [esp + 0x11c]
call fcn.00419060
push str._eosAge
lea ecx, [esp + 0xfc]
mov esi, eax
call fcn.00419060
mov ecx, eax
mov eax, dword [esp + 0x1c]
cdq
mov ebp, 5
idiv ebp
inc edx
lea eax, [edx + ecx]
cmp eax, esi
jle 0x53945d
sub esi, ecx
mov edx, esi
mov eax, dword [esp + 0x104]
add ebx, edx
test eax, eax
je 0x539487
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x539487
test esi, esi
je 0x539487
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x124]
test eax, eax
je 0x5394af
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5394af
test esi, esi
je 0x5394af
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
cmp ebx, edi
jge 0x5394b5
mov edi, ebx
push str.yearcontractvalidtil
lea ecx, [esp + 0x8c]
call fcn.00418c70
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x280]
call fcn.005b7e80
push str.teamid
lea ecx, [esp + 0x1dc]
mov dword [esp + 0x2bc], edi
mov dword [esp + 0x2c0], 0
mov dword [esp + 0x280], 0x84f9cc
call fcn.00418c70
push str.playerid
lea ecx, [esp + 0x1c0]
call fcn.00418c70
mov eax, dword [esp + 0x4c]
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
lea edx, [esp + 0x2a0]
push edx
push eax
lea ecx, [esp + 0x204]
push ecx
lea edx, [esp + 0x334]
push edx
call fcn.005b7360
add esp, 0xc
push eax
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x1ec]
push ecx
lea edx, [esp + 0x35c]
push edx
call fcn.005b7360
add esp, 0xc
push eax
lea eax, [esp + 0x90]
push eax
call fcn.005b7fa0
add esp, 0xc
push eax
lea ecx, [esp + 0x74]
push str.teamplayerlinks
push ecx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdac0
lea ecx, [esp + 0x48]
call fcn.005bdce0
mov ecx, dword [esp + 0x68]
test ecx, ecx
mov dword [esp + 0x60], 0x8477e8
je 0x5395df
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x5395ee
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0x344]
lea ecx, [esp + 0x334]
cmp eax, ecx
mov esi, 0x84760c
mov dword [esp + 0x60], esi
je 0x539618
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x1d4]
lea ecx, [esp + 0x1c4]
cmp eax, ecx
mov dword [esp + 0x328], esi
je 0x539640
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x320]
lea ecx, [esp + 0x310]
cmp eax, ecx
je 0x539661
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x1f0]
lea ecx, [esp + 0x1e0]
cmp eax, ecx
mov dword [esp + 0x304], esi
je 0x539689
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x298]
lea ecx, [esp + 0x288]
cmp eax, ecx
je 0x5396aa
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x90]
cmp eax, ecx
mov dword [esp + 0x27c], 0x84f900
je 0x5396d6
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc esi
mov dword [esp + 0x14], esi
call fcn.005b6c70
cmp esi, eax
jl 0x538e2b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x539740
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x539740
test edi, edi
je 0x539740
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x539724
dec dword [esi]
jne 0x539724
test esi, esi
je 0x539724
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 0x539737
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x539790
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x539790
test edi, edi
je 0x539790
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x539774
dec dword [esi]
jne 0x539774
test esi, esi
je 0x539774
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 0x539787
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, 0x3a0
ret