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

Disassembly:
mov ecx, dword [esp + 0xc]
or eax, 0xffffffff
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
sub esp, 0xe8
mov dword [ecx + 0xc], eax
call fcn.004a7fb0
test al, al
je 0x464690
push ebx
push ebp
push esi
push edi
call fcn.004a7cc0
mov esi, dword [eax]
push esi
call fcn.005bf580
push esi
mov edi, eax
call fcn.005bf470
mov ebp, dword [esp + 0x104]
mov ebx, dword [esp + 0x108]
push edi
push ebp
mov esi, eax
mov dword [ebx], 0xffffffff
call fcn.004adac0
add esp, 0x10
test al, al
je 0x464206
mov dword [ebx], edi
jmp 0x464216
push esi
push ebp
call fcn.004adac0
add esp, 8
test al, al
je 0x464216
mov dword [ebx], esi
mov esi, dword [ebx]
cmp esi, 0xffffffff
je 0x46468c
push str.rtsgt
lea ecx, [esp + 0x74]
call fcn.00418c70
push str.rtsgt
lea ecx, [esp + 0x58]
call fcn.00418c70
push str.team_id
lea ecx, [esp + 0x3c]
call fcn.00418c70
mov eax, esi
shr eax, 0x18
and esi, 0xf00000
lea edx, [esp + 0x10]
push edx
shl eax, 0x18
add esi, 0x100000
or eax, esi
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0xe0]
push edx
call fcn.005b7540
add esp, 0xc
push eax
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0xc0]
push edx
call fcn.005b7510
add esp, 0xc
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.005b74b0
add esp, 0xc
push eax
lea edx, [esp + 0x34]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005b7fa0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
push str.team_lookup
push ecx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x14]
call fcn.005bdce0
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov esi, 0x8477e8
mov dword [esp + 0x18], esi
je 0x46430f
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x46431e
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov edi, 0x84760c
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], esi
je 0x46433a
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x464349
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x98]
cmp eax, ecx
mov dword [esp + 0x24], edi
je 0x46436e
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x40]
cmp eax, ecx
mov dword [esp + 0x8c], edi
je 0x464390
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0xbc]
cmp eax, ecx
je 0x4643b1
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x5c]
cmp eax, ecx
mov dword [esp + 0xb0], edi
je 0x4643d3
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xf0]
lea ecx, [esp + 0xe0]
cmp eax, ecx
je 0x4643f4
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 + 0xd4], edi
je 0x464419
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._expectationscore_from_teamid
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], str._expectationscore_from_teamid
mov dword [esp + 0x24], 1
call fcn.004635a0
mov ecx, dword [esp + 0x10]
xor ebp, ebp
call fcn.005b6c70
mov ebx, eax
test ebx, ebx
jle 0x4644a2
lea ecx, [ecx]
push ebp
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.005b6e00
push str.team_id
lea ecx, [esp + 0x28]
call fcn.00419060
mov edi, eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x464494
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x464494
test esi, esi
je 0x464494
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
cmp edi, dword [esp + 0xfc]
je 0x4644a2
inc ebp
cmp ebp, ebx
jl 0x464450
mov ecx, dword [esp + 0x10]
push str._team_overall_from_team_id
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], str._team_overall_from_team_id
mov dword [esp + 0x24], 1
call fcn.004635a0
xor edi, edi
test ebx, ebx
jle 0x464528
jmp 0x4644d0
mov ecx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x28]
push eax
call fcn.005b6e00
push str.team_id
lea ecx, [esp + 0x28]
call fcn.00419060
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x464516
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x464516
test esi, esi
je 0x464516
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0xfc]
cmp dword [esp + 0x14], ecx
je 0x464528
inc edi
cmp edi, ebx
jl 0x4644d0
mov eax, ebp
sub eax, edi
sar eax, 1
imul eax, eax, 0x64
cdq
idiv ebx
push 1
push 0x55
push str.CAREER_EXPECTATION_EURO_CUP_WIN_MIN
mov esi, eax
mov eax, edi
imul eax, eax, 0x64
cdq
idiv ebx
add esi, eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x46
push str.CAREER_EXPECTATION_EURO_CUP_SEMI_MIN
mov edi, eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x5a
push str.CAREER_EXPECTATION_EURO_CUP_SEMI_MAX
mov ebx, eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x37
push str.CAREER_EXPECTATION_EURO_CUP_QUARTER_MIN
mov ebp, eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x4b
push str.CAREER_EXPECTATION_EURO_CUP_QUARTER_MAX
mov dword [esp + 0x20], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x2d
push str.CAREER_EXPECTATION_EURO_CUP_SURVIVE_KO_MIN
mov dword [esp + 0x40], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x41
push str.CAREER_EXPECTATION_EURO_CUP_SURVIVE_KO_MAX
mov dword [esp + 0x24], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
cmp esi, edi
mov edi, dword [esp + 0x104]
jl 0x4645f7
mov dword [edi + 0xc], 0
cmp esi, ebx
jl 0x464606
cmp esi, ebp
jg 0x464606
mov dword [edi + 8], 1
cmp esi, dword [esp + 0x14]
jl 0x464619
cmp esi, dword [esp + 0x34]
jg 0x464619
mov dword [edi + 4], 2
cmp esi, dword [esp + 0x18]
jl 0x46463c
cmp esi, eax
jg 0x46463c
mov edx, dword [esp + 0x100]
mov eax, dword [edx]
push eax
call fcn.004544d0
add esp, 4
cmp eax, 0xffffffff
je 0x46463c
mov dword [edi], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46468c
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x46468c
test edi, edi
je 0x46468c
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x464670
dec dword [esi]
jne 0x464670
test esi, esi
je 0x464670
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 0x464683
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, 0xe8
ret