Function at 0x541200
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xb8
push esi
push 1
push 5
push str.CAREER_PROB_CPU_APPROACH
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0xa
push str.CAREER_PROB_CPU_OFFER
mov esi, eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
cmp dword [esp + 0xc8], 2
jge 0x54123f
mov esi, eax
call fcn.0060fae0
xor edx, edx
mov ecx, 0x64
div ecx
cmp edx, esi
jge 0x5416e0
mov esi, dword [esp + 0xc4]
push ebx
push ebp
push edi
mov edi, dword [esp + 0xcc]
mov ecx, dword [edi]
push esi
lea edx, [esp + 0x14]
push edx
call fcn.005b6e00
push str.playerid
lea ecx, [esp + 0x14]
call fcn.00419060
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5412aa
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x5412aa
test ebx, ebx
je 0x5412aa
mov ecx, ebx
call fcn.005b0ba0
push ebx
call fcn.005b3b10
add esp, 4
mov ecx, dword [edi]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.005b6e00
push str.preferredposition1
lea ecx, [esp + 0x14]
call fcn.00419060
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5412ee
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x5412ee
test ebx, ebx
je 0x5412ee
mov ecx, ebx
call fcn.005b0ba0
push ebx
call fcn.005b3b10
add esp, 4
push esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi]
call fcn.005b6e00
push 0x84fdac
lea ecx, [esp + 0x14]
call fcn.00419060
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x541332
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x541332
test ebx, ebx
je 0x541332
mov ecx, ebx
call fcn.005b0ba0
push ebx
call fcn.005b3b10
add esp, 4
mov ecx, dword [edi]
push esi
lea edx, [esp + 0x14]
push edx
call fcn.005b6e00
push str._overall3
lea ecx, [esp + 0x14]
call fcn.00419060
mov ebp, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x541374
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x541374
test ebx, ebx
je 0x541374
mov ecx, ebx
call fcn.005b0ba0
push ebx
call fcn.005b3b10
add esp, 4
mov ecx, dword [edi]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.005b6e00
push str.nationality
lea ecx, [esp + 0x14]
call fcn.00419060
mov ebx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5413b6
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5413b6
test esi, esi
je 0x5413b6
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
push str.teamid
lea ecx, [esp + 0x14]
call fcn.00418c70
lea ecx, [esp + 0x30]
push ecx
call fcn.004a3030
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.005b7360
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
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.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x38]
call fcn.005bdce0
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x4c]
cmp eax, edx
je 0x541444
mov ecx, dword [0x9d9dcc]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov dword [esp + 0x40], 0x84760c
je 0x541467
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x30]
mov esi, ebx
call fcn.005b6c70
test eax, eax
jle 0x5414bb
mov ecx, dword [esp + 0x30]
push 0
lea eax, [esp + 0x14]
push eax
call fcn.005b6e00
push str.countryid
lea ecx, [esp + 0x14]
call fcn.00419060
mov esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5414bb
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x5414bb
test edi, edi
je 0x5414bb
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push ecx
push edx
push esi
push ebx
push ebp
push eax
call fcn.0053e1e0
add esp, 0x18
push str.playerid
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00418c70
mov ebx, dword [esp + 0x2c]
push ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.005b7360
add esp, 0xc
push eax
lea eax, [esp + 0x38]
push str.career_user_sales
push eax
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bc6d0
lea ecx, [esp + 0x34]
mov edi, eax
call fcn.005bdce0
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x54154a
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov dword [esp + 0x40], 0x84760c
je 0x54156d
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
push str.bidteamid
lea ecx, [esp + 0x44]
call fcn.00418c70
push str.playerid
lea ecx, [esp + 0x68]
call fcn.00418c70
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
push ebx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
lea edx, [esp + 0x30]
push str.career_cpu_offers
push edx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bc6d0
lea ecx, [esp + 0x2c]
mov ebp, eax
call fcn.005bdce0
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x10], 0x8477e8
je 0x54160b
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x54161a
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x8c]
cmp eax, ecx
mov dword [esp + 0x10], 0x84760c
je 0x541643
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x6c]
cmp eax, ecx
mov dword [esp + 0x80], 0x84760c
je 0x541669
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x54168a
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x48]
cmp eax, ecx
mov dword [esp + 0xa4], 0x84760c
je 0x5416b0
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xd4]
cmp eax, 2
jl 0x5416c0
test edi, edi
jne 0x5416cf
test ebp, ebp
jne 0x5416cf
push eax
push esi
push ebx
call fcn.0053c730
add esp, 0xc
mov ecx, dword [esp + 0x30]
test ecx, ecx
pop edi
pop ebp
pop ebx
je 0x5416e0
push ecx
call fcn.00418f80
pop esi
add esp, 0xb8
ret