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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4112
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1e8
mov eax, dword [0x100b9040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x144]
push 0x30
push 0
push eax
mov dword [ebp - 0x20], esi
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0
add esp, 0xc
cmp dword [esi + 4], 0
movups xmmword [ebp - 0x168], xmm0
movups xmmword [ebp - 0x158], xmm0
je 0x1007fc7d
cmp dword [0x1012e19c], 1
je 0x1007fc7d
mov edi, dword [esi]
test edi, edi
je 0x1007fc7d
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1007fc7d
mov eax, dword [0x101318ec]
add eax, 0xffffffca
xor eax, 0x650ccae6
cmp dword [eax + edi], 0
je 0x1007f3ab
mov esi, dword [0x100aa974]
lea ecx, [ebp - 0x190]
push 0x20
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
push str.missed_shot_due_to_player_death_n
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x17c], 0
call fcn.10020c90
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0x41000000
push eax
lea edx, [ebp - 0x190]
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x198]
call fcn.100264d0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, dword [0x1013186c]
cmp ecx, dword [0x10131870]
je 0x1007f314
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013186c], 8
jmp 0x1007f31b
push edx
push ecx
call fcn.10026a10
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x194]
test edi, edi
je 0x1007f34a
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1007f34a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x1007f34a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x190]
mov ecx, esp
push eax
call fcn.10026230
push 0x10136d60
call fcn.10031a30
mov ecx, dword [ebp - 0x17c]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x1007fc7d
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f39c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007fa27
push ecx
push edx
call fcn.1009b20b
add esp, 8
jmp 0x1007fc7d
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x1970
lea esi, [eax + 0x100b7810]
test esi, esi
je 0x1007fc7d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp dword [eax + 0x3e8], 0
je 0x1007fc7d
mov eax, dword [0x101318a8]
mov ecx, edi
add eax, 0xffffffdb
xor eax, 0x650ccad5
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
movq qword [ebp - 0x3c], xmm0
mov eax, dword [eax + 0x28]
call eax
mov ecx, edi
movq xmm0, qword [eax]
movq qword [ebp - 0x6c], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [0x101318a8]
add ecx, 0xffffffdb
xor ecx, 0x650ccad5
movq xmm0, qword [eax]
movq qword [ebp - 0x78], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [0x101318b4]
add eax, 0xffffffd8
xor eax, 0x650ccad8
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [0x101318b8]
add eax, 0xffffffd7
movq qword [ebp - 0x48], xmm0
xor eax, 0x650ccad9
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x101319a8]
add eax, 0xffffff9b
movq qword [ebp - 0x54], xmm0
xor eax, 0x650ccb15
mov eax, dword [eax + edi]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 4]
mov eax, dword [edx + 0x3f0]
mov dword [ecx + edi], eax
mov eax, dword [edx + 0x3f4]
mov dword [ecx + edi + 4], eax
mov eax, dword [edx + 0x3f8]
mov dword [ecx + edi + 8], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [0x101317b4]
add ecx, 0x3f0
push ecx
mov ecx, edi
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [0x101317b0]
add ecx, 0x78
push ecx
mov ecx, edi
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x101318b4]
add ecx, 0xffffffd8
xor ecx, 0x650ccad8
mov edx, dword [eax + 4]
mov eax, dword [edx + 0x54]
mov dword [ecx + edi], eax
mov eax, dword [edx + 0x58]
mov dword [ecx + edi + 4], eax
mov eax, dword [edx + 0x5c]
mov dword [ecx + edi + 8], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x101318b8]
mov edx, dword [eax + 4]
mov eax, dword [edx + 0x60]
add ecx, 0xffffffd7
xor ecx, 0x650ccad9
mov dword [ecx + edi], eax
mov eax, dword [edx + 0x64]
mov dword [ecx + edi + 4], eax
mov eax, dword [edx + 0x68]
mov edx, dword [ebp - 0x20]
mov dword [ecx + edi + 8], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x3e8]
mov eax, dword [0x101319a8]
add eax, 0xffffff9b
xor eax, 0x650ccb15
mov dword [eax + edi], ecx
movss xmm6, dword [edx + 0x18]
movss xmm7, dword [edx + 0x1c]
movss xmm5, dword [edx + 0x24]
movss xmm4, dword [edx + 0x28]
subss xmm5, xmm6
movss xmm0, dword [edx + 0x20]
subss xmm4, xmm7
movss xmm3, dword [edx + 0x2c]
subss xmm3, xmm0
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x30], xmm6
movaps xmm1, xmm5
movss dword [ebp - 0x2c], xmm7
movaps xmm0, xmm4
mulss xmm1, xmm5
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.10019ce0
addss xmm0, dword [0x100aefb0]
movss xmm1, dword [0x100af0a0]
movaps xmm2, xmm6
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x1ab], 1
divss xmm1, xmm0
movss xmm0, dword [edx + 0x14]
mulss xmm5, xmm1
mulss xmm4, xmm1
mulss xmm3, xmm1
movaps xmm1, xmm7
mulss xmm5, xmm0
mulss xmm4, xmm0
mulss xmm3, xmm0
addss xmm2, xmm5
movss xmm0, dword [edx + 0x20]
addss xmm1, xmm4
movss dword [ebp - 0x190], xmm5
addss xmm0, xmm3
movss dword [ebp - 0x18c], xmm4
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x188], xmm3
movaps xmm2, xmmword [ebp - 0x190]
movss dword [ebp - 0x5c], xmm1
movaps xmm1, xmm2
shufps xmm1, xmm2, 0x55
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
mulss xmm1, xmm1
movaps xmmword [ebp - 0x1e0], xmm2
shufps xmm2, xmm2, 0xaa
addss xmm1, xmm0
mulss xmm2, xmm2
xorps xmm0, xmm0
addss xmm1, xmm2
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1007f664
mov byte [ebp - 0x1ab], 0
movss xmm0, dword [edx + 0x20]
lea edx, [ebp - 0x168]
mov ecx, dword [0x10131680]
push edx
mov dword [ebp - 0x1b0], 0
lea edx, [ebp - 0x1f0]
mov byte [ebp - 0x1ac], 1
movss dword [ebp - 0x1f0], xmm6
movss dword [ebp - 0x1ec], xmm7
movss dword [ebp - 0x1e8], xmm0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c0], 0
mov eax, dword [ecx]
push edi
push 0x4600400b
push edx
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x60]
push dword [eax + 0x50]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push dword [eax + 4]
call fcn.1001ec60
test al, al
je 0x1007fa2d
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x410]
dec eax
cmp eax, 0x23
ja case.0x1007f734.4
movzx eax, byte [eax + 0x1007fe3c]
jmp dword [eax*4 + 0x1007fdf0]
inc dword [esi + 0xec]
jmp case.0x1007f734.4
inc dword [esi + 0xe4]
jmp case.0x1007f734.4
inc dword [esi + 0xd4]
jmp case.0x1007f734.4
inc dword [esi + 0xd0]
jmp case.0x1007f734.4
inc dword [esi + 0xdc]
jmp case.0x1007f734.4
inc dword [esi + 0xe0]
jmp case.0x1007f734.4
inc dword [esi + 0x74]
jmp case.0x1007f734.4
inc dword [esi + 0x6c]
jmp case.0x1007f734.4
inc dword [esi + 0xb8]
jmp case.0x1007f734.4
inc dword [esi + 0xa8]
jmp case.0x1007f734.4
inc dword [esi + 0xb0]
jmp case.0x1007f734.4
inc dword [esi + 0xb4]
jmp case.0x1007f734.4
inc dword [esi + 0xa0]
jmp case.0x1007f734.4
inc dword [esi + 0x9c]
jmp case.0x1007f734.4
inc dword [esi + 0xc0]
jmp case.0x1007f734.4
inc dword [esi + 0x70]
jmp case.0x1007f734.4
inc dword [esi + 0xe8]
jmp case.0x1007f734.4
inc dword [esi + 0x58]
inc dword [esi + 0x54]
mov eax, dword [ecx + 4]
mov esi, dword [0x100aa974]
push 0x98
push 0
lea ecx, [eax + 0x8c]
add eax, 0x410
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x18], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x110]
call fcn.10026180
lea eax, [ebp - 0x1c4]
mov dword [ebp - 4], 2
mov dword [ebp - 0x1cc], eax
mov ecx, 3
mov dword [ebp - 0x1c8], 3
lea eax, [ebp - 0x1bc]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x1007f823
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x110]
push dword [ebp - 0x1c8]
mov dword [ebp - 0x30], eax
mov edx, str.missed_shot_due_to_fake_angles___s:_s___hc:__i_n
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x1cc]
mov dword [ebp - 0x2c], 0x10080750
movq xmm0, qword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
movq qword [ebp - 0x1c4], xmm0
add eax, 0x58
mov dword [ebp - 0x2c], 0x100330f0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x10033320
movq xmm0, qword [ebp - 0x30]
mov dword [ebp - 0x1bc], 0x10033340
mov dword [ebp - 0x1b0], fcn.10026c40
movq qword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x1a4], 0x10033340
call fcn.10023cc0
add esp, 8
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x10c]
push eax
call fcn.100263f0
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x110], 0x100a98a4
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x114], eax
lea ecx, [ebp - 0x10c]
call fcn.100201b0
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
lea edx, [ebp - 0x190]
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x24]
call fcn.100264d0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 4
mov ecx, dword [0x1013186c]
cmp ecx, dword [0x10131870]
je 0x1007f995
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013186c], 8
jmp 0x1007f99c
push edx
push ecx
call fcn.10026a10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1007f9ca
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1007f9ca
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x1007f9ca
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x190]
mov ecx, esp
push eax
call fcn.10026230
push 0x10136d60
call fcn.10031a30
mov dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x1007fbc6
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007fbbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007fbbc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x20]
movss xmm2, dword [eax + 0x3c]
movss xmm0, dword [eax + 0x40]
subss xmm0, dword [eax + 0x1c]
subss xmm2, dword [eax + 0x18]
movss xmm4, dword [eax + 0x24]
movss xmm3, dword [eax + 0x28]
subss xmm4, dword [eax + 0x18]
subss xmm3, dword [eax + 0x1c]
mulss xmm0, xmm0
mulss xmm2, xmm2
addss xmm0, xmm2
call fcn.10019ce0
mulss xmm3, xmm3
movaps xmm1, xmm0
subss xmm1, dword [0x100af1b0]
mulss xmm4, xmm4
addss xmm3, xmm4
movaps xmm0, xmm3
call fcn.10019ce0
mov esi, dword [0x100aa974]
lea ecx, [ebp - 0x190]
comiss xmm1, xmm0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x190], xmm0
jbe 0x1007fc9d
push 0x1d
push str.missed_shot_due_to_occlusion_n
call fcn.10020c90
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
lea edx, [ebp - 0x190]
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x24]
call fcn.100264d0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 6
mov ecx, dword [0x1013186c]
cmp ecx, dword [0x10131870]
je 0x1007fb32
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013186c], 8
jmp 0x1007fb39
push edx
push ecx
call fcn.10026a10
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1007fb67
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1007fb67
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x1007fb67
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x190]
mov ecx, esp
push eax
call fcn.10026230
push 0x10136d60
call fcn.10031a30
mov dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x1007fbc6
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007fbbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007fa27
push ecx
push edx
call fcn.1009b20b
add esp, 8
mov eax, dword [0x101318a8]
lea ecx, [ebp - 0x6c]
movss xmm0, dword [ebp - 0x3c]
add eax, 0xffffffdb
xor eax, 0x650ccad5
push ecx
mov ecx, edi
movss dword [eax + edi], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [eax + edi + 4], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + edi + 8], xmm0
mov eax, dword [0x101317b4]
call eax
mov eax, dword [0x101317b0]
lea ecx, [ebp - 0x78]
push ecx
mov ecx, edi
call eax
mov eax, dword [0x101318b4]
movss xmm0, dword [ebp - 0x48]
add eax, 0xffffffd8
xor eax, 0x650ccad8
mov ecx, dword [ebp - 0x194]
movss dword [eax + edi], xmm0
movss xmm0, dword [ebp - 0x44]
movss dword [eax + edi + 4], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [eax + edi + 8], xmm0
mov eax, dword [0x101318b8]
movss xmm0, dword [ebp - 0x54]
add eax, 0xffffffd7
xor eax, 0x650ccad9
movss dword [eax + edi], xmm0
movss xmm0, dword [ebp - 0x50]
movss dword [eax + edi + 4], xmm0
movss xmm0, dword [ebp - 0x4c]
movss dword [eax + edi + 8], xmm0
mov eax, dword [0x101319a8]
add eax, 0xffffff9b
xor eax, 0x650ccb15
mov dword [eax + edi], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1009acac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
cmp dword [eax + 0x58], 0x64
jne 0x1007fd35
push 0x24
push str.missed_shot_due_to_prediction_error_n
call fcn.10020c90
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
lea edx, [ebp - 0x190]
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x24]
call fcn.100264d0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 8
mov ecx, dword [0x1013186c]
cmp ecx, dword [0x10131870]
je 0x1007fd25
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013186c], 8
mov byte [ebp - 4], 7
jmp 0x1007fb3d
push edx
push ecx
call fcn.10026a10
mov byte [ebp - 4], 7
jmp 0x1007fb3d
push 0x1a
push str.missed_shot_due_to_spread_n
call fcn.10020c90
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
lea edx, [ebp - 0x190]
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x24]
call fcn.100264d0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [0x1013186c]
cmp ecx, dword [0x10131870]
je 0x1007fdac
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013186c], 8
jmp 0x1007fdb3
push edx
push ecx
call fcn.10026a10
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1007f9ca
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1007f9ca
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x1007f9ca
jmp 0x1007f9c5