Function at 0x52c1c0
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xac
push esi
push edi
mov esi, ecx
push str.teamid
lea ecx, [esp + 0x74]
call fcn.00418c70
push str.leagueid
lea ecx, [esp + 0x58]
call fcn.00418c70
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.005b7360
mov ecx, dword [esi + 0x18]
add esp, 0xc
push eax
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.career_team_prestige
push 0
push 0
push 0
push 0
push 0
push 0
push str.teams
push str.leagues
lea edx, [esp + 0x70]
push str.leagueteamlinks
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 + 0x28]
call fcn.005bdce0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov dword [esp + 0x14], 0x8477e8
je 0x52c2a4
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x52c2b3
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov eax, dword [esp + 0x4c]
push ebx
lea ecx, [esp + 0x40]
cmp eax, ecx
mov ebx, 0x84760c
push ebp
mov dword [esp + 0x1c], ebx
je 0x52c2d9
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x64]
cmp eax, ecx
mov dword [esp + 0x38], ebx
je 0x52c2f8
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x52c319
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x80]
cmp eax, ecx
mov dword [esp + 0x98], ebx
je 0x52c341
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.005b6c70
test eax, eax
jle 0x52c60e
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x20]
push eax
call fcn.005b6e00
push str.level
lea ecx, [esp + 0x20]
call fcn.00419060
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c398
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c398
test edi, edi
je 0x52c398
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005b6e00
push str._domesticprestige
lea ecx, [esp + 0x20]
call fcn.00419060
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c3de
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c3de
test edi, edi
je 0x52c3de
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
call fcn.005b6e00
push str._internationalprestige
lea ecx, [esp + 0x20]
call fcn.00419060
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c424
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c424
test edi, edi
je 0x52c424
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x20]
push eax
call fcn.005b6e00
push str.leagueprestige
lea ecx, [esp + 0x20]
call fcn.00419060
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c46a
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c46a
test edi, edi
je 0x52c46a
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005b6e00
push str.countryid
lea ecx, [esp + 0x20]
call fcn.00419060
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c4b0
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c4b0
test edi, edi
je 0x52c4b0
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
call fcn.005b6e00
push str.opponent
lea ecx, [esp + 0x20]
call fcn.00419060
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c4f6
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c4f6
test edi, edi
je 0x52c4f6
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x20]
push eax
call fcn.005b6e00
push str.signsyouthplayersfrom
lea ecx, [esp + 0x20]
call fcn.00419060
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c53c
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c53c
test edi, edi
je 0x52c53c
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005b6e00
push str.signsplayersfromprimary
lea ecx, [esp + 0x20]
call fcn.00419060
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c582
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c582
test edi, edi
je 0x52c582
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
call fcn.005b6e00
push str.signsplayersfromsecondary
lea ecx, [esp + 0x20]
call fcn.00419060
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c5c8
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c5c8
test edi, edi
je 0x52c5c8
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x20]
push eax
call fcn.005b6e00
push str.initialtransferbudget
lea ecx, [esp + 0x20]
call fcn.00419060
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c60e
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c60e
test edi, edi
je 0x52c60e
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
push str.teamid
lea ecx, [esp + 0x7c]
call fcn.00418c70
mov edx, dword [esi]
lea ecx, [esp + 0x30]
push ecx
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x84f970
push str.playerstats
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.players
lea edx, [esp + 0x74]
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
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov edi, eax
je 0x52c6a8
push ecx
call fcn.00418f80
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x14], eax
je 0x52c6b4
inc dword [eax]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x52c6c2
push ecx
call fcn.00418f80
lea ecx, [esp + 0x2c]
call fcn.005bdce0
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x52c6ec
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x80]
cmp eax, ecx
mov dword [esp + 0x98], ebx
je 0x52c714
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea edx, [eax + 0x5c]
push edx
mov edx, dword [eax + 4]
lea ebx, [edi + ecx*4]
push edx
mov ecx, edi
mov ebp, eax
push ecx
add eax, 8
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
call fcn.005b86b0
lea eax, [esi + 0x178]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], eax
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea edi, [ebp + ecx*4]
mov ecx, dword [eax + 4]
lea edx, [eax + 0x5c]
push edx
push ecx
mov ebx, eax
push edi
add eax, 8
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
call fcn.005b86b0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x84]
cmp edx, edi
mov dword [esp + 0x88], ebx
setne bl
test eax, eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], edi
je 0x52c7de
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52c7de
test edi, edi
je 0x52c7de
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x52ca22
mov edx, dword [esp + 0x4c]
push edx
lea ecx, [esp + 0x3c]
call fcn.005b84a0
push str.playerid
lea ecx, [esp + 0x3c]
call fcn.00419060
mov ebp, dword [esp + 0xc4]
mov ecx, dword [ebp]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1b], 0
xor edi, edi
call fcn.005b6c70
test eax, eax
jle 0x52c886
mov ecx, dword [ebp]
push edi
lea eax, [esp + 0x60]
push eax
call fcn.005b6e00
push str.playerid
lea ecx, [esp + 0x60]
call fcn.00419060
cmp eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
sete byte [esp + 0x13]
test eax, eax
je 0x52c86a
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x52c86a
test ebx, ebx
je 0x52c86a
mov ecx, ebx
call fcn.005b0ba0
push ebx
call fcn.005b3b10
add esp, 4
mov al, byte [esp + 0x13]
test al, al
jne 0x52c881
mov ecx, dword [ebp]
inc edi
call fcn.005b6c70
cmp edi, eax
jl 0x52c820
jmp 0x52c886
mov byte [esp + 0x1b], 1
mov ecx, dword [esi + 4]
mov al, byte [esp + 0x1b]
inc ecx
test al, al
mov dword [esi + 4], ecx
jne 0x52ca0b
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x4c]
inc eax
push ecx
lea ecx, [esp + 0x3c]
mov dword [esi + 8], eax
call fcn.005b84a0
push str._overall_from_current_position
lea ecx, [esp + 0x3c]
call fcn.00419060
mov edx, dword [esp + 0x4c]
push edx
lea ecx, [esp + 0x3c]
mov ebp, eax
call fcn.005b84a0
push str._isRetiringPlayer
lea ecx, [esp + 0x3c]
call fcn.00419060
test eax, eax
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x3c]
setne byte [esp + 0x17]
call fcn.005b84a0
push str.preferredposition1
lea ecx, [esp + 0x3c]
call fcn.00419060
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x3c]
mov ebx, eax
call fcn.005b84a0
push str._age
lea ecx, [esp + 0x3c]
call fcn.00419060
cmp ebx, 0x20
mov dword [esp + 0x34], eax
mov edi, 8
jge 0x52c934
test ebx, ebx
jl 0x52c934
mov edi, dword [ebx*4 + 0x8af658]
add dword [esi + 0xc], ebp
add dword [esi + edi*4 + 0x154], ebp
mov edx, dword [esi + 0x34]
mov ebx, dword [esp + 0x34]
add edx, ebx
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x4c]
push edx
lea ecx, [esp + 0x3c]
call fcn.005b84a0
push str.yearcontractvalidtil
lea ecx, [esp + 0x3c]
call fcn.00419060
lea ecx, [esi + 0x174]
test ecx, ecx
je 0x52c990
cmp eax, dword [esp + 0xc0]
jg 0x52c990
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [ecx - 4], edx
mov dword [ecx], ebp
mov dword [ecx + 4], edi
add ecx, 0xc
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xc0]
mov edx, dword [esi + 0x38]
sub eax, ecx
mov cl, byte [esp + 0x13]
add edx, eax
test cl, cl
mov dword [esi + 0x38], edx
jne 0x52ca0b
mov edx, dword [esi + edi*4 + 0x134]
mov ecx, dword [esi + edi*4 + 0x94]
inc edx
cmp ebp, ecx
mov dword [esi + edi*4 + 0x134], edx
jge 0x52c9da
mov ecx, dword [esp + 0x2c]
mov dword [esi + edi*4 + 0x94], ebp
mov dword [esi + edi*4 + 0x74], ecx
cmp ebp, dword [esi + 0x50]
jge 0x52c9da
mov dword [esi + 0x50], ebp
cmp ebp, dword [esi + edi*4 + 0xd4]
jle 0x52ca0b
mov edx, dword [esp + 0x2c]
mov dword [esi + edi*4 + 0xd4], ebp
mov dword [esi + edi*4 + 0xf4], eax
mov dword [esi + edi*4 + 0x114], ebx
mov dword [esi + edi*4 + 0xb4], edx
cmp ebp, dword [esi + 0x4c]
jle 0x52ca0b
mov dword [esi + 0x4c], ebp
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x4c]
lea eax, [edx + ecx*4]
mov dword [esp + 0x4c], eax
jmp 0x52c760
mov eax, dword [esp + 0x44]
test eax, eax
je 0x52ca47
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52ca47
test edi, edi
je 0x52ca47
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esi + 4]
test ecx, ecx
jle 0x52ca69
mov eax, dword [esi + 0xc]
cdq
idiv ecx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x34]
cdq
idiv ecx
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x38]
cdq
idiv ecx
mov dword [esi + 0x38], eax
xor ebx, ebx
lea edi, [esi + 0x154]
mov ecx, dword [edi - 0x20]
test ecx, ecx
jle 0x52ca7f
mov eax, dword [edi]
cdq
idiv ecx
mov dword [edi], eax
xor eax, eax
lea edx, [esi + 0x54]
mov ecx, dword [edx]
cmp ecx, 0xffffffff
je 0x52cabb
mov ebp, dword [edi]
cmp ebp, dword [esi + ecx*4 + 0x154]
jl 0x52caa1
inc eax
add edx, 4
cmp eax, 8
jl 0x52ca84
jmp 0x52cabf
cmp eax, 7
jge 0x52cabb
mov edx, 7
lea ecx, [esi + 0x70]
sub edx, eax
mov ebp, dword [ecx - 4]
mov dword [ecx], ebp
add ecx, 0xfffffffc
dec edx
jne 0x52cab0
mov dword [esi + eax*4 + 0x54], ebx
inc ebx
add edi, 4
cmp ebx, 8
jl 0x52ca71
push str.oldteamid
lea ecx, [esp + 0x7c]
call fcn.00418c70
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
push str.career_loaned_list
push ecx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bc6d0
mov edx, dword [esi + 8]
add edx, eax
lea ecx, [esp + 0x34]
mov dword [esi + 8], edx
call fcn.005bdce0
mov eax, dword [esp + 0xb4]
lea edx, [esp + 0xa4]
cmp eax, edx
je 0x52cb45
mov ecx, dword [0x9d9dcc]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x80]
cmp eax, ecx
mov dword [esp + 0x98], 0x84760c
je 0x52cb71
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esi + 4]
test eax, eax
jle 0x52ccb3
call fcn.0060fae0
xor edx, edx
div dword [esi + 4]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x5c]
mov edi, edx
push edi
push eax
call fcn.005b6e00
push str._isRetiringPlayer
lea ecx, [esp + 0x60]
call fcn.00419060
test eax, eax
mov eax, dword [esp + 0x68]
setne byte [esp + 0x13]
test eax, eax
je 0x52cbd1
dec dword [eax]
cmp dword [eax], 0
mov ebp, eax
jne 0x52cbd1
test ebp, ebp
je 0x52cbd1
mov ecx, ebp
call fcn.005b0ba0
push ebp
call fcn.005b3b10
add esp, 4
push edi
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005b6e00
push str.preferredposition1
lea ecx, [esp + 0x60]
call fcn.00419060
mov ebx, eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x52cc15
dec dword [eax]
cmp dword [eax], 0
mov ebp, eax
jne 0x52cc15
test ebp, ebp
je 0x52cc15
mov ecx, ebp
call fcn.005b0ba0
push ebp
call fcn.005b3b10
add esp, 4
mov al, byte [esp + 0x13]
test al, al
jne 0x52ccb3
test ebx, ebx
je 0x52ccb3
mov ecx, dword [esp + 0x14]
push edi
lea edx, [esp + 0x60]
push edx
call fcn.005b6e00
push str.playerid
lea ecx, [esp + 0x60]
call fcn.00419060
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x52cc6e
dec dword [eax]
cmp dword [eax], 0
mov ebx, eax
jne 0x52cc6e
test ebx, ebx
je 0x52cc6e
mov ecx, ebx
call fcn.005b0ba0
push ebx
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x14]
push edi
lea eax, [esp + 0x60]
push eax
call fcn.005b6e00
push str._overall_from_current_position
lea ecx, [esp + 0x60]
call fcn.00419060
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x52ccb3
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x52ccb3
test esi, esi
je 0x52ccb3
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
pop ebp
pop ebx
je 0x52cd05
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x52cd05
test edi, edi
je 0x52cd05
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x52cce9
dec dword [esi]
jne 0x52cce9
test esi, esi
je 0x52cce9
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 0x52ccfc
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
pop edi
pop esi
add esp, 0xac
ret 8