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

Disassembly:
sub esp, 0x30c
push str.teamid
lea ecx, [esp + 0x7c]
call fcn.00418c70
mov eax, dword [esp + 0x310]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x9c]
push edx
call fcn.005b7360
add esp, 0xc
push eax
lea eax, [esp + 0xc]
push str.teamwrite
push eax
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
push eax
lea ecx, [esp + 0x14]
call fcn.005bdd10
lea ecx, [esp + 8]
call fcn.005bdce0
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xa0]
cmp eax, ecx
je 0x615f23
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 + 0x94], 0x84760c
je 0x615f4f
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
push ebp
push esi
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
call fcn.005bdc80
xor ebp, ebp
mov dword [esp + 0x74], str.leftcornerkicktakerid
mov dword [esp + 0x78], str.rightcornerkicktakerid
mov dword [esp + 0x7c], str.penaltytakerid
mov dword [esp + 0x80], str.kicktakerid
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
push ebx
mov edi, edi
push str.position
lea ecx, [esp + 0x184]
call fcn.00418c70
push str.position
lea ecx, [esp + 0xf8]
call fcn.00418c70
push ebp
lea ecx, [esp + 0xcc]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.005b6e00
push str.playerid
lea ecx, [esp + 0x114]
call fcn.00418c70
push str.teamid
lea ecx, [esp + 0x1a0]
call fcn.00418c70
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + edx*4 + 0x78]
push ebp
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x2dc]
push ecx
call fcn.005b74e0
add esp, 0xc
push eax
push 0x20
lea edx, [esp + 0xfc]
push edx
lea eax, [esp + 0x250]
push eax
call fcn.005b7540
add esp, 0xc
push eax
push edi
lea ecx, [esp + 0xd4]
call fcn.00419060
push eax
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x308]
push edx
call fcn.005b7360
add esp, 0xc
push eax
mov eax, dword [esp + 0x32c]
push eax
lea ecx, [esp + 0x1ac]
push ecx
lea edx, [esp + 0x210]
push edx
call fcn.005b7360
add esp, 0xc
push eax
lea eax, [esp + 0x50]
push eax
call fcn.005b7fa0
add esp, 0xc
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
lea eax, [esp + 0x2c]
push str.teamplayerlinks
push eax
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bc6d0
cmp eax, 1
lea ecx, [esp + 0x28]
setl bl
call fcn.005bdce0
mov ecx, dword [esp + 0x3c]
cmp ecx, ebp
mov esi, 0x8477e8
mov dword [esp + 0x34], esi
je 0x6160e0
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x38]
cmp ecx, ebp
je 0x6160ef
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
mov dword [esp + 0x34], 0x84760c
mov dword [esp + 0x58], esi
je 0x61610a
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x5c]
cmp ecx, ebp
je 0x616119
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x48]
cmp ecx, ebp
mov dword [esp + 0x58], 0x84760c
mov dword [esp + 0x40], esi
je 0x616134
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
je 0x616143
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0x218]
lea ecx, [esp + 0x208]
cmp eax, ecx
mov dword [esp + 0x40], 0x84760c
je 0x61616c
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x1b4]
lea ecx, [esp + 0x1a4]
cmp eax, ecx
mov dword [esp + 0x1fc], 0x84760c
je 0x616198
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x314]
lea ecx, [esp + 0x304]
cmp eax, ecx
je 0x6161b9
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x128]
lea ecx, [esp + 0x118]
cmp eax, ecx
mov dword [esp + 0x2f8], 0x84760c
je 0x6161e5
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, ebp
je 0x616211
dec dword [eax]
cmp dword [eax], ebp
mov esi, eax
jne 0x61620c
cmp esi, ebp
je 0x61620c
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov esi, 0x8477e8
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x250]
cmp eax, ecx
je 0x616232
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 0xfc]
cmp eax, ecx
mov dword [esp + 0x244], 0x84760c
je 0x61625e
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x2f0]
lea ecx, [esp + 0x2e0]
cmp eax, ecx
je 0x61627f
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x198]
lea ecx, [esp + 0x188]
cmp eax, ecx
mov dword [esp + 0x2d4], 0x84760c
je 0x6162ab
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
test bl, bl
je 0x61670d
cmp dword [esp + 0x18], ebp
jne 0x61670d
push str.position
lea ecx, [esp + 0x130]
call fcn.00418c70
push str.position
lea ecx, [esp + 0xdc]
call fcn.00418c70
push str.teamid
lea ecx, [esp + 0x14c]
call fcn.00418c70
lea eax, [esp + 0x14]
push eax
push ebp
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x274]
push edx
call fcn.005b74e0
add esp, 0xc
push eax
push 0x20
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x230]
push ecx
call fcn.005b7540
mov edx, dword [esp + 0x334]
add esp, 0xc
push eax
push edx
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x2a0]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
lea edx, [esp + 0x74]
push edx
call fcn.005b7fa0
add esp, 0xc
push eax
lea eax, [esp + 0x58]
push eax
call fcn.005b7fa0
add esp, 0xc
push eax
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push str.players
lea ecx, [esp + 0x54]
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 + 0x2c]
call fcn.005bdce0
mov ecx, dword [esp + 0x54]
cmp ecx, ebp
mov dword [esp + 0x4c], esi
je 0x6163ba
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x50]
cmp ecx, ebp
je 0x6163c9
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x6c]
cmp ecx, ebp
mov ebx, 0x84760c
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x64], esi
je 0x6163e5
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov ecx, dword [esp + 0x68]
cmp ecx, ebp
je 0x6163f4
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0x2a8]
lea ecx, [esp + 0x298]
cmp eax, ecx
mov dword [esp + 0x64], ebx
je 0x616419
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x150]
cmp eax, ecx
mov dword [esp + 0x28c], ebx
je 0x616441
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x23c]
lea ecx, [esp + 0x22c]
cmp eax, ecx
je 0x616462
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
mov dword [esp + 0x220], ebx
je 0x61648a
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x284]
lea ecx, [esp + 0x274]
cmp eax, ecx
je 0x6164ab
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x134]
cmp eax, ecx
mov dword [esp + 0x268], ebx
je 0x6164d3
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 0x6166fb
mov ecx, dword [esp + 0x14]
push str.finishing
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], str.finishing
mov dword [esp + 0x7c], 0xffffffff
call fcn.00615600
push ebp
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005b6e00
push str.playerid
lea ecx, [esp + 0x8c]
call fcn.00419060
mov ebx, eax
mov eax, dword [esp + 0x94]
cmp eax, ebp
mov dword [esp + 0x18], ebx
je 0x616557
dec dword [eax]
cmp dword [eax], ebp
mov esi, eax
jne 0x616557
cmp esi, ebp
je 0x616557
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
push edi
lea ecx, [esp + 0xa8]
call fcn.00418c70
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x1bc]
call fcn.005b7e80
push str.teamid
lea ecx, [esp + 0x168]
mov dword [esp + 0x1f8], ebx
mov dword [esp + 0x1fc], ebp
mov dword [esp + 0x1bc], 0x84f9cc
call fcn.00418c70
mov ecx, dword [esp + 0x320]
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
lea eax, [esp + 0x1dc]
push eax
push ecx
lea edx, [esp + 0x190]
push edx
lea eax, [esp + 0x2e0]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x50]
push str.teamwrite
push ecx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdac0
lea ecx, [esp + 0x24]
call fcn.005bdce0
mov eax, dword [esp + 0x2cc]
lea edx, [esp + 0x2bc]
cmp eax, edx
je 0x616646
mov ecx, dword [0x9d9dcc]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x17c]
lea ecx, [esp + 0x16c]
cmp eax, ecx
mov dword [esp + 0x2b0], 0x84760c
je 0x616672
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x1d4]
lea ecx, [esp + 0x1c4]
cmp eax, ecx
je 0x616693
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xac]
cmp eax, ecx
mov dword [esp + 0x1b8], 0x84f900
je 0x6166bf
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call fcn.005bdc80
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
mov esi, eax
je 0x6166dd
push ecx
call fcn.00418f80
mov eax, dword [esi]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x6166ed
inc dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
je 0x6166ff
push ecx
call fcn.00418f80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
je 0x616711
push ecx
call fcn.00418f80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, 4
mov dword [esp + 0x1c], ecx
jl 0x615f90
cmp eax, ebp
pop ebx
je 0x61676f
dec dword [eax]
cmp dword [eax], ebp
mov edi, eax
jne 0x61676f
cmp edi, ebp
je 0x61676f
mov esi, dword [edi + 0x5c]
cmp esi, ebp
je 0x616753
dec dword [esi]
jne 0x616753
cmp esi, ebp
je 0x616753
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 0x616766
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.005bdce0
pop edi
pop esi
pop ebp
add esp, 0x30c
ret