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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x1c], ebp
call fcn.00528330
fstp dword [esp + 0x28]
mov dword [esp + 0x20], ebp
mov byte [esp + 0x17], 0
xor bl, bl
call fcn.004a3030
cmp dword [0xa738e0], eax
jne 0x528730
mov eax, dword [0xa792b8]
mov bl, 1
jmp 0x52873d
cmp dword [0xa7941c], eax
jne 0x528746
mov eax, dword [0xa7edf4]
cmp eax, ebp
jne 0x528746
mov byte [esp + 0x17], 1
mov al, byte [0xa7efc6]
test al, al
jne 0x5289ea
xor eax, eax
test bl, bl
sete al
imul eax, eax, 0x5b3c
cmp dword [eax + 0xa7922c], ebp
mov dword [esp + 0x24], eax
jle 0x5289ea
jmp 0x528776
mov eax, dword [esp + 0x24]
lea ebx, [eax + 0xa738dc]
push ebp
mov ecx, ebx
call fcn.00613b30
mov esi, eax
add esi, 0x19c
mov ecx, 0x26
lea edi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xb0]
test eax, eax
jle 0x5289d7
push ebp
mov ecx, ebx
call fcn.00613b30
mov esi, dword [eax + 0x4c]
push str.playerid
lea ecx, [esp + 0x74]
call fcn.00418c70
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.005b7360
add esp, 0xc
push eax
lea eax, [esp + 0x34]
push str.career_extra_user_team_info
push eax
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x2c]
call fcn.005bdce0
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x98]
cmp eax, ecx
je 0x52882c
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x78]
cmp eax, ecx
mov dword [esp + 0x8c], 0x84760c
je 0x528855
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x18]
call fcn.005b6c70
test eax, eax
jle 0x5289c9
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x54]
or ebx, 1
push eax
mov dword [esp + 0x24], ebx
call fcn.005b6e00
push str.bonus_type
lea ecx, [esp + 0x54]
call fcn.00419060
test eax, eax
jne 0x52889f
mov al, byte [esp + 0x17]
test al, al
je 0x52889f
mov bl, 1
jmp 0x5288a1
xor bl, bl
test byte [esp + 0x1c], 1
je 0x5288d8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
and edx, 0xfffffffe
test eax, eax
mov dword [esp + 0x1c], edx
je 0x5288d8
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5288d8
test esi, esi
je 0x5288d8
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x528927
push 0
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.005b6e00
push str.bonus
lea ecx, [esp + 0x64]
call fcn.004553d0
fadd dword [esp + 0x20]
mov eax, dword [esp + 0x6c]
test eax, eax
fstp dword [esp + 0x20]
je 0x528927
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x528927
test esi, esi
je 0x528927
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x34]
push edx
call fcn.005b6e00
push str.bonus_type
lea ecx, [esp + 0x34]
call fcn.00419060
mov ebx, eax
mov eax, dword [esp + 0x3c]
dec ebx
neg ebx
sbb bl, bl
inc bl
test eax, eax
je 0x528973
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x528973
test esi, esi
je 0x528973
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x5289c9
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x44]
push eax
call fcn.005b6e00
push str.bonus
lea ecx, [esp + 0x44]
call fcn.004553d0
fimul dword [esp + 0xbc]
mov eax, dword [esp + 0x4c]
test eax, eax
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
je 0x5289c9
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5289c9
test esi, esi
je 0x5289c9
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5289d7
push ecx
call fcn.00418f80
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xa7922c]
inc ebp
cmp ebp, eax
jl 0x528772
fld dword [esp + 0x20]
pop edi
fadd dword [esp + 0x24]
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret