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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, ecx
mov byte [esp + 0xf], 0
xor ecx, ecx
mov dword [esp + 0x10], eax
push esi
push edi
mov edi, dword [eax + 8]
mov esi, edx
mov dword [esp + 0x5c], ecx
mov ecx, eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], edi
call fcn.10067bf0
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x14]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0x10]
mov ecx, dword [ecx + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], ecx
movlpd qword [esp + 0x60], xmm0
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x54], eax
cmp esi, eax
jae 0x1009b353
mov eax, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
nop word [eax + eax]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
mov eax, dword [eax]
or eax, dword [edi + 4]
jne 0x1009b215
test byte [esi + 0x14], 2
jne 0x1009b215
test byte [ecx + 4], 1
jne 0x1009b215
mov dword [esp + 0x88], eax
xorps xmm0, xmm0
mov eax, dword [edx + 0x30]
mov edx, ecx
movaps xmmword [esp + 0x70], xmm0
lea ecx, [esp + 0x70]
movq qword [esp + 0x80], xmm0
mov byte [esp + 0x84], 3
mov dword [esp + 0x74], 0x100678b0
mov dword [esp + 0x78], 0x100679b0
mov dword [esp + 0x88], eax
call fcn.100637a0
cmp byte [esp + 0x84], 0
je 0x1009b212
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
push 0
push 0
mov ecx, dword [ecx]
call fcn.10066a40
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
call fcn.10066560
add esp, 0xc
mov dword [esp + 0x3c], eax
mov edx, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, dword [edx + 0x30]
jne 0x1009b33c
test byte [esi + 0x12], 0x82
je 0x1009b33c
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x1009b33c
mov ecx, dword [esi + 0xc]
test ecx, ecx
js 0x1009b33c
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
call fcn.10065e60
test eax, eax
je 0x1009b339
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x50], ecx
cmp ecx, 0x40
jl 0x1009b283
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], 0x80000000
jmp 0x1009b2a6
mov eax, ecx
xor edx, edx
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x44], ecx
cmovae edx, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], edx
cmp byte [esp + 0x17], 0
jne 0x1009b2d2
mov edx, dword [esp + 0x40]
add ecx, ecx
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.10035bd0
add esp, 0x10
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
and ecx, dword [esp + 0x38]
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x1009b339
mov eax, dword [esp + 0x20]
mov edx, edi
inc eax
mov dword [esp + 0x50], eax
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.1009c000
add esp, 4
test eax, eax
jne 0x1009bcd0
mov ecx, dword [esp + 0x20]
mov eax, edi
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x44]
or ecx, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
jmp 0x1009b340
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
add esi, 0x30
cmp esi, dword [esp + 0x54]
jb 0x1009b170
mov esi, dword [esp + 0x38]
jmp 0x1009b35b
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x2c]
not ecx
mov eax, dword [esp + 0x20]
or ecx, 0x80000000
movzx eax, ax
not esi
mov word [edi + 0x28], ax
mov word [edi + 0x18], ax
mov eax, edi
mov dword [eax + 0x24], 0x4241
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x40]
and esi, edx
mov dword [esp + 0x38], esi
mov esi, 0x3f
mov dword [esp + 0x4c], edx
and ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
movzx ecx, word [eax + 0x22]
mov dword [esp + 0x50], ecx
movzx eax, cx
cmp si, cx
jge 0x1009b3b7
mov dword [esp + 0x44], esi
jmp 0x1009b3c5
movsx esi, cx
mov dword [esp + 0x44], esi
xor esi, esi
cmp si, ax
jge 0x1009b404
mov edi, dword [esp + 0x44]
xor esi, esi
nop dword [eax + eax]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x38]
and ecx, dword [esp + 0x1c]
or edx, ecx
je 0x1009b3f7
inc dword [esp + 0x20]
inc esi
cmp esi, edi
jl 0x1009b3d0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jg 0x1009b423
jl 0x1009b413
test edx, edx
jae 0x1009b423
movsx eax, cx
mov ecx, dword [esp + 0x20]
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
inc eax
movzx edx, ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov ecx, dword [eax]
movsx eax, dx
lea edx, [eax*4 + 7]
lea eax, [eax + eax*4]
and edx, 0xfffffff8
add eax, 9
mov dword [esp + 0x4c], edx
and eax, 0xfffffff8
add edx, 0x40
add eax, edx
mov dword [esp + 0x50], eax
cdq
push edx
push eax
test ecx, ecx
je 0x1009b46c
call fcn.10033be0
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x1009b477
call fcn.10033440
mov esi, eax
mov dword [esp + 0x2c], eax
add esp, 8
test esi, esi
je 0x1009bcd0
push dword [esp + 0x50]
push 0
push esi
call fcn.100b7060
mov edx, dword [esp + 0x54]
lea eax, [esi + 0x40]
mov dword [esi + 0x20], eax
add esp, 0xc
add eax, dword [esp + 0x4c]
xorps xmm0, xmm0
mov dword [esi + 8], eax
movsx ecx, dx
mov word [esi + 0x34], dx
movlpd qword [esp + 0x60], xmm0
lea eax, [eax + ecx*2]
add eax, 2
mov dword [esi + 4], eax
lea eax, [eax + ecx*2]
mov dword [esi + 0x1c], eax
lea eax, [edx - 1]
mov word [esi + 0x32], ax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x1c], esi
mov eax, dword [esp + 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esi], str.auto_index
xor esi, esi
mov edx, dword [eax + 0x14]
mov dword [esp + 0x34], edx
cmp edx, dword [esp + 0x54]
jae 0x1009b634
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x48], eax
nop word [eax + eax]
mov eax, dword [edx + 8]
cmp eax, dword [ecx + 0x30]
jne 0x1009b623
test byte [edx + 0x12], 0x82
je 0x1009b623
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x1009b620
mov ecx, dword [edx + 0xc]
test ecx, ecx
js 0x1009b620
mov eax, dword [ebp + 8]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx]
call fcn.10065e60
test eax, eax
je 0x1009b61c
mov eax, dword [esp + 0x34]
xor edx, edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x60], eax
cmp eax, 0x40
jl 0x1009b584
mov eax, 0x80000000
mov dword [esp + 0x4c], eax
jmp 0x1009b59d
bts edx, eax
xor ecx, ecx
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
mov dword [esp + 0x4c], ecx
mov eax, ecx
and eax, dword [esp + 0x50]
mov ecx, edx
and ecx, dword [esp + 0x48]
or ecx, eax
jne 0x1009b61c
mov eax, dword [esp + 0x34]
or dword [esp + 0x48], edx
mov edx, dword [esp + 0x60]
mov ecx, dword [eax]
mov eax, dword [esp + 0x50]
or eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 4]
mov word [eax + esi*2], dx
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x60], eax
test dword [edx + 4], 0x100
jne 0x1009b601
test eax, eax
je 0x1009b5f0
test dword [eax + 4], 0x100
je 0x1009b5f0
mov edx, eax
jmp 0x1009b601
mov ecx, dword [esp + 0x18]
call fcn.10065c50
test eax, eax
jne 0x1009b613
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
call fcn.10065c50
mov ecx, 0x100ea7c8
test eax, eax
je 0x1009b615
mov ecx, dword [eax]
mov eax, dword [edi + 0x20]
mov dword [eax + esi*4], ecx
inc esi
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
add edx, 0x30
mov dword [esp + 0x34], edx
cmp edx, dword [esp + 0x54]
jb 0x1009b510
cmp dword [esp + 0x44], 0
jle 0x1009b680
xor edi, edi
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x38]
and ecx, dword [esp + 0x1c]
or edx, ecx
je 0x1009b679
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
mov word [eax + esi*2], di
mov eax, dword [ecx + 0x20]
mov dword [eax + esi*4], 0x100ea7c8
inc esi
inc edi
cmp edi, dword [esp + 0x44]
jl 0x1009b640
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jg 0x1009b6c3
jl 0x1009b691
cmp dword [eax + 0x40], 0
jae 0x1009b6c3
mov eax, dword [esp + 0x40]
mov ecx, 0x3f
mov edx, dword [esp + 0x24]
cmp cx, word [eax + 0x22]
jge 0x1009b6c7
mov edi, eax
mov eax, dword [edx + 4]
mov word [eax + esi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + esi*4], 0x100ea7c8
inc esi
movsx eax, word [edi + 0x22]
cmp ecx, eax
jl 0x1009b6a6
jmp 0x1009b6c7
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov edi, dword [ebp + 0x14]
mov word [eax + esi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [eax + esi*4], 0x100ea7c8
mov eax, dword [ecx + 0x48]
mov dword [edi + 8], eax
mov eax, edi
inc dword [ecx + 0x48]
mov edi, dword [esp + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1009b720
mov eax, dword [esp + 0x20]
mov edx, 0x38
push 0
inc eax
mov ecx, edi
push eax
push dword [esp + 0x5c]
call fcn.10051a30
add esp, 0xc
jmp 0x1009b75c
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
inc edi
mov word [eax + ecx*4], 0x38
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x28]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + 8]
mov dword [esp + 0x54], eax
call fcn.10075c60
mov ecx, eax
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
mov dword [esp + 0x60], edx
cmp byte [edx + 0x45], 0
je 0x1009b796
push ecx
mov ecx, dword [esp + 0x64]
mov edx, 0xfffffffa
call fcn.10052480
add esp, 4
jmp 0x1009b7cc
mov eax, dword [eax + 0x20]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x1009b7c1
push 0xfffffffffffffffa
push ecx
mov ecx, dword [esp + 0x5c]
mov edx, eax
call fcn.100526a0
add esp, 8
jmp 0x1009b7cc
test ecx, ecx
je 0x1009b7cc
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
inc dword [eax + 0x6c]
movzx eax, byte [edx + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x58]
shl ecx, 4
mov eax, dword [eax]
mov eax, dword [eax + 4]
add eax, ecx
mov dword [esp + 0x54], eax
test byte [eax + 0x30], 0x10
je 0x1009b90b
mov edx, dword [eax + 0x24]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
cmp dword [eax + 0x58], ecx
jg 0x1009b82e
push 0
push 0
push 0
mov edx, 0x16
mov ecx, edi
call fcn.10051a30
mov edx, dword [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x1009b865
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x54]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1009b893
push dword [esp + 0x50]
mov ecx, edi
push 0
push edx
mov edx, 0x10
call fcn.10051a30
add esp, 0xc
jmp 0x1009b8c6
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x38], edx
cmp dword [eax + 0x58], edx
jg 0x1009b8f3
mov edx, dword [esp + 0x58]
mov ecx, edi
push 0
push 0
push edx
mov edx, 0x12
call fcn.10051a30
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x1009b972
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x12
jmp 0x1009b951
mov eax, dword [edi + 0x18]
mov ecx, dword [edx + 4]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x38], edx
cmp dword [eax + 0x58], edx
jg 0x1009b93b
push 0
push 0
push ecx
mov edx, 0x6c
mov ecx, edi
call fcn.10051a30
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x1009b972
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x6c
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov byte [eax + ecx*4 + 3], 0
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x1009b9f7
mov ecx, dword [edi + 0x18]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x60], ecx
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x30], eax
inc eax
mov dword [ecx + 0x74], eax
mov eax, dword [esp + 0x30]
dec eax
test dword [esp + 0x30], eax
jne 0x1009b9c1
mov eax, dword [esp + 0x30]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx]
push 0
lea eax, [eax*8 + 4]
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x68]
add esp, 8
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x1009b9d3
mov ecx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
not eax
push 0x10
push eax
mov dword [esp + 0x38], eax
call fcn.1006b0c0
mov eax, dword [esp + 0x34]
add esp, 8
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x13]
test al, al
jne 0x1009ba0a
inc dword [ecx + 0x4c]
mov eax, dword [ecx + 0x4c]
jmp 0x1009ba16
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x1c]
mov edx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.10077c80
mov ecx, dword [edi + 0x18]
add esp, 0x18
mov edx, dword [edi + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
cmp dword [ecx + 0x58], edx
jg 0x1009ba67
mov edx, dword [esp + 0x44]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x6e
call fcn.10051a30
add esp, 0xc
jmp 0x1009ba9e
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x6e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x1009bab4
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 0x10
cmp dword [esp + 0x3c], 0
je 0x1009bade
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x1009bad7
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov edx, dword [esp + 0x54]
test byte [edx + 0x30], 0x10
je 0x1009bb9d
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jns 0x1009baf8
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x1009bb07
mov ecx, 0x100fe494
jmp 0x1009bb10
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
add eax, esi
mov esi, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov ecx, edi
mov eax, dword [ebp + 0x14]
push 1
push dword [edx + 0x28]
mov edx, esi
push dword [eax + 4]
call fcn.1009b030
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x1009bb60
push 0
push esi
push 0
mov edx, 0xd
mov ecx, edi
call fcn.10051a30
mov ecx, dword [esp + 0x60]
add esp, 0xc
and dword [ecx + 0x30], 0xffffffef
jmp 0x1009bc08
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x54]
and dword [ecx + 0x30], 0xffffffef
jmp 0x1009bc08
mov eax, dword [ebp + 0x14]
mov esi, dword [esp + 0x38]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
lea edx, [esi + 1]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1009bbd1
push 0
push edx
push dword [esp + 0x64]
mov edx, 7
mov ecx, edi
call fcn.10051a30
add esp, 0xc
jmp 0x1009bc08
mov esi, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x38]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x1009bc1e
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 3
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
dec ecx
mov dword [eax + 0x60], ecx
mov eax, dword [edi]
mov edx, dword [edi + 0x20]
cmp byte [eax + 0x45], 0
je 0x1009bc3a
mov eax, 0x100fe494
jmp 0x1009bc4b
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x1009bc90
mov al, byte [esi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1009bc90
xor ecx, ecx
lea eax, [esi + 0x7c]
nop word [eax + eax]
cmp dword [eax + 0xc], edx
je 0x1009bc8c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1009bc70
movzx eax, byte [esp + 0x17]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x1009bc90
mov byte [eax + 6], 1
mov ecx, esi
call fcn.10069270
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [edi + 0x20]
test ecx, ecx
jns 0x1009bcaf
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x1009bcc1
mov eax, 0x100fe494
mov dword [eax + 8], edx
jmp 0x1009bcd4
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1009bcd4
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov esi, dword [esi]
test edi, edi
je 0x1009bd41
test dword [edi + 4], 0x4000
jne 0x1009bd2f
mov edx, dword [edi + 0xc]
mov ecx, esi
call fcn.10066910
mov edx, dword [edi + 0x10]
mov ecx, esi
call fcn.10066910
mov eax, dword [edi + 4]
test eax, 0x10000
je 0x1009bd12
mov edx, dword [edi + 8]
mov ecx, esi
call fcn.100338e0
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x14]
mov ecx, esi
test eax, 0x800
je 0x1009bd2a
push 1
call fcn.10086480
add esp, 4
jmp 0x1009bd2f
call fcn.10067700
test dword [edi + 4], 0x8000
jne 0x1009bd41
mov edx, edi
mov ecx, esi
call fcn.100338e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret