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

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x70]
push ebx
push ebp
push esi
mov dword [eax], 0
mov eax, dword [esp + 0x68]
push edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x54], 0
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edx
mov ecx, dword [edi + 0x78]
cmp dword [edx + 0x54], 0
mov dword [esp + 0x34], ecx
je 0x1010919f
cmp dword [esp + 0x78], 0
mov dword [esp + 0x44], 1
jne 0x101091a7
mov dword [esp + 0x44], 0
mov ecx, dword [ecx + 0x18]
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
je 0x101091bb
mov dword [esp + 0x60], edx
jmp 0x101091c4
mov eax, edx
sub eax, dword [ecx + 0x14]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x7c]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x1c], ebx
xor ebp, ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
test cl, 2
je 0x10109251
mov eax, dword [esp + 0x6c]
test byte [eax + 0xb0], 0x10
je 0x1010922c
push eax
call fcn.100eef60
push eax
push str._s:_dirty_flag_set_for_readonly_file_page
push edi
call fcn.100d0920
add esp, 0x10
lea eax, [ebp + 0x16]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push 4
push 2
push ecx
push str.DB_MPOOLFILE__get
push edi
call fcn.100d0a50
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010ac09
mov ecx, dword [esp + 0x7c]
mov eax, ecx
and ecx, 0xfffffff9
and eax, 0xe
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x44], esi
je 0x10109313
mov eax, dword [esp + 0x78]
test eax, eax
je 0x10109313
cmp dword [eax + 0x18], esi
je 0x10109313
mov eax, dword [eax + 4]
test eax, eax
je 0x10109296
mov esi, eax
mov dword [esp + 0x78], esi
mov eax, dword [esi + 4]
test eax, eax
jne 0x10109287
xor esi, esi
mov eax, dword [esp + 0x78]
test dword [eax + 0x80], 0x1000
mov edx, dword [eax + 0x18]
mov dword [esp + 0x5c], edx
je 0x101092e4
cmp dword [edx + 0x30], 0xffffffff
lea eax, [edx + 0x30]
mov dword [esp + 0x58], eax
jne 0x101092e4
cmp dword [eax + 4], 0xffffffff
jne 0x101092e4
push 0
push 0
push eax
push edi
call fcn.10124120
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aacd
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x4c], ebp
jne 0x101092ef
test cl, 0x21
je 0x10109313
cmp dword [edx + 0x40], ebp
lea eax, [edx + 0x40]
jne 0x10109313
push eax
push 0
push 0x20
push edi
call fcn.101337a0
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aacd
mov ecx, dword [esp + 0x7c]
cmp ecx, 0x10
je 0x10109366
cmp ecx, 0x20
je 0x1010a04e
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov edx, dword [edx + 0x4c]
test edx, edx
je 0x101093a5
test byte [ebx + 0xa4], 1
je 0x101093a5
mov ecx, dword [esi]
cmp ecx, dword [ebx + 0x14]
ja 0x101093a5
mov eax, dword [ebx + 0x5c]
imul eax, ecx
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
add eax, edx
mov dword [ecx], eax
inc dword [ebx + 0x60]
xor eax, eax
pop ebx
add esp, 0x58
ret
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x10109382
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
mov esi, dword [esp + 0x70]
mov eax, dword [ebx + 0xc]
mov dword [esi], eax
mov eax, dword [ebx]
test eax, eax
je 0x1010932d
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
jmp 0x1010932d
mov eax, dword [edi + 0x78]
mov ecx, dword [eax + 0x18]
mov edi, dword [ecx + 0x18]
cmp dword [edi + 0x10], 1
jne 0x10109456
mov dword [esp + 0x2c], ecx
mov esi, ebx
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
jne 0x101093cc
sub esi, dword [ecx + 0x14]
mov eax, dword [edi + 0x28]
mov edx, 1
cmp eax, edx
jbe 0x101093e1
add edx, edx
or edx, 1
cmp edx, eax
jb 0x101093d8
mov eax, dword [esp + 0x70]
imul esi, esi, 0x1fd
mov ecx, dword [eax]
mov eax, ecx
shl eax, 8
xor esi, eax
xor esi, ecx
and esi, edx
mov dword [esp + 0x48], esi
cmp esi, dword [edi + 0x28]
jb 0x1010940b
shr edx, 1
and edx, esi
mov dword [esp + 0x48], edx
mov esi, edx
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test byte [eax + 0x9c], 0x40
je 0x1010941f
mov ecx, dword [edi + 0x34]
jmp 0x10109429
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
add ecx, dword [edi + 0x34]
mov ebx, dword [esp + 0x10]
imul eax, esi, 0x2c
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [eax]
test eax, eax
je 0x1010944e
push eax
push ebx
call fcn.100dc2b0
add esp, 8
test eax, eax
jne 0x1010ab71
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x10109481
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esi]
push ebx
mov ebx, dword [esp + 0x24]
push ebx
call fcn.10126df0
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1010ac09
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, dword [esp + 0x70]
mov dword [esp + 0x30], 1
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x1010979e
mov esi, eax
add esi, 4
add esi, ecx
mov dword [esp + 0x20], esi
je 0x101097a4
mov ecx, dword [edx]
nop dword [eax]
inc edi
cmp dword [esi + 0x18], ecx
jne 0x101094cf
mov eax, dword [esp + 0x60]
cmp dword [esi + 0x1c], eax
je 0x101094e8
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x1010979e
add esi, eax
mov dword [esp + 0x20], esi
jne 0x101094c0
jmp 0x101097a4
cmp dword [esp + 0x58], 0
je 0x10109588
cmp dword [esp + 0x78], 0
je 0x1010951f
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1010951f
mov edx, dword [ebx + 0x84]
mov eax, dword [edx + 0x14]
test byte [eax + 0x9c], 0x40
jne 0x10109516
add ecx, dword [edx + 0x28]
mov edx, dword [esp + 0x78]
cmp dword [edx + 0x18], ecx
je 0x1010958c
mov edx, dword [esi + 0x28]
test edx, edx
je 0x10109588
mov esi, dword [ebx + 0x84]
mov eax, dword [esi + 0x14]
test byte [eax + 0x9c], 0x40
je 0x1010953d
mov eax, dword [edx + 0x38]
jmp 0x10109548
mov ecx, dword [esi + 0x28]
add ecx, edx
add edx, dword [esi + 0x28]
mov eax, dword [ecx + 0x38]
mov esi, dword [esp + 0x58]
mov ecx, dword [edx + 0x3c]
cmp dword [esi], eax
jne 0x10109558
cmp dword [esi + 4], ecx
je 0x10109584
mov esi, dword [esp + 0x20]
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jns 0x10109588
mov eax, dword [esi + 0x30]
cmp eax, 0xffffffff
je 0x1010957a
add esi, eax
mov dword [esp + 0x20], esi
jne 0x101094f3
mov ebx, 0xffff86f6
jmp 0x1010aa8e
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
cmp dword [esp + 0x44], 0
je 0x101095cd
cmp dword [esp + 0x4c], 0
je 0x101095cd
test edx, edx
je 0x101095c3
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x101095c3
mov edx, dword [ebx + 0x84]
mov eax, dword [edx + 0x14]
test byte [eax + 0x9c], 0x40
jne 0x101095ba
add ecx, dword [edx + 0x28]
mov eax, dword [esp + 0x78]
cmp dword [eax + 0x18], ecx
je 0x101095cd
mov dword [esp + 0x28], 1
jmp 0x101095d5
mov dword [esp + 0x28], 0
cmp dword [esi + 4], 0xffff
lea eax, [esi + 4]
je 0x1010a921
lock inc dword [eax]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], 1
mov eax, dword [eax]
test eax, eax
je 0x1010960c
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x30], 0
jne 0x10109684
cmp dword [esp + 0x38], 0
jne 0x10109684
cmp dword [esp + 0x28], 0
jne 0x10109684
add esi, 8
test byte [esi], 0x40
jne 0x10109680
test byte [esp + 0x7c], 0x40
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
je 0x10109668
test eax, eax
je 0x10109660
push eax
push ebx
call fcn.100dc590
mov ebx, eax
add esp, 8
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa45
mov ebx, dword [esp + 0x10]
jmp 0x101096d2
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x101096d2
test eax, eax
je 0x101096d2
push eax
push ebx
call fcn.100dc2b0
add esp, 8
test eax, eax
jne 0x1010ab71
jmp 0x101096d2
mov esi, dword [esp + 0x20]
test byte [esp + 0x7c], 0x40
mov eax, dword [esi]
je 0x101096b5
test eax, eax
jne 0x10109697
mov dword [esp + 0x1c], eax
jmp 0x101096cb
push eax
push ebx
call fcn.100dc570
mov ebx, eax
add esp, 8
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa45
mov ebx, dword [esp + 0x10]
jmp 0x101096cb
test eax, eax
je 0x101096cb
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
add esi, 8
or word [esi], 0x10
movzx ecx, word [esi]
test cl, 0xa0
je 0x10109704
test cl, 0x10
jne 0x10109704
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
test eax, eax
je 0x10109684
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
je 0x10109684
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x58
ret
mov dword [esp + 0x40], 1
test ecx, 0x100
jne 0x1010a6c4
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x10109770
mov eax, dword [eax + esi + 0x28]
cmp eax, dword [esi + 0x28]
je 0x1010973f
cmp dword [esp + 0x4c], 0
jne 0x1010a905
cmp dword [esp + 0x58], 0
jne 0x10109770
lock dec dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0x3c], 0
test eax, eax
je 0x10109763
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov dword [esp + 0x40], 0
jmp 0x1010a8d8
test cl, 0x20
je 0x1010978c
mov eax, dword [esp + 0x7c]
cmp eax, 1
je 0x1010978c
cmp eax, 0x20
je 0x1010978c
cmp eax, 8
jne 0x1010a913
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x70]
add dword [ebx + 0x68], 1
adc dword [ebx + 0x6c], 0
jmp 0x101097a8
xor esi, esi
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
inc dword [eax + 0xc0]
cmp edi, dword [eax + 0xc4]
jbe 0x101097c0
mov dword [eax + 0xc4], edi
add dword [eax + 0xc8], edi
adc dword [eax + 0xcc], 0
test esi, esi
jne 0x101097e3
xor eax, eax
cmp dword [esp + 0x14], eax
setne al
lea eax, [eax*2 + 1]
jmp 0x101097ee
mov eax, dword [esp + 0x14]
neg eax
sbb eax, eax
and eax, 2
jmp dword [eax*4 + 0x1010ac14]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov al, byte [esi + 8]
and al, 0x60
cmp al, 0x40
jne 0x10109c1a
cmp dword [esp + 0x14], 0
je 0x10109c69
test ecx, ecx
jne 0x10109bbe
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10109bbe
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
mov eax, 0x100
test word [esi + 8], ax
jne 0x1010a6a8
push dword [esp + 0x14]
push esi
push dword [esp + 0x20]
push dword [esp + 0x38]
push dword [esp + 0x44]
call fcn.10176430
mov ebx, eax
mov dword [esp + 0x44], 0
add esp, 0x14
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aaad
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], 1
jmp 0x10109c1e
mov ebx, dword [esp + 0x1c]
movzx eax, word [esi + 8]
test al, al
jns 0x10109c52
mov ecx, dword [esp + 0x7c]
cmp ecx, 8
je 0x10109c52
test al, 0x20
jne 0x10109c52
and ecx, 1
push ecx
push esi
push dword [esp + 0x74]
call fcn.10175790
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa45
mov edx, dword [esp + 0x28]
test edx, edx
je 0x1010a5b7
cmp dword [esp + 0x14], 0
jne 0x1010a24b
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
test edx, edx
jne 0x10109c7f
test byte [esi + 8], 0x40
je 0x10109b7e
test eax, eax
jne 0x10109cab
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10109ca3
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], 1
test edx, edx
jne 0x10109cb9
test byte [esi + 8], 0x40
je 0x10109b7e
mov eax, dword [esi + 0x30]
cmp eax, 0xffffffff
je 0x10109ed4
lea ebp, [eax + esi]
mov eax, dword [ebp + 0x30]
cmp eax, 0xffffffff
je 0x10109cda
add ebp, eax
mov eax, dword [ebp + 0x30]
cmp eax, 0xffffffff
jne 0x10109cd0
cmp dword [ebp + 4], 0
jne 0x10109daf
mov edx, dword [ebp + 0x2c]
cmp edx, 0xffffffff
je 0x10109d44
mov edx, dword [edx + ebp + 0x28]
mov edi, dword [esp + 0x10]
test edx, edx
je 0x10109d39
mov esi, dword [edi + 0x84]
mov eax, dword [esi + 0x14]
test byte [eax + 0x9c], 0x40
je 0x10109d0f
mov ecx, dword [edx + 0x38]
jmp 0x10109d1a
mov ecx, dword [esi + 0x28]
add ecx, edx
add edx, dword [esi + 0x28]
mov ecx, dword [ecx + 0x38]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x3c]
cmp dword [eax + 0x20], ecx
jne 0x10109d2b
cmp dword [eax + 0x24], edx
je 0x10109d39
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jns 0x10109d39
xor eax, eax
jmp 0x10109d3e
mov eax, 1
test eax, eax
jne 0x10109dab
jmp 0x10109d8c
mov edx, dword [ebp + 0x28]
test edx, edx
je 0x10109daf
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 0x84]
mov eax, dword [esi + 0x14]
test byte [eax + 0x9c], 0x40
je 0x10109d66
mov ecx, dword [edx + 0x38]
jmp 0x10109d71
mov ecx, dword [esi + 0x28]
add ecx, edx
add edx, dword [esi + 0x28]
mov ecx, dword [ecx + 0x38]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x3c]
cmp dword [eax + 0x20], ecx
jne 0x10109d82
cmp dword [eax + 0x24], edx
je 0x10109daf
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jns 0x10109daf
mov eax, dword [esp + 0x18]
add eax, 0x20
push eax
push edi
call fcn.10141320
mov ebx, eax
add esp, 8
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa45
mov edi, dword [esp + 0x10]
mov edx, dword [ebp + 0x2c]
cmp edx, 0xffffffff
je 0x10109e0f
mov edx, dword [edx + ebp + 0x28]
test edx, edx
je 0x10109e00
mov esi, dword [edi + 0x84]
mov eax, dword [esi + 0x14]
test byte [eax + 0x9c], 0x40
je 0x10109dd6
mov ecx, dword [edx + 0x38]
jmp 0x10109de1
mov ecx, dword [esi + 0x28]
add ecx, edx
add edx, dword [esi + 0x28]
mov ecx, dword [ecx + 0x38]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x3c]
cmp dword [eax + 0x20], ecx
jne 0x10109df2
cmp dword [eax + 0x24], edx
je 0x10109e00
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jns 0x10109e00
xor eax, eax
jmp 0x10109e05
mov eax, 1
test eax, eax
je 0x10109ecc
jmp 0x10109e53
mov edx, dword [ebp + 0x28]
test edx, edx
je 0x10109e53
mov esi, dword [edi + 0x84]
mov eax, dword [esi + 0x14]
test byte [eax + 0x9c], 0x40
je 0x10109e2d
mov ecx, dword [edx + 0x38]
jmp 0x10109e38
mov ecx, dword [esi + 0x28]
add ecx, edx
add edx, dword [esi + 0x28]
mov ecx, dword [ecx + 0x38]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x3c]
cmp dword [eax + 0x20], ecx
jne 0x10109e49
cmp dword [eax + 0x24], edx
je 0x10109e53
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x10109ecc
cmp dword [ebp + 4], 0
jne 0x10109ecc
lock inc dword [ebp + 4]
test byte [ebp + 8], 0x40
je 0x10109e9b
push 0
push ebp
push dword [esp + 0x20]
push dword [esp + 0x38]
push dword [esp + 0x44]
call fcn.10176430
mov ebx, eax
add esp, 0x14
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], eax
test ebx, ebx
jne 0x1010aa45
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
jmp 0x10109c71
push 2
push ebp
push dword [esp + 0x20]
push dword [esp + 0x30]
push dword [esp + 0x3c]
push dword [esp + 0x48]
call fcn.101750c0
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa45
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
test edx, edx
jne 0x10109ee2
test byte [esi + 8], 0x40
je 0x10109b7e
cmp dword [esp + 0x14], 0
jne 0x10109b7e
cmp dword [esp + 0x30], 0
je 0x10109f10
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10109f10
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x30], 0
test cl, 8
je 0x10109f3e
test esi, esi
je 0x1010a952
test byte [esi + 8], 0x20
jne 0x1010aa4d
cmp dword [esp + 0x28], 0
je 0x1010aa4d
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
test esi, esi
je 0x1010a04e
cmp dword [esp + 0x14], 0
jne 0x10109f80
lea eax, [esp + 0x14]
push eax
push 0
push 0
push dword [esp + 0x30]
push dword [esp + 0x3c]
push dword [esp + 0x48]
call fcn.1015acb0
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa45
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov word [eax + 8], cx
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 1
test esi, esi
jne 0x10109b7a
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x38], ecx
je 0x10109fbf
mov eax, dword [esi]
test eax, eax
je 0x10109fbf
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
cmp dword [esp + 0x7c], 0x20
mov eax, dword [esp + 0x70]
jne 0x1010a7af
mov edx, dword [esi + 0xc]
inc edx
cmp dword [eax], edx
je 0x1010a7af
mov dword [eax], edx
mov eax, dword [esp + 0x6c]
mov esi, dword [eax + 0x14]
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + 0x18]
cmp dword [eax + 0x10], 1
jne 0x10109ff8
mov dword [esp + 0x64], ecx
jmp 0x1010a01c
push 0
push 0
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x78]
push edx
push dword [eax + 0x18]
push esi
call fcn.10126df0
mov ecx, dword [esp + 0x7c]
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa87
cmp ecx, dword [esp + 0x2c]
je 0x1010a7ab
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
test eax, eax
je 0x1010a093
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
test eax, eax
je 0x1010a06e
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x7c]
sub eax, 1
je 0x1010a0b9
sub eax, 0x1f
je 0x1010a099
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
cmp dword [edx + 0xc], eax
sbb ebx, ebx
and ebx, 0xffff86f6
mov dword [esp + 0x1c], ebx
jmp 0x1010a107
mov esi, dword [esp + 0x20]
jmp 0x1010a052
mov eax, dword [edx + 0x18]
mov dword [esp + 0x38], 1
test eax, eax
je 0x1010a0ad
cmp dword [edx + 0xc], eax
jae 0x1010a0c8
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x70]
inc eax
mov dword [ecx], eax
jmp 0x1010a107
mov eax, dword [edx + 0x18]
mov ecx, dword [esp + 0x70]
test eax, eax
je 0x1010a0f3
cmp dword [ecx], eax
jbe 0x1010a0f3
push eax
push dword [esp + 0x70]
call fcn.100eef60
add esp, 4
push eax
push str._s:_file_limited_to__lu_pages
push edi
call fcn.100d0920
mov edx, dword [esp + 0x34]
mov ebx, 0x1c
add esp, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x1010a107
cmp dword [esp + 0x38], 0
jne 0x1010a107
mov eax, dword [ecx]
cmp dword [edx + 0xc], eax
sbb eax, eax
neg eax
mov dword [esp + 0x38], eax
mov eax, dword [edx]
test eax, eax
je 0x1010a123
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov edx, dword [esp + 0x24]
test ebx, ebx
jne 0x1010aa49
cmp dword [esp + 0x18], ebx
jne 0x10109f4e
mov eax, dword [edi + 0x78]
mov ecx, dword [eax + 0x18]
mov edi, dword [ecx + 0x18]
cmp dword [edi + 0x10], 1
jne 0x1010a1ea
mov dword [esp + 0x2c], ecx
mov esi, edx
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
jne 0x1010a15c
sub esi, dword [ecx + 0x14]
mov ecx, dword [edi + 0x28]
mov eax, 1
cmp ecx, eax
jbe 0x1010a171
add eax, eax
or eax, 1
cmp eax, ecx
jb 0x1010a168
mov ecx, dword [esp + 0x70]
imul esi, esi, 0x1fd
mov edx, dword [ecx]
mov ecx, edx
shl ecx, 8
xor esi, ecx
xor esi, edx
and esi, eax
mov dword [esp + 0x48], esi
cmp esi, dword [edi + 0x28]
jb 0x1010a19b
shr eax, 1
and eax, esi
mov dword [esp + 0x48], eax
mov esi, eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test byte [eax + 0x9c], 0x40
je 0x1010a1af
mov ecx, dword [edi + 0x34]
jmp 0x1010a1b9
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
add ecx, dword [edi + 0x34]
mov edi, dword [esp + 0x10]
imul eax, esi, 0x2c
add eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1010a1e2
push ecx
push edi
call fcn.100dc2b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
jmp 0x1010a21f
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x7c]
push dword [eax]
push edx
push edi
call fcn.10126df0
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa45
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1010a237
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
jmp 0x10109f4e
mov eax, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 1
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x1010a279
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x78], 0
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0x14]
mov dword [eax + 0x28], 0
jne 0x1010a2d8
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1010a2fe
mov edx, dword [edi + 0x84]
mov eax, dword [edx + 0x14]
test byte [eax + 0x9c], 0x40
jne 0x1010a2d5
add ecx, dword [edx + 0x28]
push ecx
jmp 0x1010a2dc
push dword [esp + 0x5c]
push dword [esp + 0x18]
push dword [esp + 0x2c]
push dword [esp + 0x40]
call fcn.101763c0
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa45
cmp dword [esp + 0x38], 0
jne 0x1010a32c
test byte [esi + 8], 0x20
jne 0x1010a32c
cmp dword [esp + 0x7c], 8
je 0x1010a32c
mov eax, dword [esp + 0x24]
push dword [eax + 0x5c]
lea eax, [esi + 0x34]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x34
push eax
call fcn.102207f0
jmp 0x1010a34e
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x94]
cmp eax, 0xffffffff
jne 0x1010a33e
mov eax, dword [ecx + 0x5c]
push eax
mov eax, dword [esp + 0x18]
add eax, 0x34
push 0
push eax
call fcn.10220d70
add esp, 0xc
cmp dword [esp + 0x30], 0
jne 0x1010a374
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1010a374
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
cmp dword [esp + 0x7c], 8
jne 0x1010a382
mov ecx, 0x20
jmp 0x1010a38d
mov ax, word [esi + 8]
and ax, 6
movzx ecx, ax
mov eax, dword [esp + 0x14]
or ecx, 0x10
mov word [eax + 8], cx
mov ecx, 0xfff9
and word [esi + 8], cx
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x1010a3c6
lea edx, [eax + esi]
test edx, edx
je 0x1010a3c6
mov eax, dword [esp + 0x14]
mov ecx, edx
sub ecx, eax
mov dword [eax + 0x2c], ecx
mov eax, dword [esp + 0x14]
sub eax, edx
mov dword [edx + 0x30], eax
jmp 0x1010a3d1
mov eax, dword [esp + 0x14]
mov dword [eax + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
mov ecx, esi
sub ecx, eax
mov dword [eax + 0x30], ecx
mov eax, dword [esp + 0x14]
sub eax, esi
mov dword [esi + 0x2c], eax
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
cmp eax, 0xffffffff
jne 0x1010a3f5
xor ecx, ecx
jmp 0x1010a3fa
lea ecx, [edx + 4]
add ecx, eax
cmp esi, ecx
jne 0x1010a46c
cmp eax, 0xffffffff
je 0x1010a433
mov ecx, dword [esp + 0x14]
add edx, 4
sub eax, ecx
add eax, edx
xor edx, edx
mov dword [ecx + 0x10], eax
mov ecx, 0x10
mov eax, dword [esp + 0x14]
sub ecx, dword [eax + 0x10]
cmp dword [eax + 0x10], 0xffffffff
cmovne edx, ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
mov dword [eax + ecx + 0x18], edx
jmp 0x1010a44a
mov eax, dword [esp + 0x14]
sub eax, edx
add eax, 0xc
mov dword [edx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x10], 0xffffffff
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub ecx, eax
sub ecx, 4
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, eax
add ecx, 4
mov dword [eax + 0x14], ecx
jmp 0x1010a4c9
mov eax, dword [esp + 0x14]
mov ecx, esi
sub ecx, eax
xor edx, edx
mov dword [eax + 0x10], ecx
mov ecx, esi
mov eax, dword [esi + 0x14]
sub ecx, dword [eax + esi]
mov eax, dword [ecx + 0x10]
mov ecx, 0x10
sub ecx, eax
cmp eax, 0xffffffff
mov eax, dword [esp + 0x14]
cmovne edx, ecx
add edx, dword [eax + 0x10]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + eax]
mov edx, ecx
sub edx, esi
mov eax, esi
add edx, dword [esp + 0x14]
sub eax, ecx
mov dword [eax + 0x10], edx
mov edx, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
sub edx, ecx
xor eax, eax
cmp ecx, 0xffffffff
cmovne eax, edx
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
cmp ecx, 0xffffffff
je 0x1010a4e5
sub eax, ecx
mov dword [ecx + esi + 0x14], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
add dword [ecx + esi], eax
jmp 0x1010a4fd
mov ecx, dword [esp + 0x18]
sub eax, ecx
add eax, 0xfffffffc
add eax, esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x14]
mov dword [esi + eax], 0xffffffff
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1010a519
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov dword [esp + 0x30], 0
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1010a535
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [esi]
mov ecx, 0xffef
and word [esi + 8], cx
test eax, eax
je 0x1010a556
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 1
cmp esi, ebp
je 0x1010a5ad
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, eax
je 0x1010a58e
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
mov eax, dword [esp + 0x24]
inc dword [eax + 8]
mov eax, dword [eax]
test eax, eax
je 0x1010a5ad
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov dword [esp + 0x14], 0
jmp 0x1010a5e8
cmp dword [esp + 0x44], 0
je 0x1010a5e8
cmp dword [esp + 0x38], 0
je 0x1010a5e8
push dword [esp + 0x5c]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x40]
call fcn.101763c0
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa45
mov ecx, dword [esp + 0x7c]
cmp ecx, 8
jne 0x1010a7ed
test byte [esi + 8], 0x20
jne 0x1010aa49
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x1010a61f
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
movzx eax, word [esi + 8]
mov ecx, 1
mov dword [esp + 0x30], ecx
test al, 2
je 0x1010a641
and eax, 0xfff9
mov word [esi + 8], ax
mov eax, dword [esp + 0x18]
lock dec dword [eax + 0xc]
movzx eax, word [esi + 8]
test al, 0x20
jne 0x1010aa49
test al, 0x40
je 0x1010a65c
mov edx, ecx
mov dword [esp + 0x28], edx
jmp 0x10109b86
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x10109b86
cmp dword [esi + 4], ecx
jne 0x1010a95b
cmp dword [esi + 0x2c], 0xffffffff
jne 0x1010a95b
cmp dword [esi + 0x30], 0xffffffff
jne 0x1010a95b
mov ebp, dword [esp + 0x34]
push 1
push esi
push dword [esp + 0x20]
push dword [esp + 0x30]
push dword [esp + 0x3c]
push ebp
call fcn.101750c0
add esp, 0x18
mov ebx, eax
jmp 0x1010aab1
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1010a6c4
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov ebx, dword [esp + 0x20]
or esi, 0xffffffff
lock xadd dword [ebx + 4], esi
dec esi
mov eax, dword [ebx]
neg esi
mov edi, dword [esp + 0x10]
sbb esi, esi
mov dword [esp + 0x3c], 0
inc esi
test eax, eax
je 0x1010a6fa
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov dword [esp + 0x40], 0
test esi, esi
je 0x1010a8d4
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1010a729
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x10], 0xffffffff
mov eax, dword [edx + 0x164]
sub eax, ebx
add eax, 0x160
add eax, edx
mov dword [ebx + 0x14], eax
mov eax, ebx
mov ecx, dword [edx + 0x164]
test ecx, ecx
jne 0x1010a761
sub eax, edx
sub eax, 0x160
mov dword [edx + 0x160], eax
jmp 0x1010a771
sub eax, ecx
sub eax, edx
sub eax, 0x150
mov dword [ecx + edx + 0x160], eax
sub ebx, edx
sub ebx, 0x150
mov dword [edx + 0x164], ebx
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1010a8d8
push eax
push ebx
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
jmp 0x1010a8d8
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x38], 0
je 0x1010a8d4
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
cmp eax, dword [ecx + 0xc]
jbe 0x1010a7c8
mov dword [ecx + 0xc], eax
mov eax, dword [ecx]
test eax, eax
je 0x1010a7e0
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
test ebx, ebx
jne 0x1010aa87
jmp 0x1010a8d4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1010a822
push 5
push eax
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x48]
call fcn.101750c0
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1010aa49
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x4c], 0
jne 0x1010a974
cmp dword [esp + 0x38], 0
jne 0x1010a974
movzx eax, word [esi + 8]
test al, 0x20
je 0x1010a852
cmp ecx, 1
je 0x1010a974
cmp ecx, 0x20
je 0x1010a974
test al, 0x10
je 0x1010a9c0
and eax, 0xffef
mov word [esi + 8], ax
mov eax, dword [esi]
test eax, eax
je 0x1010a87b
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov eax, dword [esi]
test eax, eax
je 0x1010a893
push eax
push edi
call fcn.100dc2b0
add esp, 8
test eax, eax
jne 0x1010ab71
cmp dword [esi + 0x2c], 0xffffffff
je 0x1010a9c0
cmp dword [esp + 0x58], 0
jne 0x1010a9c0
lock dec dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0x3c], 0
test eax, eax
je 0x1010a8cc
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1010948c
push eax
push ebx
call fcn.100dbf50
add esp, 8
test eax, eax
je 0x1010948c
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x58
ret
mov ebx, 0xffff86ee
mov dword [esp + 0x1c], ebx
jmp 0x1010aa49
mov ebx, 0xffff86f6
mov dword [esp + 0x1c], ebx
jmp 0x1010aa49
push dword [esi + 0x18]
push dword [esp + 0x70]
call fcn.100eef60
add esp, 4
push eax
push str._s:_page__lu:_reference_count_overflow
push ebx
call fcn.100d0920
push 0x16
push ebx
call fcn.100d1090
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x1c], ebx
jmp 0x1010aa49
mov ebx, dword [esp + 0x1c]
jmp 0x1010aaad
mov ax, word [esi + 8]
mov ecx, 0xff7f
and ax, cx
or ax, 0x20
mov word [esi + 8], ax
jmp 0x1010aa49
movzx eax, word [esi + 8]
mov ecx, eax
test al, 0x20
je 0x1010a9ac
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x94]
cmp eax, 0xffffffff
jne 0x1010a990
mov eax, dword [ecx + 0x5c]
push eax
lea eax, [esi + 0x34]
push 0
push eax
call fcn.10220d70
mov eax, 0xffdf
add esp, 0xc
and word [esi + 8], ax
movzx ecx, word [esi + 8]
test cl, 2
jne 0x1010a9c0
mov eax, dword [esp + 0x18]
add eax, 0xc
lock inc dword [eax]
or word [esi + 8], 2
mov edx, dword [esp + 0x74]
test edx, edx
je 0x1010abfb
movzx eax, word [edx + 0x16]
mov ebp, eax
mov edi, dword [edi + 0x8c]
mov ecx, eax
cmp word [edx + 0x14], ax
jne 0x1010ab84
mov ebx, dword [edi + 0x18]
mov esi, eax
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1010aa05
push eax
push dword [esp + 0x14]
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x1010ab71
lea eax, [esp + 0x50]
push eax
mov eax, esi
shl eax, 4
push eax
push edi
call fcn.1012c510
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1010aad7
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1010aa41
push eax
push dword [esp + 0x14]
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1010aa87
cmp dword [esp + 0x3c], 0
je 0x1010aa58
lock dec dword [esi + 4]
cmp dword [esp + 0x40], 0
je 0x1010aa83
mov eax, 0xffef
and word [esi + 8], ax
mov eax, dword [esi]
test eax, eax
je 0x1010aa83
push eax
push dword [esp + 0x14]
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
je 0x1010aaad
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x1010aaad
push eax
push dword [esp + 0x14]
call fcn.100dc5b0
add esp, 8
test eax, eax
jne 0x1010ab71
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1010aacd
push 5
push eax
push 0
push 0
push dword [esp + 0x3c]
push ebp
call fcn.101750c0
add esp, 0x18
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x58
ret
mov eax, dword [edi]
mov ecx, dword [esp + 0x74]
test byte [eax + 0x9c], 0x40
je 0x1010aaeb
mov eax, dword [ecx + 0x18]
jmp 0x1010aaf1
mov eax, dword [edi + 0x14]
add eax, dword [ecx + 0x18]
shl esi, 3
push esi
push eax
push dword [esp + 0x58]
call fcn.102207f0
mov eax, dword [esp + 0x5c]
push esi
add eax, esi
push 0
push eax
call fcn.10220d70
mov eax, dword [edi]
add esp, 0x18
mov edx, dword [esp + 0x50]
test byte [eax + 0x9c], 0x40
mov eax, dword [esp + 0x74]
je 0x1010ab29
mov ecx, dword [eax + 0x18]
jmp 0x1010ab32
mov ecx, dword [edi + 0x14]
sub edx, dword [edi + 0x14]
add ecx, dword [eax + 0x18]
lea eax, [ebp*2]
mov dword [esp + 0x50], ecx
mov ebp, dword [esp + 0x74]
mov word [ebp + 0x16], ax
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x18], edx
cmp ecx, eax
je 0x1010ab59
push ecx
push edi
call fcn.1012c730
add esp, 8
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1010ab7e
push eax
push dword [esp + 0x14]
call fcn.100dc5b0
add esp, 8
test eax, eax
je 0x1010ab7e
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x58
ret
movzx ecx, word [ebp + 0x16]
jmp 0x1010ab86
mov ebp, edx
mov eax, dword [edi]
test byte [eax + 0x9c], 0x40
je 0x1010ab96
mov esi, dword [ebp + 0x18]
jmp 0x1010ab9c
mov esi, dword [edi + 0x14]
add esi, dword [ebp + 0x18]
movzx eax, cx
mov dword [esp + 0x50], esi
lea eax, [esi + eax*8]
cmp esi, eax
jae 0x1010abbc
nop word [eax + eax]
cmp dword [esi], 0
je 0x1010abbc
add esi, 8
cmp esi, eax
jb 0x1010abb0
mov ecx, dword [esp + 0x2c]
inc word [ebp + 0x14]
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
mov eax, dword [esp + 0x20]
jne 0x1010abd6
sub eax, dword [ecx + 0x14]
mov dword [esi], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [eax + 0x18]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 4], eax
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
lea eax, [esi + 0x34]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret