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

Disassembly:
sub esp, 0x1ec
push esi
push edi
push 1
push 6
push str.CAREER_GOOD_MIDFIELD_SCORING_RATIO
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 2
push str.CAREER_GOOD_STRIKER_SCORING_RATIO
mov dword [esp + 0xb4], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 4
push str.CAREER_GOOD_GOALIE_CS_RATIO
mov dword [esp + 0x40], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0x46
push str.CAREER_GOOD_FORM_LEVEL_FOR_SALE
mov dword [esp + 0x54], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
push 1
push 0xa
push str.CAREER_MIN_APPEARANCES_FOR_POACHING
mov dword [esp + 0xb8], eax
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
mov esi, eax
push str._isRetiringPlayer
lea ecx, [esp + 0x74]
mov dword [esp + 0x54], esi
call fcn.00418c70
push str._allgoals
lea ecx, [esp + 0x90]
call fcn.00418c70
push str._allappearances
lea ecx, [esp + 0x58]
call fcn.00418c70
push str.preferredposition1
lea ecx, [esp + 0x120]
call fcn.00418c70
push str.preferredposition1
lea ecx, [esp + 0x194]
call fcn.00418c70
push str.teamid
lea ecx, [esp + 0x178]
call fcn.00418c70
lea eax, [esp + 0xc]
push eax
push 0
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0xbc]
push edx
call fcn.005b7360
add esp, 0xc
push eax
push 0
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xe4]
push ecx
call fcn.005b74e0
add esp, 0xc
push eax
push esi
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x10c]
push eax
call fcn.005b74e0
add esp, 0xc
push eax
push 0x20
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x168]
push edx
call fcn.005b7540
add esp, 0xc
push eax
push 9
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x1c8]
push ecx
call fcn.005b7510
add esp, 0xc
push eax
call fcn.004a3030
push eax
lea edx, [esp + 0x190]
push edx
lea eax, [esp + 0x1f0]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
lea edx, [esp + 0x28]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.005b7fa0
add esp, 0xc
push eax
lea ecx, [esp + 0x148]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
lea edx, [esp + 0x150]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0
push 0x84f970
push str.players
push str.playerstats
lea eax, [esp + 0x58]
push str.teamplayerlinks
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 + 0x30]
call fcn.005bdce0
mov ecx, dword [esp + 0x14c]
test ecx, ecx
mov edi, 0x8477e8
mov dword [esp + 0x144], edi
je 0x541e78
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x148]
test ecx, ecx
je 0x541e8a
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x140]
test ecx, ecx
push ebx
push ebp
mov ebp, 0x84760c
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x140], edi
je 0x541eb1
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x144]
test ecx, ecx
je 0x541ec3
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov dword [esp + 0x140], ebp
mov dword [esp + 0x40], edi
je 0x541edd
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x541eec
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], edi
je 0x541f03
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x541f12
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], edi
je 0x541f29
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x541f38
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0x1f4]
lea ecx, [esp + 0x1e4]
cmp eax, ecx
mov dword [esp + 0x28], ebp
je 0x541f5d
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x194]
lea ecx, [esp + 0x184]
cmp eax, ecx
mov dword [esp + 0x1d8], ebp
je 0x541f85
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x1d0]
lea ecx, [esp + 0x1c0]
cmp eax, ecx
je 0x541fa6
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x1b0]
lea ecx, [esp + 0x1a0]
cmp eax, ecx
mov dword [esp + 0x1b4], ebp
je 0x541fce
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x164]
cmp eax, ecx
je 0x541fef
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 0x12c]
cmp eax, ecx
mov dword [esp + 0x158], ebp
je 0x542017
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x10c]
cmp eax, ecx
je 0x542038
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 + 0x100], ebp
je 0x54205a
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xf8]
lea ecx, [esp + 0xe8]
cmp eax, ecx
je 0x54207b
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x9c]
cmp eax, ecx
mov dword [esp + 0xdc], ebp
je 0x5420a3
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0xc4]
cmp eax, ecx
je 0x5420c4
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 + 0xb8], ebp
je 0x5420ec
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
xor ebx, ebx
test eax, eax
mov dword [esp + 0x38], eax
jle 0x542222
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.005b6e00
push str._allappearances
lea ecx, [esp + 0x2c]
call fcn.00419060
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x542149
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x542149
test esi, esi
je 0x542149
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005b6e00
push str._allgoals
lea ecx, [esp + 0x1c]
call fcn.00419060
mov ebp, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x54218d
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x54218d
test esi, esi
je 0x54218d
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x14]
push ebx
lea edx, [esp + 0x44]
push edx
call fcn.005b6e00
push str.preferredposition1
lea ecx, [esp + 0x44]
call fcn.00419060
mov edi, eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5421d1
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x5421d1
test esi, esi
je 0x5421d1
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x10]
cdq
idiv ebp
cmp eax, dword [esp + 0xb0]
jg 0x5421eb
cmp edi, 9
jl 0x5421eb
cmp edi, 0x1a
jl 0x5421fb
cmp eax, dword [esp + 0x3c]
jg 0x54220b
cmp edi, 0x1a
jl 0x54220b
cmp edi, 0x20
jge 0x54220b
push 3
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00541200
add esp, 0xc
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jl 0x542103
mov edi, 0x8477e8
mov ebp, 0x84760c
push str._isRetiringPlayer
lea ecx, [esp + 0x60]
call fcn.00418c70
push str.preferredposition1
lea ecx, [esp + 0x98]
call fcn.00418c70
push str.teamid
lea ecx, [esp + 0x7c]
call fcn.00418c70
push 0
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x108]
push edx
call fcn.005b7360
add esp, 0xc
push eax
push 0
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xe8]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
call fcn.004a3030
push eax
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0xc8]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
lea edx, [esp + 0x30]
push edx
call fcn.005b7fa0
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 eax, [esp + 0x80]
push str.teamplayerlinks
push eax
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.005bc6d0
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.005bdce0
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov dword [esp + 0x28], edi
je 0x542339
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x542348
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], edi
je 0x54235f
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x54236e
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0xc4]
cmp eax, ecx
mov dword [esp + 0x18], ebp
je 0x542393
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 + 0xb8], ebp
je 0x5423bb
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xf8]
lea ecx, [esp + 0xe8]
cmp eax, ecx
je 0x5423dc
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x9c]
cmp eax, ecx
mov dword [esp + 0xdc], ebp
je 0x542404
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x10c]
cmp eax, ecx
je 0x542425
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 + 0x100], ebp
je 0x542447
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
cmp esi, 1
jle 0x542830
push str.cleansheets
lea ecx, [esp + 0x128]
call fcn.00418c70
push str._allappearances
lea ecx, [esp + 0x60]
call fcn.00418c70
push str.preferredposition1
lea ecx, [esp + 0x98]
call fcn.00418c70
push str.teamid
lea ecx, [esp + 0x7c]
call fcn.00418c70
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x164]
push edx
call fcn.005b74e0
add esp, 0xc
push eax
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x110]
push edx
call fcn.005b74e0
add esp, 0xc
push eax
push 0
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xf0]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
call fcn.004a3030
push eax
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
lea edx, [esp + 0x28]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005b7fa0
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0
push 0x84f970
push str.players
push str.playerstats
lea ecx, [esp + 0x64]
push str.teamplayerlinks
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 + 0x3c]
call fcn.005bdce0
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov esi, 0x8477e8
mov dword [esp + 0x28], esi
je 0x542592
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5425a1
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edi, 0x84760c
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], esi
je 0x5425bd
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5425cc
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], esi
je 0x5425e3
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x5425f2
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0xc4]
cmp eax, ecx
mov dword [esp + 0x40], edi
je 0x542617
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 + 0xb8], edi
je 0x54263f
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xf8]
lea ecx, [esp + 0xe8]
cmp eax, ecx
je 0x542660
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x9c]
cmp eax, ecx
mov dword [esp + 0xdc], edi
je 0x542688
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x10c]
cmp eax, ecx
je 0x5426a9
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 + 0x100], edi
je 0x5426cb
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x164]
cmp eax, ecx
je 0x5426ec
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 0x12c]
cmp eax, ecx
mov dword [esp + 0x158], edi
je 0x542714
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x10]
call fcn.005b6c70
xor esi, esi
test eax, eax
mov dword [esp + 0x38], eax
jle 0x5427e0
jmp 0x542730
mov ecx, dword [esp + 0x10]
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.005b6e00
push str._allappearances
lea ecx, [esp + 0x2c]
call fcn.00419060
mov ebp, eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x542774
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x542774
test edi, edi
je 0x542774
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.005b6e00
push str.cleansheets
lea ecx, [esp + 0x1c]
call fcn.00419060
mov ebx, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5427b8
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x5427b8
test edi, edi
je 0x5427b8
mov ecx, edi
call fcn.005b0ba0
push edi
call fcn.005b3b10
add esp, 4
mov eax, ebp
cdq
idiv ebx
cmp eax, dword [esp + 0x50]
jg 0x5427d3
push 3
lea edx, [esp + 0x14]
push esi
push edx
call fcn.00541200
add esp, 0xc
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
jl 0x542730
mov eax, dword [esp + 0x10]
test eax, eax
je 0x542830
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x542830
test edi, edi
je 0x542830
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x542814
dec dword [esi]
jne 0x542814
test esi, esi
je 0x542814
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 0x542827
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
push str._isRetiringPlayer
lea ecx, [esp + 0x128]
call fcn.00418c70
push str._form
lea ecx, [esp + 0x60]
call fcn.00418c70
push str._allappearances
lea ecx, [esp + 0x98]
call fcn.00418c70
push str.teamid
lea ecx, [esp + 0x7c]
call fcn.00418c70
lea edx, [esp + 0x54]
push edx
push 0
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x164]
push ecx
call fcn.005b7360
mov edx, dword [esp + 0xc4]
add esp, 0xc
push eax
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x110]
push ecx
call fcn.005b74e0
mov edx, dword [esp + 0x6c]
add esp, 0xc
push eax
push edx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xf0]
push ecx
call fcn.005b74e0
add esp, 0xc
push eax
call fcn.004a3030
push eax
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
lea edx, [esp + 0x28]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005b7fa0
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0
push 0x84f970
push str.playerstats
push str.players
lea ecx, [esp + 0x78]
push str.teamplayerlinks
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 + 0x50]
call fcn.005bdce0
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov esi, 0x8477e8
pop ebp
mov dword [esp + 0x24], esi
pop ebx
je 0x54297a
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x542989
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov edi, 0x84760c
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], esi
je 0x5429a5
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x5429b4
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
test ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], esi
je 0x5429cb
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5429da
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0xbc]
cmp eax, ecx
mov dword [esp + 0x38], edi
je 0x5429ff
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 + 0xb0], edi
je 0x542a24
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 0x542a45
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x94]
cmp eax, ecx
mov dword [esp + 0xd4], edi
je 0x542a6d
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x114]
lea ecx, [esp + 0x104]
cmp eax, ecx
je 0x542a8e
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 + 0xf8], edi
je 0x542ab0
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x16c]
lea ecx, [esp + 0x15c]
cmp eax, ecx
je 0x542ad1
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x134]
lea ecx, [esp + 0x124]
cmp eax, ecx
mov dword [esp + 0x150], edi
je 0x542af9
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x4c]
call fcn.005b6c70
mov edi, eax
xor esi, esi
test edi, edi
jle 0x542b25
lea ebx, [ebx]
push 3
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00541200
add esp, 0xc
inc esi
cmp esi, edi
jl 0x542b10
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x542b75
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x542b75
test edi, edi
je 0x542b75
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x542b59
dec dword [esi]
jne 0x542b59
test esi, esi
je 0x542b59
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 0x542b6c
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x542bc5
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x542bc5
test edi, edi
je 0x542bc5
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x542ba9
dec dword [esi]
jne 0x542ba9
test esi, esi
je 0x542ba9
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 0x542bbc
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
pop edi
pop esi
add esp, 0x1ec
ret