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

Disassembly:
sub esp, 0x5a8
mov eax, dword [esp + 0x5ac]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5bc]
push edi
xor edi, edi
imul eax, eax, 0x5b3c
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
jmp 0x4f1490
mov dword [esp + 0x30], 0
jmp 0x4f14a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xa7922c]
xor ebx, ebx
test ecx, ecx
jle 0x4f2713
mov ebp, eax
lea ebp, [ebp + 0xa738dc]
lea esp, [esp]
push ebx
mov ecx, ebp
call fcn.00613b30
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x20], ecx
push ebx
mov ecx, ebp
call fcn.00613b30
mov edx, dword [eax + 0x58]
push edx
call fcn.004a3300
add esp, 4
push ebx
mov ecx, ebp
mov dword [esp + 0x28], eax
call fcn.00613b30
mov eax, dword [eax + 0x4c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4f2700
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x20], eax
jne 0x4f2700
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x24], ecx
jne 0x4f2700
call fcn.0041bb40
test al, al
je 0x4f20d9
push 1
push str.VISUAL_SIM
call fcn.00704c0b
mov ecx, eax
call fcn.00704db9
test eax, eax
jne 0x4f20d9
push str.playerid
lea ecx, [esp + 0x304]
call fcn.00418c70
push str.teamid
lea ecx, [esp + 0x320]
call fcn.00418c70
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x308]
push ecx
lea edx, [esp + 0x344]
push edx
call fcn.005b7360
add esp, 0xc
push eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xa738e0]
push ecx
lea edx, [esp + 0x328]
push edx
lea eax, [esp + 0x36c]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
push 0
push 0
push 0
push 0
push 0x84f970
push str.career_internationals
push str.playerstats
push str.players
lea edx, [esp + 0x5c]
push str.teamplayerlinks
push edx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005bd570
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x34]
call fcn.005bdce0
mov ecx, dword [esp + 0x40]
test ecx, ecx
mov dword [esp + 0x38], 0x8477e8
je 0x4f1620
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4f162f
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov eax, dword [esp + 0x378]
lea ecx, [esp + 0x368]
cmp eax, ecx
mov dword [esp + 0x38], 0x84760c
je 0x4f1658
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x334]
lea ecx, [esp + 0x324]
cmp eax, ecx
mov dword [esp + 0x35c], 0x84760c
je 0x4f1684
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x354]
lea ecx, [esp + 0x344]
cmp eax, ecx
je 0x4f16a5
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x318]
lea ecx, [esp + 0x308]
cmp eax, ecx
mov dword [esp + 0x338], 0x84760c
je 0x4f16d1
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x234]
push eax
call fcn.005b6e00
push str.playerid
lea ecx, [esp + 0x234]
call fcn.00419060
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x23c]
test eax, eax
je 0x4f1727
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1727
test ecx, ecx
je 0x4f1727
call fcn.005b0ba0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005b3b10
add esp, 4
push str.playerid
lea edx, [esp + 0x408]
push edx
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x188], ecx
push eax
lea ecx, [esp + 0x18c]
mov dword [esp + 0x190], edx
mov dword [esp + 0x194], edi
call fcn.0049ef90
push str.teamid
lea ecx, [esp + 0x3d8]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x5bc]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
call fcn.0049ef90
mov ecx, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x264]
push edx
call fcn.005b6e00
push str.jerseynumber
lea ecx, [esp + 0x264]
call fcn.00419060
mov dword [esp + 0x14], eax
push str.number
lea eax, [esp + 0x3f0]
push eax
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x1e8], ecx
push eax
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x1f0], edx
mov dword [esp + 0x1f4], edi
call fcn.0049ef90
mov eax, dword [esp + 0x26c]
test eax, eax
je 0x4f1831
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1831
test ecx, ecx
je 0x4f1831
call fcn.005b0ba0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005b3b10
add esp, 4
push 0x857844
lea edx, [esp + 0x384]
push edx
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x20]
mov dword [esp + 0x74], ecx
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edi
call fcn.0049ef90
push 0
lea ecx, [esp + 0x2c4]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.005b6e00
push str.preferredposition1
lea ecx, [esp + 0x2c4]
call fcn.00419060
push str.prefpos
lea edx, [esp + 0x420]
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x1b8], ecx
push eax
lea ecx, [esp + 0x1bc]
mov dword [esp + 0x1c0], edx
mov dword [esp + 0x1c4], edi
call fcn.0049ef90
mov eax, dword [esp + 0x2cc]
test eax, eax
je 0x4f18fc
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f18fc
test ecx, ecx
je 0x4f18fc
call fcn.005b0ba0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005b3b10
add esp, 4
push str.linepos
lea edx, [esp + 0x438]
push edx
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x24]
mov dword [esp + 0x8c], ecx
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edi
call fcn.0049ef90
push 0
lea ecx, [esp + 0x284]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.005b6e00
push str._fatigue
lea ecx, [esp + 0x284]
call fcn.00419060
push str.fatigue
lea edx, [esp + 0x450]
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x218], ecx
push eax
lea ecx, [esp + 0x21c]
mov dword [esp + 0x220], edx
mov dword [esp + 0x224], edi
call fcn.0049ef90
mov eax, dword [esp + 0x28c]
test eax, eax
je 0x4f19d0
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f19d0
test ecx, ecx
je 0x4f19d0
call fcn.005b0ba0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x2f4]
push edx
call fcn.005b6e00
push str._morale
lea ecx, [esp + 0x2f4]
call fcn.00419060
mov dword [esp + 0x14], eax
push str.morale
lea eax, [esp + 0x468]
push eax
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0xa4], ecx
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], edi
call fcn.0049ef90
mov eax, dword [esp + 0x2fc]
test eax, eax
je 0x4f1a65
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1a65
test ecx, ecx
je 0x4f1a65
call fcn.005b0ba0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x2a4]
push edx
call fcn.005b6e00
push str._injury
lea ecx, [esp + 0x2a4]
call fcn.00419060
mov dword [esp + 0x14], eax
push str.injury
lea eax, [esp + 0x480]
push eax
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x1d0], ecx
push eax
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x1d8], edx
mov dword [esp + 0x1dc], edi
call fcn.0049ef90
mov eax, dword [esp + 0x2ac]
test eax, eax
je 0x4f1afa
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1afa
test ecx, ecx
je 0x4f1afa
call fcn.005b0ba0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x244]
push edx
call fcn.005b6e00
push str._yellow
lea ecx, [esp + 0x244]
call fcn.00419060
mov dword [esp + 0x14], eax
push str.yellow
lea eax, [esp + 0x498]
push eax
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0xbc], ecx
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], edi
call fcn.0049ef90
mov eax, dword [esp + 0x24c]
test eax, eax
je 0x4f1b8f
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1b8f
test ecx, ecx
je 0x4f1b8f
call fcn.005b0ba0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x254]
push edx
call fcn.005b6e00
push str._red
lea ecx, [esp + 0x254]
call fcn.00419060
mov dword [esp + 0x14], eax
push 0x854158
lea eax, [esp + 0x4b0]
push eax
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x200], ecx
push eax
lea ecx, [esp + 0x204]
mov dword [esp + 0x208], edx
mov dword [esp + 0x20c], edi
call fcn.0049ef90
mov eax, dword [esp + 0x25c]
test eax, eax
je 0x4f1c24
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1c24
test ecx, ecx
je 0x4f1c24
call fcn.005b0ba0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005b3b10
add esp, 4
push str.subbed
lea edx, [esp + 0x4c8]
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0xd4], ecx
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], edi
call fcn.0049ef90
push 0
lea ecx, [esp + 0x274]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.005b6e00
push str.name
lea edx, [esp + 0x4e0]
push edx
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push str._name
lea eax, [esp + 0x570]
mov dword [esp + 0x1a4], ecx
push eax
lea ecx, [esp + 0x278]
mov dword [esp + 0x1ac], edx
mov dword [esp + 0x1b0], edi
call fcn.0047ad20
push eax
lea ecx, [esp + 0x1a4]
call fcn.004b5940
mov eax, dword [esp + 0x5b4]
lea ecx, [esp + 0x574]
cmp eax, ecx
je 0x4f1ced
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x27c]
test eax, eax
je 0x4f1d1b
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1d1b
test ecx, ecx
je 0x4f1d1b
call fcn.005b0ba0
mov edx, dword [esp + 0x10]
push edx
call fcn.005b3b10
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x294]
push eax
call fcn.005b6e00
push 0x84fdac
lea ecx, [esp + 0x294]
call fcn.00419060
push str.overall
lea ecx, [esp + 0x4f8]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xf0]
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], edi
call fcn.0049ef90
mov eax, dword [esp + 0x29c]
test eax, eax
je 0x4f1db0
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1db0
test ecx, ecx
je 0x4f1db0
call fcn.005b0ba0
mov edx, dword [esp + 0x10]
push edx
call fcn.005b3b10
add esp, 4
cmp dword [esp + 0x20], 0x20
jl 0x4f1e52
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x2b4]
push eax
call fcn.005b6e00
push 0x84fdac
lea ecx, [esp + 0x2b4]
call fcn.00419060
push str.overallForPos
lea ecx, [esp + 0x510]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], edi
call fcn.0049ef90
mov eax, dword [esp + 0x2bc]
test eax, eax
je 0x4f1ea9
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1ea9
test ecx, ecx
je 0x4f1ea9
call fcn.005b0ba0
mov edx, dword [esp + 0x10]
push edx
call fcn.005b3b10
add esp, 4
jmp 0x4f1ea9
mov eax, dword [esp + 0x20]
push eax
push ebx
mov ecx, ebp
call fcn.00613b30
mov ecx, eax
call fcn.00620280
push str.overallForPos
lea ecx, [esp + 0x528]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x108]
mov dword [esp + 0x108], edx
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edi
call fcn.0049ef90
mov ecx, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x2d4]
push edx
call fcn.005b6e00
push str.marking
lea eax, [esp + 0x540]
push eax
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c4], ecx
push str.playerid
lea ecx, [esp + 0x2d4]
mov dword [esp + 0x1cc], edx
mov dword [esp + 0x1d0], edi
call fcn.00419060
push eax
mov ecx, ebp
call fcn.00613b50
add eax, 0x2e0
push eax
lea ecx, [esp + 0x1c8]
call fcn.0049ef90
mov eax, dword [esp + 0x2dc]
test eax, eax
je 0x4f1f43
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1f43
test ecx, ecx
je 0x4f1f43
call fcn.005b0ba0
mov eax, dword [esp + 0x10]
push eax
call fcn.005b3b10
add esp, 4
push 0
lea ecx, [esp + 0x2e4]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.005b6e00
push str._isOnInternationalDuty
lea ecx, [esp + 0x2e4]
call fcn.00419060
push str.internationalDuty
lea edx, [esp + 0x558]
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x11c], ecx
push eax
lea ecx, [esp + 0x120]
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], edi
call fcn.0049ef90
mov eax, dword [esp + 0x2ec]
test eax, eax
je 0x4f1fd8
dec dword [eax]
cmp dword [eax], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
jne 0x4f1fd8
test ecx, ecx
je 0x4f1fd8
call fcn.005b0ba0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005b3b10
add esp, 4
push str.EnableSubSuggest
lea edx, [esp + 0x39c]
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x1dc], ecx
push eax
lea ecx, [esp + 0x1e0]
mov dword [esp + 0x1e4], edx
mov dword [esp + 0x1e8], edi
call fcn.0049ef90
push str.subsuggest
lea ecx, [esp + 0x48c]
push ecx
mov ecx, esi
mov byte [esp + 0x23], 0
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x138]
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], edi
call fcn.004b59d0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4f26ff
mov edx, dword [eax]
dec edx
mov ecx, eax
mov dword [eax], edx
cmp dword [ecx], 0
mov dword [esp + 0x24], eax
jne 0x4f26ff
test eax, eax
je 0x4f26ff
mov ecx, dword [eax + 0x5c]
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x4f20b4
dec dword [ecx]
jne 0x4f20b4
test ecx, ecx
je 0x4f20b4
call fcn.005b0ba0
mov edx, dword [esp + 0x10]
push edx
call fcn.005b3b10
mov eax, dword [esp + 0x28]
add esp, 4
mov ecx, dword [eax + 0x58]
add eax, 0x54
cmp ecx, eax
je 0x4f20c7
push ecx
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x24]
push eax
call fcn.005b3b10
add esp, 4
jmp 0x4f26ff
cmp dword [esp + 0x28], 0x20
jg 0x4f2700
push str.playerid
lea ecx, [esp + 0x3b4]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1f8]
mov dword [esp + 0x1f8], edx
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x200], edi
call fcn.0049ef90
push str.teamid
lea edx, [esp + 0x504]
push edx
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x5bc]
mov dword [esp + 0x14c], ecx
push eax
lea ecx, [esp + 0x150]
mov dword [esp + 0x154], edx
mov dword [esp + 0x158], edi
call fcn.0049ef90
push str.number
lea ecx, [esp + 0x3cc]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov ecx, ebp
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], edi
call fcn.00613b30
add eax, 0x148
push eax
lea ecx, [esp + 0x168]
call fcn.0049ef90
push 0x857844
lea ecx, [esp + 0x4a4]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
call fcn.0049ef90
push str.prefpos
lea edx, [esp + 0x3e4]
push edx
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x170], ecx
push ebx
mov ecx, ebp
mov dword [esp + 0x178], edx
mov dword [esp + 0x17c], edi
call fcn.00613b30
add eax, 0x58
push eax
lea ecx, [esp + 0x174]
call fcn.0049ef90
push str.linepos
lea eax, [esp + 0x564]
push eax
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x24]
mov dword [esp + 0x17c], ecx
push eax
lea ecx, [esp + 0x180]
mov dword [esp + 0x184], edx
mov dword [esp + 0x188], edi
call fcn.0049ef90
push str.fatigue
lea ecx, [esp + 0x3fc]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov ecx, ebp
mov dword [esp + 0x210], edx
mov dword [esp + 0x214], eax
mov dword [esp + 0x218], edi
call fcn.00613b30
add eax, 0x274
push eax
lea ecx, [esp + 0x210]
call fcn.0049ef90
push str.morale
lea ecx, [esp + 0x4bc]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov ecx, ebp
mov dword [esp + 0x198], edx
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], edi
call fcn.00613b30
add eax, 0x278
push eax
lea ecx, [esp + 0x198]
call fcn.0049ef90
push ebx
mov ecx, ebp
call fcn.00613b30
mov dl, byte [eax + 0x269]
xor ecx, ecx
test dl, dl
setne cl
push str.injury
lea edx, [esp + 0x414]
push edx
mov dword [esp + 0x1c], ecx
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x224], ecx
push eax
lea ecx, [esp + 0x228]
mov dword [esp + 0x22c], edx
mov dword [esp + 0x230], edi
call fcn.0049ef90
push str.yellow
lea ecx, [esp + 0x51c]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov ecx, ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
call fcn.00613b30
add eax, 0x1d0
push eax
lea ecx, [esp + 0x54]
call fcn.0049ef90
push ebx
mov ecx, ebp
call fcn.00613b30
mov edx, dword [eax + 0x1d4]
xor ecx, ecx
test edx, edx
setg cl
push 0x854158
lea edx, [esp + 0x42c]
push edx
mov dword [esp + 0x1c], ecx
mov ecx, esi
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
call fcn.0049ef90
push str.subbed
lea ecx, [esp + 0x4d4]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov ecx, ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
call fcn.00613b30
add eax, 0x266
push eax
lea ecx, [esp + 0x84]
call fcn.004b59d0
push str.name
lea ecx, [esp + 0x444]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov ecx, ebp
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edi
call fcn.00613b30
push eax
lea ecx, [esp + 0x9c]
call fcn.004b5940
push 0
push ebx
mov ecx, ebp
call fcn.00613b30
mov ecx, eax
call fcn.00620190
push str.overall
lea ecx, [esp + 0x54c]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edi
call fcn.0049ef90
cmp dword [esp + 0x20], 0x20
jl 0x4f2507
push 0
push ebx
mov ecx, ebp
call fcn.00613b30
mov ecx, eax
call fcn.00620190
push str.overallForPos
lea edx, [esp + 0x45c]
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], edi
lea ecx, [esp + 0xc8]
jmp 0x4f2554
mov ecx, dword [esp + 0x20]
push ecx
push ebx
mov ecx, ebp
call fcn.00613b30
mov ecx, eax
call fcn.00620280
push str.overallForPos
lea edx, [esp + 0x4ec]
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], edi
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x14]
push eax
call fcn.0049ef90
push str.marking
lea ecx, [esp + 0x474]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov ecx, ebp
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edi
call fcn.00613b30
add eax, 0x2e0
push eax
lea ecx, [esp + 0xfc]
call fcn.0049ef90
push str.internationalDuty
lea ecx, [esp + 0x534]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov ecx, ebp
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], edi
call fcn.00613b30
add eax, 0x26a
push eax
lea ecx, [esp + 0x114]
call fcn.004b59d0
push str.EnableSubSuggest
lea ecx, [esp + 0x390]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 1
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], edi
call fcn.0049ef90
cmp dword [esp + 0x20], 0x20
jge 0x4f26bb
push 1
push str.VISUAL_SIM
call fcn.00704c0b
mov ecx, eax
call fcn.00704db9
cmp eax, 1
je 0x4f26bb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x5bc]
push edx
push eax
call fcn.005f72a0
add esp, 8
test eax, eax
je 0x4f267a
mov ecx, eax
call fcn.005f66f0
mov byte [esp + 0x1b], al
jmp 0x4f267f
mov byte [esp + 0x1b], 0
push str.subsuggest
lea ecx, [esp + 0x3a8]
push ecx
mov ecx, esi
call fcn.00552690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1b]
push ecx
mov dword [esp + 0x144], edx
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], edi
lea ecx, [esp + 0x144]
jmp 0x4f26fa
push str.subsuggest
lea edx, [esp + 0x3c0]
push edx
mov ecx, esi
mov byte [esp + 0x23], 0
call fcn.00552690
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x1b]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], edx
mov dword [esp + 0x160], edi
push eax
lea ecx, [esp + 0x15c]
call fcn.004b59d0
inc edi
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xa7922c]
inc ebx
cmp ebx, eax
jl 0x4f14c0
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 4
mov dword [esp + 0x30], eax
jl 0x4f14a0
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 0x24
mov dword [esp + 0x28], eax
jl 0x4f1490
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a8
ret