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

Disassembly:
sub esp, 0x1ec
xor eax, eax
push str.teamid
lea ecx, [esp + 0x6c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
call fcn.00418c70
mov ecx, dword [esp + 0x1f0]
lea eax, [esp]
push eax
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
push str.teams
push ecx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 4]
call fcn.005bdce0
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x50]
cmp eax, edx
je 0x4bf745
mov ecx, dword [0x9d9dcc]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x80]
push ebx
push ebp
lea ecx, [esp + 0x78]
cmp eax, ecx
push esi
mov ebp, 0x84760c
push edi
mov dword [esp + 0x54], ebp
je 0x4bf770
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea edx, [eax + 0x5c]
push edx
mov edx, dword [eax + 4]
lea edi, [esi + ecx*4]
push edx
mov ecx, esi
mov ebx, eax
push ecx
add eax, 8
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
call fcn.005b86b0
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], edi
mov edi, edi
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea esi, [edi + ecx*4]
mov ecx, dword [eax + 4]
lea edx, [eax + 0x5c]
push edx
push ecx
mov ebx, eax
push esi
add eax, 8
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
call fcn.005b86b0
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x60]
cmp edx, esi
mov dword [esp + 0x64], ebx
setne bl
test eax, eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], esi
je 0x4bf82e
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x4bf82e
test esi, esi
je 0x4bf82e
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x4bf87b
mov edx, dword [esp + 0xdc]
push edx
lea ecx, [esp + 0xcc]
call fcn.005b84a0
push str.assetid
lea ecx, [esp + 0xcc]
call fcn.00419060
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 4]
lea eax, [edx + ecx*4]
mov dword [esp + 0xdc], eax
jmp 0x4bf7c0
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x4bf8a3
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x4bf8a3
test esi, esi
je 0x4bf8a3
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
push str.teamid
lea ecx, [esp + 0x7c]
call fcn.00418c70
mov edx, dword [esp + 0x204]
lea ecx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
lea edx, [esp + 0x1c]
push str.teams
push edx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
lea ecx, [esp + 0x14]
call fcn.005bdce0
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x60]
cmp eax, ecx
je 0x4bf91c
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 + 0x54], ebp
je 0x4bf941
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x50]
mov esi, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea edx, [eax + 0x5c]
push edx
mov edx, dword [eax + 4]
lea edi, [esi + ecx*4]
push edx
mov ecx, esi
mov ebx, eax
push ecx
add eax, 8
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
call fcn.005b86b0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x50]
mov edi, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea esi, [edi + ecx*4]
mov ecx, dword [eax + 4]
lea edx, [eax + 0x5c]
push edx
push ecx
mov ebx, eax
push esi
add eax, 8
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
call fcn.005b86b0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
cmp edx, esi
mov dword [esp + 0x3c], ebx
setne bl
test eax, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
je 0x4bf9eb
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x4bf9eb
test esi, esi
je 0x4bf9eb
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x4bfa26
mov edx, dword [esp + 0x68]
push edx
lea ecx, [esp + 0x58]
call fcn.005b84a0
push str.assetid
lea ecx, [esp + 0x58]
call fcn.00419060
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
lea eax, [edx + ecx*4]
mov dword [esp + 0x68], eax
jmp 0x4bf980
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4bfa4b
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x4bfa4b
test esi, esi
je 0x4bfa4b
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp edi, esi
jne 0x4bfb70
mov eax, dword [0x8aed88]
cmp eax, 0xffffffff
jne 0x4bfa81
mov ecx, dword [esp + 0x208]
mov edx, dword [esp + 0x20c]
mov dword [ecx], 0
mov dword [edx], 1
jmp 0x4bfad3
test eax, eax
jne 0x4bfaaa
mov eax, dword [0x8aed80]
mov ecx, dword [esp + 0x208]
mov dword [ecx], eax
mov eax, dword [0x8aed80]
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x20c]
sete dl
mov dword [eax], edx
jmp 0x4bfad3
cmp eax, 1
jne 0x4bfad3
mov eax, dword [0x8aed84]
mov edx, dword [esp + 0x208]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x20c]
sete cl
mov dword [edx], ecx
mov ecx, dword [0x8aed84]
mov dword [eax], ecx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4bfb23
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x4bfb23
test edi, edi
je 0x4bfb23
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x4bfb07
dec dword [esi]
jne 0x4bfb07
test esi, esi
je 0x4bfb07
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 0x4bfb1a
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c0291
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x4c0291
test edi, edi
je 0x4c0291
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x4bfb63
dec dword [esi]
jne 0x4bfb63
test esi, esi
je 0x4bfb63
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
jmp 0x4c027d
push str.teamid
lea ecx, [esp + 0x30]
call fcn.00418c70
push str.teamid
lea ecx, [esp + 0x7c]
call fcn.00418c70
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.005b7360
add esp, 0xc
push eax
push edi
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0xf8]
push eax
call fcn.005b7360
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.005b8050
add esp, 0xc
push eax
lea edx, [esp + 0x54]
push str.teamkits
push edx
call fcn.004908b0
mov ecx, eax
call fcn.005b8270
mov ecx, eax
call fcn.005b89b0
mov ecx, eax
call fcn.005bdc80
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bfc46
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x4bfc46
test edi, edi
je 0x4bfc46
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x4bfc2a
dec dword [esi]
jne 0x4bfc2a
test esi, esi
je 0x4bfc2a
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 0x4bfc3d
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
mov eax, dword [ebx]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4bfc52
inc dword [eax]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4bfca2
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x4bfca2
test edi, edi
je 0x4bfca2
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x4bfc86
dec dword [esi]
jne 0x4bfc86
test esi, esi
je 0x4bfc86
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 0x4bfc99
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.005bdce0
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov dword [esp + 0x20], 0x856cd0
je 0x4bfcc2
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4bfcd1
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0xf4]
cmp eax, ecx
mov dword [esp + 0x20], ebp
je 0x4bfcf6
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 + 0xe8], ebp
je 0x4bfd1e
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 0x4bfd3f
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x34]
cmp eax, ecx
mov dword [esp + 0x98], ebp
je 0x4bfd61
mov edx, dword [0x9d9dcc]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea edx, [eax + 0x5c]
push edx
mov edx, dword [eax + 4]
lea edi, [esi + ecx*4]
push edx
mov ecx, esi
mov ebx, eax
push ecx
add eax, 8
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
call fcn.005b86b0
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x58]
mov ecx, dword [eax + 0x4c]
lea esi, [edi + ecx*4]
mov ecx, dword [eax + 4]
lea edx, [eax + 0x5c]
push edx
push ecx
mov ebx, eax
push esi
add eax, 8
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
call fcn.005b86b0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x84]
cmp edx, esi
mov dword [esp + 0x88], ebx
setne bl
test eax, eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], esi
je 0x4bfe21
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x4bfe21
test esi, esi
je 0x4bfe21
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
test bl, bl
je 0x4bff71
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
call fcn.005b84a0
push str.kittype
lea ecx, [esp + 0x30]
call fcn.00419060
mov esi, eax
test esi, esi
je 0x4bfe54
cmp esi, 1
jne 0x4bff5a
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
call fcn.005b84a0
push str.teamid
lea ecx, [esp + 0x30]
call fcn.00419060
cmp eax, ebp
jne 0x4bfee5
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x30]
call fcn.005b84a0
lea esi, [esi + esi*2]
push str.kitclashavrhsv_h
lea ecx, [esp + 0x30]
shl esi, 2
call fcn.00419060
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + esi + 0x9c], eax
call fcn.005b84a0
push str.kitclashavrhsv_s
lea ecx, [esp + 0x30]
call fcn.00419060
mov dword [esp + esi + 0x9c], eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
call fcn.005b84a0
push str.kitclashavrhsv_v
lea ecx, [esp + 0x30]
call fcn.00419060
mov dword [esp + esi + 0xa0], eax
jmp 0x4bff5a
cmp eax, dword [esp + 0x18]
jne 0x4bff5a
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x30]
call fcn.005b84a0
lea esi, [esi + esi*2]
push str.kitclashavrhsv_h
lea ecx, [esp + 0x30]
shl esi, 2
call fcn.00419060
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + esi + 0xb4], eax
call fcn.005b84a0
push str.kitclashavrhsv_s
lea ecx, [esp + 0x30]
call fcn.00419060
mov dword [esp + esi + 0xb4], eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
call fcn.005b84a0
push str.kitclashavrhsv_v
lea ecx, [esp + 0x30]
call fcn.00419060
mov dword [esp + esi + 0xb8], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x40]
lea ecx, [eax + edx*4]
mov dword [esp + 0x40], ecx
jmp 0x4bfda4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bff96
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x4bff96
test esi, esi
je 0x4bff96
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
fild dword [esp + 0x98]
push 0
lea edx, [esp + 0x110]
push edx
fmul dword [0x848fbc]
lea eax, [esp + 0x18c]
push 0
push eax
fstp dword [esp + 0x194]
fild dword [esp + 0xb4]
fmul dword [0x848fbc]
fstp dword [esp + 0x198]
fild dword [esp + 0xac]
fmul dword [0x848fbc]
fstp dword [esp + 0x1bc]
fild dword [esp + 0xb8]
fmul dword [0x848fbc]
fstp dword [esp + 0x1c0]
fild dword [esp + 0xb0]
fmul dword [0x848fbc]
fstp dword [esp + 0x1e4]
fild dword [esp + 0xbc]
fmul dword [0x848fbc]
fstp dword [esp + 0x1e8]
fild dword [esp + 0xc0]
fmul dword [0x848fbc]
fstp dword [esp + 0x11c]
fild dword [esp + 0xcc]
fmul dword [0x848fbc]
fstp dword [esp + 0x120]
fild dword [esp + 0xc4]
fmul dword [0x848fbc]
fstp dword [esp + 0x144]
fild dword [esp + 0xd0]
fmul dword [0x848fbc]
fstp dword [esp + 0x148]
fild dword [esp + 0xc8]
fmul dword [0x848fbc]
fstp dword [esp + 0x16c]
fild dword [esp + 0xd4]
fmul dword [0x848fbc]
fstp dword [esp + 0x170]
call fcn.004a3470
push 1
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x19c]
push 0
push edx
call fcn.004a3470
fstp dword [esp + 0x3c]
push 0
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x1ac]
push 1
push ecx
call fcn.004a3470
fstp dword [esp + 0x7c]
push 1
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x1bc]
push 1
push eax
call fcn.004a3470
fstp dword [esp + 0x54]
mov eax, dword [0x8aed88]
add esp, 0x40
cmp eax, 0xffffffff
jne 0x4c0154
fld dword [esp + 0x18]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x4c0135
mov ecx, dword [esp + 0x208]
mov edx, dword [esp + 0x20c]
mov dword [ecx], 0
mov dword [edx], 0
jmp 0x4c01f1
mov eax, dword [esp + 0x208]
mov ecx, dword [esp + 0x20c]
mov dword [eax], 0
mov dword [ecx], 1
jmp 0x4c01f1
test eax, eax
jne 0x4c01b1
mov eax, dword [esp + 0x208]
mov edx, dword [0x8aed80]
mov dword [eax], edx
mov eax, dword [0x8aed80]
test eax, eax
jne 0x4c018e
fld dword [esp + 0x18]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
je 0x4c01a2
mov edx, dword [esp + 0x20c]
mov dword [edx], 1
jmp 0x4c01f1
cmp eax, 1
jne 0x4c017f
fld dword [esp + 0x4c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4c017f
mov ecx, dword [esp + 0x20c]
mov dword [ecx], 0
jmp 0x4c01f1
cmp eax, 1
jne 0x4c01f1
mov eax, dword [0x8aed84]
mov ecx, dword [esp + 0x20c]
mov dword [ecx], eax
mov eax, dword [0x8aed84]
test eax, eax
jne 0x4c029c
fld dword [esp + 0x18]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 0x41
je 0x4c02b8
mov eax, dword [esp + 0x208]
mov dword [eax], 1
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4c0241
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x4c0241
test edi, edi
je 0x4c0241
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x4c0225
dec dword [esi]
jne 0x4c0225
test esi, esi
je 0x4c0225
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 0x4c0238
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c0291
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x4c0291
test edi, edi
je 0x4c0291
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x4c0275
dec dword [esi]
jne 0x4c0275
test esi, esi
je 0x4c0275
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 0x4c0288
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1ec
ret
cmp eax, 1
jne 0x4c01e4
fld dword [esp + 0x1c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4c01e4
mov edx, dword [esp + 0x208]
mov dword [edx], 0
jmp 0x4c01f1