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

Disassembly:
sub esp, 0xf4
mov eax, dword [ecx + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x100]
push esi
xor ebx, ebx
test eax, eax
push edi
mov dword [esp + 0x10], ecx
jle 0x647b08
lea edi, [ecx + 0x48]
mov esi, dword [edi]
cmp esi, dword [edi - 4]
je 0x647af6
push str.position
lea ecx, [esp + 0x44]
call fcn.00418c70
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
call fcn.005b7e80
push str.playerid
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], 0
mov dword [esp + 0x60], 0x84f9cc
call fcn.00418c70
push str.teamid
lea ecx, [esp + 0xc8]
call fcn.00418c70
mov edx, dword [edi + 0xc]
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
lea ecx, [esp + 0x80]
push ecx
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xd0]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
push ebp
lea edx, [esp + 0xf4]
push edx
lea eax, [esp + 0x114]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.005b7fa0
add esp, 0xc
push eax
lea edx, [esp + 0x40]
push str.teamplayerlinks
push edx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdac0
lea ecx, [esp + 0x14]
call fcn.005bdce0
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov dword [esp + 0x18], 0x8477e8
je 0x647a10
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x647a1f
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov eax, dword [esp + 0xfc]
lea ecx, [esp + 0xec]
cmp eax, ecx
mov esi, 0x84760c
mov dword [esp + 0x18], esi
je 0x647a49
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0xcc]
cmp eax, ecx
mov dword [esp + 0xe0], esi
je 0x647a71
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
je 0x647a92
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0xa0], esi
je 0x647ab4
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x68]
cmp eax, ecx
je 0x647acf
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 + 0x5c], 0x84f900
je 0x647af2
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x38]
inc ebx
add edi, 0xac
cmp ebx, eax
jl 0x6478f5
lea edi, [ecx + 0x10]
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esi + 0x875620]
mov edx, dword [ecx + eax*4 + 0x24]
cmp edx, dword [ecx + eax*4 + 0x10]
je 0x647c6e
mov eax, dword [esi + 0x87561c]
push eax
lea ecx, [esp + 0x28]
call fcn.00418c70
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x60]
call fcn.005b7e80
mov edx, dword [edi]
push str.teamid
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], 0
mov dword [esp + 0x60], 0x84f9cc
call fcn.00418c70
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
push 0x8c2138
lea eax, [esp + 0x80]
push eax
push ebp
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0xd0]
push edx
call fcn.005b7360
add esp, 0xc
push eax
lea eax, [esp + 0x40]
push str.teamwrite
push eax
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdac0
lea ecx, [esp + 0x14]
call fcn.005bdce0
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xac]
cmp eax, ecx
je 0x647c06
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 + 0xa0], 0x84760c
je 0x647c2c
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x68]
cmp eax, ecx
je 0x647c47
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0x5c], 0x84f900
je 0x647c6a
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x10]
add esi, 8
add edi, 4
cmp esi, 0x20
jb 0x647b10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret 4