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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0xbc
mov ebp, dword [ebx + 0x24]
mov esi, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x14]
mov edi, esi
mov esi, dword [esp + 0xd0]
sub edi, eax
mov dword [esp + 0x24], eax
sub ebp, dword [esp + 0x24]
sar edi, 2
sub edi, 1
shl edi, 5
mov eax, edi
mov edi, dword [esi]
sub edi, dword [esi + 4]
sar edi, 4
mov esi, dword [ecx + 0x10]
add edi, eax
mov eax, dword [ecx + 8]
mov edx, esi
mov dword [esp + 0x20], esi
sub edx, eax
mov dword [esp + 0x28], eax
mov eax, ebp
sar edx, 4
sar eax, 2
lea ecx, [edi + edx]
sub eax, 1
mov dword [esp + 0x30], ecx
mov esi, ecx
mov ecx, dword [ebx + 0x18]
shl eax, 5
mov ebp, ecx
sub ebp, dword [ebx + 0x1c]
sar ebp, 4
add eax, ebp
add edx, eax
mov dword [esp + 0x34], eax
shr edx, 1
cmp edx, esi
jbe 0x9196d9
mov eax, dword [ebx + 0xc]
mov ecx, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0xdc], eax
ja 0x919a41
sub eax, dword [esp + 0xdc]
js 0x919a11
cmp eax, 0x1f
jle 0x919a91
mov edx, eax
sar edx, 5
mov esi, dword [esp + 0x24]
lea ecx, [esi + edx*4]
shl edx, 5
mov edi, dword [ecx]
sub eax, edx
mov dword [esp + 0x34], ecx
shl eax, 4
lea esi, [edi + 0x200]
add eax, edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], eax
mov ebp, dword [esp + 0x30]
lea edi, [ebx + 8]
lea ecx, [esp + 0xa0]
mov dword [esp], edi
mov dword [esp + 4], ebp
call fcn.008856d1
sub esp, 8
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xd0]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [esp + 0x48], eax
mov eax, edx
mov edx, dword [esp + 0xa8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0xac]
mov dword [esi + 0xc], eax
cmp ebp, dword [esp + 0xdc]
jge 0x919d79
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x98], edx
lea edx, [esp + 0x90]
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xa4], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xa8], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x70]
mov edi, dword [esp + 0xdc]
mov dword [esp + 8], edx
lea edx, [esp + 0x80]
sub edi, dword [esp + 0x30]
mov dword [esp + 0xac], esi
mov esi, dword [esp + 0x48]
shl edi, 4
mov dword [esp], eax
add edi, dword [esp + 0xd4]
mov dword [esp + 4], edx
mov dword [esp + 0x90], esi
lea esi, [esp + 0xa0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
call fcn.0095bff1
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
cmp edi, dword [esp + 0xd4]
je 0x919624
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ecx
jmp 0x9195d0
add edx, 0x10
cmp edi, edx
je 0x91961c
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
test ecx, ecx
je 0x9195fc
mov ebx, dword [0x966d90]
test ebx, ebx
jne 0x9199b9
add dword [ecx + 4], 1
add eax, 0x10
cmp eax, dword [esp + 0x28]
jne 0x9195c9
mov eax, dword [ebp + 4]
add edx, 0x10
add ebp, 4
lea ebx, [eax + 0x200]
mov dword [esp + 0x28], ebx
cmp edi, edx
jne 0x9195d0
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0xd8]
sub eax, edi
mov ebx, eax
sar ebx, 4
test eax, eax
jle 0x9196c6
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
jmp 0x919668
sub dword [esp + 0x24], 1
je 0x9196c6
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ebx, dword [edi + 0xc]
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], edx
mov edx, dword [edi + 8]
mov dword [esi], eax
mov dword [esi + 8], edx
cmp ebx, ecx
je 0x9196a3
test ebx, ebx
je 0x919697
mov eax, dword [0x966d90]
test eax, eax
jne 0x9199d9
add dword [ebx + 4], 1
test ecx, ecx
je 0x9196a0
call fcn.009038d1
mov dword [esi + 0xc], ebx
add edi, 0x10
add esi, 0x10
cmp dword [esp + 0x20], esi
jne 0x919661
mov esi, dword [ebp + 4]
add ebp, 4
sub dword [esp + 0x24], 1
lea eax, [esi + 0x200]
mov dword [esp + 0x20], eax
jne 0x919668
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebx + 0x20]
sub eax, ecx
sar eax, 4
sub eax, 1
cmp dword [esp + 0xdc], eax
ja 0x919a21
mov eax, dword [esp + 0xdc]
lea esi, [ebx + 0x18]
lea ecx, [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.008856d1
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
sub esp, 8
mov ecx, dword [ebx + 0x18]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, edx
mov dword [esp + 0x3c], ecx
sub eax, edi
sub edi, edx
mov edx, ecx
mov dword [esp + 0x40], ebp
sub edx, ebp
sar edx, 4
add edx, edi
js 0x9199f9
cmp edx, 0x1f
jle 0x919ac9
mov ecx, edx
sar ecx, 5
mov edi, dword [esp + 0x20]
lea edi, [edi + ecx*4]
shl ecx, 5
mov dword [esp + 0x28], edi
sub edx, ecx
mov edi, dword [edi]
shl edx, 4
lea ebp, [edi + 0x200]
add edx, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0x34]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 0xc], ecx
cmp eax, dword [esp + 0xdc]
jg 0x919af1
mov edx, dword [esp + 0xd4]
shl eax, 4
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x20]
mov esi, dword [ebx + 0x24]
mov dword [esp + 0x48], eax
add edx, eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], esi
cmp edx, dword [esp + 0xd8]
je 0x91a041
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x4c], ebx
jmp 0x9197fd
add edx, 0x10
cmp dword [esp + 0xd8], edx
je 0x91984c
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
test ecx, ecx
je 0x919829
mov ebx, dword [0x966d90]
test ebx, ebx
jne 0x9199c9
add dword [ecx + 4], 1
add eax, 0x10
cmp eax, edi
jne 0x9197f1
mov eax, dword [esi + 4]
add edx, 0x10
add esi, 4
mov dword [esp + 0x20], eax
lea edi, [eax + 0x200]
cmp dword [esp + 0xd8], edx
jne 0x9197fd
mov dword [esp + 0x2c], ebp
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xa0]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x90]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], edx
lea edx, [esp + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa8], edi
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xac], esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.0095bff1
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0xd0]
mov edi, dword [eax]
mov ebx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x48]
mov ecx, eax
sar ecx, 4
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x9196c6
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x2c]
jmp 0x91995c
sub dword [esp + 0x24], 1
je 0x9196c6
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov dword [edi + 4], edx
mov edx, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 8], edx
cmp ebx, ecx
je 0x919994
test ebx, ebx
je 0x919988
mov eax, dword [0x966d90]
test eax, eax
jne 0x9199e9
add dword [ebx + 4], 1
test ecx, ecx
je 0x919991
call fcn.009038d1
mov dword [edi + 0xc], ebx
add ebp, 0x10
add edi, 0x10
cmp dword [esp + 0x20], edi
jne 0x919951
mov edi, dword [esi + 4]
add esi, 4
lea eax, [edi + 0x200]
mov dword [esp + 0x20], eax
jmp 0x919951
lock add dword [ecx + 4], 1
jmp 0x9195fc
lock add dword [ecx + 4], 1
jmp 0x919829
lock add dword [ebx + 4], 1
mov ecx, dword [esi + 0xc]
jmp 0x919697
lock add dword [ebx + 4], 1
mov ecx, dword [edi + 0xc]
jmp 0x919988
mov ecx, edx
shr ecx, 5
or ecx, 0xf8000000
jmp 0x919751
mov edx, eax
shr edx, 5
or edx, 0xf8000000
jmp 0x919450
mov esi, dword [esp + 0xdc]
mov ecx, ebx
sub esi, eax
mov dword [esp], esi
call fcn.0091a901
sub esp, 4
jmp 0x9196f1
mov esi, dword [esp + 0xdc]
mov ecx, ebx
sub esi, eax
mov dword [esp], esi
call fcn.0091aad1
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
sub esp, 4
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x44], edx
sar eax, 4
sub eax, dword [esp + 0xdc]
jns 0x919442
jmp 0x919a11
mov eax, dword [esp + 0xdc]
mov esi, dword [esp + 0x28]
shl eax, 4
sub esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
jmp 0x919479
shl edi, 4
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
add edi, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ecx
jmp 0x91977a
mov eax, dword [esp + 0xdc]
mov dword [esp], esi
lea ecx, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00885651
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 0x18]
sub esp, 8
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x9c], eax
lea edi, [esp + 0x80]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x90], esi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x98], edx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], esi
lea esi, [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x88], edx
lea edx, [esp + 0x90]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0x94], ecx
mov dword [esp + 0x84], ecx
call fcn.0095bff1
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x90]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0xc]
lea eax, [esp + 0xa0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call fcn.00956881
mov eax, dword [esp + 0xd0]
mov ebx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xd8]
sub eax, dword [esp + 0xd4]
mov edx, eax
sar edx, 4
test eax, eax
jle 0x9196c6
mov ebp, dword [esp + 0x2c]
jmp 0x919caa
sub edx, 1
je 0x9196c6
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov eax, dword [ebp + 8]
mov dword [ebx], esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 4], edi
mov edi, dword [ebx + 0xc]
mov dword [ebx + 8], eax
cmp esi, edi
je 0x919ceb
test esi, esi
je 0x919d19
mov eax, dword [0x966d90]
test eax, eax
jne 0x919d11
add dword [esi + 4], 1
test edi, edi
je 0x919ce8
mov eax, dword [edi + 4]
lea ecx, [eax - 1]
mov dword [edi + 4], ecx
cmp eax, 1
je 0x919d35
mov dword [ebx + 0xc], esi
add ebp, 0x10
add ebx, 0x10
cmp dword [esp + 0x20], ebx
jne 0x919ca1
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 4]
add eax, 4
mov dword [esp + 0x24], eax
lea esi, [ebx + 0x200]
mov dword [esp + 0x20], esi
jmp 0x919ca1
lock add dword [esi + 4], 1
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x919ce8
mov eax, dword [0x966d90]
test eax, eax
je 0x919cda
mov eax, 0xffffffff
lock xadd dword [edi + 4], eax
cmp eax, 1
jne 0x919ce8
mov eax, dword [edi]
mov dword [esp + 0x28], edx
mov ecx, edi
call dword [eax + 8]
mov eax, dword [0x966d90]
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x91a021
mov eax, dword [edi + 8]
lea ecx, [eax - 1]
mov dword [edi + 8], ecx
cmp eax, 1
jne 0x919ce8
mov eax, dword [edi]
mov dword [esp + 0x28], edx
mov ecx, edi
call dword [eax + 0xc]
mov edx, dword [esp + 0x28]
jmp 0x919ce8
mov eax, dword [esp + 0xdc]
mov dword [esp], edi
lea ecx, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.008856d1
sub esp, 8
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xa0]
lea edi, [esp + 0x70]
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x9c], edx
lea edx, [esp + 0x80]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x90], esi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
call fcn.0095bff1
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ebp
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x14], edx
lea edx, [esp + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x88], ecx
mov ecx, dword [eax + 0xc]
lea eax, [esp + 0x90]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x7c], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0095e0e1
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.00885651
sub esp, 8
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xd8]
sub eax, dword [esp + 0xd4]
mov edx, eax
sar edx, 4
test eax, eax
jle 0x9196c6
mov ebp, dword [esp + 0x2c]
jmp 0x919f5a
sub edx, 1
je 0x9196c6
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov eax, dword [ebp + 8]
mov dword [ebx], esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 4], edi
mov edi, dword [ebx + 0xc]
mov dword [ebx + 8], eax
cmp esi, edi
je 0x919f9b
test esi, esi
je 0x919fc9
mov eax, dword [0x966d90]
test eax, eax
jne 0x919fc1
add dword [esi + 4], 1
test edi, edi
je 0x919f98
mov eax, dword [edi + 4]
lea ecx, [eax - 1]
mov dword [edi + 4], ecx
cmp eax, 1
je 0x919fe5
mov dword [ebx + 0xc], esi
add ebp, 0x10
add ebx, 0x10
cmp ebx, dword [esp + 0x20]
jne 0x919f51
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 4]
add eax, 4
mov dword [esp + 0x24], eax
lea esi, [ebx + 0x200]
mov dword [esp + 0x20], esi
jmp 0x919f51
lock add dword [esi + 4], 1
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x919f98
mov eax, dword [0x966d90]
test eax, eax
je 0x919f8a
mov eax, 0xffffffff
lock xadd dword [edi + 4], eax
cmp eax, 1
jne 0x919f98
mov eax, dword [edi]
mov dword [esp + 0x28], edx
mov ecx, edi
call dword [eax + 8]
mov eax, dword [0x966d90]
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x91a031
mov eax, dword [edi + 8]
lea ecx, [eax - 1]
mov dword [edi + 8], ecx
cmp eax, 1
jne 0x919f98
mov eax, dword [edi]
mov dword [esp + 0x28], edx
mov ecx, edi
call dword [eax + 0xc]
mov edx, dword [esp + 0x28]
jmp 0x919f98
mov eax, 0xffffffff
lock xadd dword [edi + 8], eax
jmp 0x919d5a
mov eax, 0xffffffff
lock xadd dword [edi + 8], eax
jmp 0x91a006
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
jmp 0x919854