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

Disassembly:
sub esp, 0x100
push ebx
push ebp
mov ebp, dword [esp + 0x10c]
push esi
push edi
mov edi, dword [esp + 0x118]
or eax, 0xffffffff
mov ecx, 0xc
push ebp
rep stosd dword es:[edi], eax
call fcn.004d8460
mov ecx, eax
shr ecx, 0x18
shl ecx, 0x18
and eax, 0xf00000
or ecx, eax
push ecx
call fcn.004d7930
push eax
call fcn.004a3640
mov ebx, eax
push ebp
push ebp
mov dword [esp + 0x64], ebx
call fcn.00459820
fstp dword [esp + 0x3c]
add esp, 0x14
call fcn.00529020
lea edx, [esp + 0x54]
push edx
mov edi, eax
lea eax, [esp + 0x30]
push str.career_loaned_list
push eax
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x2c]
call fcn.005bdce0
push 1
call fcn.0051fe40
lea ecx, [esp + 0x58]
push ecx
push edi
push ebp
push ebx
call fcn.0053bc20
add esp, 0x14
mov ecx, eax
mov dword [esp + 0x2c], eax
call sym.FIFA.exe_public:_int___thiscall_AptValueVector::GetNumValues_void_const
test eax, eax
jle 0x464f78
push str.leagueid
lea ecx, [esp + 0x38]
call fcn.00418c70
lea edx, [esp + 0x14]
push edx
mov eax, ebx
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.005b7360
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.teams
lea eax, [esp + 0x38]
push str.leagueteamlinks
push eax
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 + 0xa4]
lea ecx, [esp + 0x94]
cmp eax, ecx
je 0x4647e7
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x88], 0x84760c
je 0x46480d
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x14]
push str._expectationscore
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], str._expectationscore
mov dword [esp + 0x24], 1
call fcn.004635a0
mov ecx, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x20], edi
call fcn.005b6c70
mov ebx, eax
test ebx, ebx
jle 0x46489a
push edi
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005b6e00
push str.teamid
lea ecx, [esp + 0x38]
call fcn.00419060
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46488b
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x46488b
test esi, esi
je 0x46488b
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
cmp dword [esp + 0x10], ebp
je 0x464896
inc edi
cmp edi, ebx
jl 0x464845
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x14]
push str.initialtransferbudget
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], str.initialtransferbudget
mov dword [esp + 0x24], 1
call fcn.004635a0
xor ebp, ebp
test ebx, ebx
jle 0x46491d
mov ecx, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x38]
push eax
call fcn.005b6e00
push str.initialtransferbudget
lea ecx, [esp + 0x38]
call fcn.00419060
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x464909
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x464909
test esi, esi
je 0x464909
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
fild dword [esp + 0x10]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
je 0x46491d
inc ebp
cmp ebp, ebx
jl 0x4648c3
push str._team_overall_from_teamid
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], str._team_overall_from_teamid
mov dword [esp + 0x24], 1
call fcn.004635a0
xor edi, edi
test ebx, ebx
jle 0x46499e
mov ecx, dword [esp + 0x14]
push edi
lea edx, [esp + 0x38]
push edx
call fcn.005b6e00
push str.teamid
lea ecx, [esp + 0x38]
call fcn.00419060
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46498c
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x46498c
test esi, esi
je 0x46498c
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x114]
cmp dword [esp + 0x10], eax
je 0x46499e
inc edi
cmp edi, ebx
jl 0x464946
mov esi, ebp
imul esi, esi, 0x64
mov eax, esi
cdq
idiv ebx
push 1
push 0x186a0
push str.CAREER_EXPECTATION_EXTRA_STAY_POSITIVE_BANK_MAX
mov dword [esp + 0x30], eax
mov eax, edi
imul eax, eax, 0x64
cdq
idiv ebx
mov dword [esp + 0x1c], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x3c
push str.CAREER_EXPECTATION_EXTRA_SIGN_A_STAR_PLAYER_MIN_BUDGET
mov dword [esp + 0x6c], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0xf
push str.CAREER_EXPECTATION_EXTRA_SIGN_A_STAR_PLAYER_MIN_INT_PRES
mov dword [esp + 0x8c], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x55
push str.CAREER_EXPECTATION_EXTRA_SIGN_A_STAR_PLAYER_MIN_PLAYER_RATING
mov ebx, eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x32
push str.CAREER_EXPECTATION_EXTRA_HOME_FORTRESS_MIN_TEAM
mov dword [esp + 0x78], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x46
push str.CAREER_EXPECTATION_EXTRA_HOME_FORTRESS_WIN_PERCENTAGE
mov dword [esp + 0x80], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x28
push str.CAREER_EXPECTATION_EXTRA_BUY_A_NEW_X_MIN_BUDGET
mov dword [esp + 0x3c], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x19
push str.CAREER_EXPECTATION_EXTRA_OLD_AGE
mov dword [esp + 0x64], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 3
push str.CAREER_EXPECTATION_EXTRA_LONG_CONTRACT
mov dword [esp + 0x74], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x28
push str.CAREER_EXPECTATION_EXTRA_SPEND_X_ON_TRANSFERS_MAX_BUDGET
mov dword [esp + 0x90], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
mov dword [esp + 0x70], eax
push 1
push 0x19
push str.CAREER_EXPECTATION_EXTRA_SPEND_X_ON_TRANSFERS_MIN_OVERALL
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x1e
push str.CAREER_EXPECTATION_EXTRA_SPEND_X_ON_TRANSFERS_MAX_PERCENTAGE
mov dword [esp + 0x88], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x32
push str.CAREER_EXPECTATION_EXTRA_REDUCE_WAGE_BILL_BY_X_MAX_BUDGET
mov dword [esp + 0x84], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x32
push str.CAREER_EXPECTATION_EXTRA_REDUCE_WAGE_BILL_BY_X_MIN_OVERALL
mov dword [esp + 0x68], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x14
push str.CAREER_EXPECTATION_EXTRA_REDUCE_WAGE_BILL_BY_X_PERCENTAGE
mov dword [esp + 0x70], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
mov ecx, dword [esp + 0x20]
add ecx, edi
sar ecx, 1
cmp ebp, ecx
mov dword [esp + 0x18], eax
jge 0x464b85
mov eax, esi
cdq
idiv ecx
mov edx, 0xc8
push 3
push ecx
sub edx, eax
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fmul dword [0x848fbc]
fmul dword [esp + 0x30]
fstp dword [esp]
call fcn.0045be10
add esp, 8
call fcn.0081cba0
mov ecx, dword [esp + 0x118]
mov dword [ecx], eax
fild dword [esp + 0x60]
mov esi, dword [esp + 0x118]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x464ba2
mov dword [esi + 4], 1
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.0051ebb0
cmp eax, ebx
jle 0x464bc5
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x80]
jle 0x464bc5
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x74]
jle 0x464bd6
mov edx, dword [esp + 0x30]
mov dword [esi + 0x18], edx
push str.leagueid
lea ecx, [esp + 0x8c]
call fcn.00418c70
push str.teamid
lea ecx, [esp + 0xb0]
call fcn.00418c70
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0xf4]
push edx
call fcn.005b7360
add esp, 0xc
push eax
mov ecx, edi
call fcn.006f2800
push eax
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0xd4]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.teams
lea eax, [esp + 0x54]
push str.leagueteamlinks
push eax
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.005bc6d0
test eax, eax
lea ecx, [esp + 0x30]
setg bl
call fcn.005bdce0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov dword [esp + 0x34], 0x8477e8
je 0x464ca8
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x464cb7
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0xd4]
cmp eax, ecx
mov ebp, 0x84760c
mov dword [esp + 0x34], ebp
je 0x464ce1
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0xb4]
cmp eax, ecx
mov dword [esp + 0xc8], ebp
je 0x464d09
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0xf8]
cmp eax, ecx
je 0x464d2a
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 + 0xec], ebp
je 0x464d52
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
test bl, bl
je 0x464d60
mov ecx, edi
call fcn.006f2800
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x58]
jle 0x464d76
push 0
mov ecx, edi
call fcn.0051ebd0
mov dword [esi + 0x20], eax
mov ecx, edi
call fcn.00678a30
mov ebp, dword [esp + 0x68]
cmp eax, ebp
jle 0x464da1
sub eax, ebp
sar eax, 1
cmp eax, 5
jle 0x464d95
mov eax, 5
jmp 0x464d9e
test eax, eax
jg 0x464d9e
mov eax, 1
mov dword [esi + 0x24], eax
mov ecx, edi
call fcn.0051ebc0
mov ebx, dword [esp + 0x84]
cmp eax, ebx
jge 0x464dba
mov ecx, ebx
sub ecx, eax
mov dword [esi + 0x28], ecx
mov esi, 7
nop
push esi
mov ecx, edi
call fcn.0051ec50
cmp eax, ebx
jge 0x464dd8
push esi
mov ecx, edi
call fcn.0051ec70
cmp eax, ebp
jl 0x464ddd
dec esi
jns 0x464dc0
jmp 0x464def
push esi
mov ecx, edi
call fcn.0051ec30
mov edx, dword [esp + 0x118]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x70]
jge 0x464e2e
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x7c]
jle 0x464e2e
fild dword [esp + 0x78]
push 3
push ecx
fmul dword [0x848fbc]
fmul dword [esp + 0x30]
fstp dword [esp]
call fcn.0045be10
add esp, 8
call fcn.0081cba0
mov edx, dword [esp + 0x118]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x5c]
jge 0x464e84
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x64]
jle 0x464e84
call fcn.00528330
mov esi, dword [esp + 0x18]
mov edx, 0x64
sub edx, esi
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
push 3
fmul dword [0x848fbc]
fmulp st(1)
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
call fcn.0045be10
add esp, 8
call fcn.0081cba0
mov ecx, dword [esp + 0x118]
mov dword [ecx + 8], eax
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], 7
mov dword [esp + 0x4c], 5
mov ebx, 0xa
mov dword [esp + 0x10], 0xffffffff
jmp 0x464ed0
mov edi, dword [esp + ebp*4 + 0x34]
push edi
call fcn.004e2eb0
mov esi, eax
add esp, 4
cmp esi, ebx
jg 0x464ef7
cmp esi, 9
jge 0x464ef7
call fcn.0060fae0
test al, 1
je 0x464ef7
mov dword [esp + 0x10], edi
mov ebx, esi
inc ebp
cmp ebp, 7
jl 0x464ed0
cmp dword [esp + 0x10], 0xffffffff
je 0x464f28
mov ecx, dword [esp + 0x2c]
call fcn.0051ebb0
sar eax, 1
cmp ebx, eax
jge 0x464f28
cmp dword [esp + 0x24], 0x3c
jle 0x464f28
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x118]
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x464f78
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x464f78
test edi, edi
je 0x464f78
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x464f5c
dec dword [esi]
jne 0x464f5c
test esi, esi
je 0x464f5c
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 0x464f6f
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
call fcn.0051e930
mov eax, dword [esp + 0x54]
test eax, eax
je 0x464fcd
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x464fcd
test edi, edi
je 0x464fcd
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x464fb1
dec dword [esi]
jne 0x464fb1
test esi, esi
je 0x464fb1
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 0x464fc4
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, 0x100
ret