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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x78], 0
mov dword [esp + 0x6c], 0
mov esi, dword [edi + 8]
mov eax, dword [edi]
mov byte [esp + 0x33], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], esi
test esi, esi
jne 0x1009db72
cmp dword [edi + 0x74], esi
jne 0x1009db63
test byte [eax + 0x4c], 8
jne 0x1009db63
mov byte [edi + 0x17], 1
call fcn.1006c4d0
mov edx, dword [esp + 8]
mov esi, eax
mov dword [esp + 0x54], esi
movsx eax, word [edx + 0x2a]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x10], eax
test cl, cl
js 0x1009db93
mov dword [esp + 0x24], 0
mov dword [esp + 0x64], 1
jmp 0x1009dbc4
mov eax, dword [edx + 8]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1009dbbc
mov esi, eax
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x1009dbb0
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x1009dba0
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 0x32]
mov dword [esp + 0x64], eax
test ecx, 0x800
je 0x1009df06
xor eax, eax
xor edi, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x20], edx
test ecx, ecx
jle 0x1009deb3
mov eax, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x58], edi
nop dword [eax]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
add ecx, edi
mov dword [esp + 0x14], ecx
movzx edi, byte [ecx + 0xc]
mov dword [esp + 0x18], edi
test edi, edi
je 0x1009de89
mov eax, dword [esp + 8]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x1009de85
movzx eax, word [ecx + 0x10]
and eax, 0x60
je 0x1009dc46
cmp dword [esp + 0x34], 0
jne 0x1009dc46
inc dword [esp + 0x28]
jmp 0x1009de85
cmp dword [ebp + 0x2c], 0
mov ecx, dword [esp + 0x14]
je 0x1009dc65
mov edi, dword [ebp + 0x2c]
cmp dword [edi + edx*4], 0
mov edi, dword [esp + 0x18]
jge 0x1009dc65
test eax, eax
je 0x1009de85
cmp byte [ebp + 0x20], 0xb
mov edx, dword [esp + 0x20]
jne 0x1009dcaf
cmp edi, 0xb
jne 0x1009dcaf
mov edi, 2
cmp dword [esp + 0x34], 0
je 0x1009dc88
test eax, eax
je 0x1009de85
mov ecx, dword [esp + 8]
call fcn.1008e960
mov edx, dword [ebp + 0x14]
cwde
inc edx
add edx, eax
lea eax, [edi - 1]
mov dword [esp + 0x18], edx
cmp eax, 4
ja case.0x1009dca8.4
jmp dword [eax*4 + 0x1009f8e8]
cmp byte [ebp + 0x20], 0xb
movzx edi, byte [ebp + 0x20]
cmove edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
cmp edi, 5
jne 0x1009dc79
cmp dword [esp + 0x34], 0
jne 0x1009dcd2
cmp dword [ecx + 4], 0
jne 0x1009dc88
mov edi, 2
jmp 0x1009dc88
push edx
mov edx, 0x33
mov ecx, esi
call fcn.1006c7f0
mov edi, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0xc]
inc dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
push edi
mov eax, dword [eax + 4]
mov edx, eax
mov dword [esp + 0x60], eax
call fcn.10086310
add esp, 4
cmp eax, edi
je 0x1009dd3c
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x1009dd3c
mov edx, dword [esp + 0x5c]
push edi
push eax
mov edx, dword [edx + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
call fcn.1006c850
add esp, 8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x1009dd4a
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x1009dd5f
mov eax, 0x10128828
mov dword [eax + 8], edx
jmp 0x1009de85
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1009de85
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esp + 0x14]
push dword [eax]
mov eax, dword [esp + 0xc]
push dword [eax]
push str._s._s
push dword [esp + 0x74]
call fcn.1004fc30
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x70], ecx
jg 0x1009ddc6
push edx
push edi
push 0x513
mov edx, 0x43
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009ddf1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
cmp byte [ecx + 0x51], 0
je 0x1009de0d
push edx
mov edx, 0xfffffff9
call fcn.1006d260
add esp, 4
jmp 0x1009de1f
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1009de85
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x1009de85
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009de57
push 0
push dword [ebp + 0x24]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009de85
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x24]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x58]
inc ecx
add edi, 0x14
mov dword [esp + 0x20], ecx
mov dword [esp + 0x58], edi
mov edx, ecx
cmp ecx, eax
jl 0x1009dc00
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
test edi, edi
jne 0x1009debf
test edx, edx
je 0x1009defe
test eax, eax
jne 0x1009defe
mov eax, 1
mov dword [esp + 0x34], eax
test edx, edx
jle 0x1009dbe4
mov edx, dword [esp + 8]
test byte [edx + 0x24], 0x60
je 0x1009dbe4
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [ebp + 0x14]
lea edx, [edx + 1]
call fcn.1009c4a0
mov eax, dword [esp + 0x38]
add esp, 4
jmp 0x1009dbe0
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x1009e13a
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x1009e13a
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov al, byte [ebp + 0x20]
movzx edi, al
cmp al, 0xb
jne 0x1009df41
mov edi, 2
xor edx, edx
mov dword [esp + 0x20], edx
cmp dword [ecx], edx
jle 0x1009e12f
lea eax, [ecx + 8]
mov dword [esp + 0x2c], 0xfffd
mov dword [esp + 0x18], eax
nop
mov ecx, dword [eax - 4]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x5c], ecx
test eax, eax
je 0x1009dfd5
mov dword [esp + 0xb8], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0xa4], 0x1009daa0
mov dword [esp + 0xb8], eax
test ecx, ecx
je 0x1009dfb9
mov edx, ecx
lea ecx, [esp + 0xa0]
call fcn.1007e4f0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
cmp byte [ebp + 0x1c], 0
mov ax, word [esp + 0xb4]
jne 0x1009dfcc
and ax, word [esp + 0x2c]
test ax, ax
je 0x1009e113
mov edx, dword [esp + 0xc]
push 0x10
dec dword [edx + 0x38]
mov eax, dword [edx + 0x38]
push eax
push ecx
push edx
mov dword [esp + 0x6c], eax
call fcn.10087820
add esp, 0x10
cmp edi, 4
jne 0x1009e04d
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009e016
push 0
push dword [ebp + 0x24]
lea edx, [edi + 7]
mov ecx, esi
push 0
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009e0e8
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1009e0e8
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x1009e065
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
cmp edi, 5
mov eax, 2
cmove edi, eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1009e09d
cmp dword [ecx + 0x74], eax
jne 0x1009e090
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x1009e090
mov byte [ecx + 0x17], 1
call fcn.1006c4d0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
cmp edi, 2
jne 0x1009e0ae
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x14]
mov edx, 0x44
push 0
push dword [esp + 0x2c]
push 0
push edi
push 0x113
call fcn.1006cae0
mov eax, dword [esp + 0x28]
add esp, 0x14
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jle 0x1009e0e8
mov eax, dword [eax + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 3
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009e106
push edx
mov edx, esi
call fcn.1006cde0
add esp, 4
jmp 0x1009e10f
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x18]
add eax, 0x14
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
cmp edx, dword [ecx]
jl 0x1009df60
mov edi, dword [esp + 0xc]
mov dword [edi + 0x34], 0
mov edx, dword [ebp + 0x30]
test edx, edx
je 0x1009e1b8
cmp dword [edx], 0
jne 0x1009e153
mov byte [ebp + 0x20], 4
mov dword [ebp + 0x30], 0
jmp 0x1009e1b8
mov eax, dword [edx + 0x10]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x1009e1b8
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x70], edx
cmp dword [esi + 0x70], edx
jg 0x1009e185
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
mov dword [esp + 0x70], eax
jmp 0x1009e1b8
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 + 0x68]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x84], eax
mov eax, ecx
and eax, 0x6000
or eax, 0
jne 0x1009e1e2
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
jmp 0x1009e2a2
mov edx, dword [esp + 8]
and ecx, 0x2000
or ecx, 0
push 0
mov ecx, edi
push 0
je 0x1009e223
push 0x7e
call fcn.100b1140
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
jne 0x1009e23d
mov edx, dword [esp + 8]
mov ecx, edi
push eax
push eax
call fcn.1009b720
add esp, 8
test eax, eax
jne 0x1009e23d
mov dword [esp + 0x48], eax
jmp 0x1009e2a2
mov dword [esp + 0x40], 0
call fcn.1009b720
mov edx, eax
add esp, 8
mov dword [esp + 0x48], edx
test edx, edx
je 0x1009e2a2
inc dword [edi + 0x2c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x48], edx
cmp dword [esi + 0x70], ecx
jg 0x1009e265
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009e298
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x50], eax
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0xcc], 0x35
je 0x1009e63d
cmp dword [esp + 0x24], 0
jne 0x1009e63d
mov ecx, dword [esp + 8]
dec dword [edi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [edi + 0x38]
movzx eax, byte [ecx + 0x32]
mov dword [esp + 0x18], edx
je 0x1009e2e0
movzx eax, byte [ebp + 0x20]
jmp 0x1009e2eb
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x14], eax
test edi, edi
je 0x1009e311
cmp dword [edi + 0x10], 0
jne 0x1009e311
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x14], eax
jmp 0x1009e37e
cmp eax, 5
jne 0x1009e37e
cmp byte [ebp + 0x20], al
je 0x1009e37e
cmp dword [ecx + 8], 0
je 0x1009e37e
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x1009e340
push 0
push 0
push 0
lea edx, [eax + 6]
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
mov edx, eax
jmp 0x1009e373
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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
lea eax, [edx + 1]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x1009e3eb
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009e3a7
push edi
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, esi
call fcn.1006c6e0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x1009e3d4
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1009e3eb
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009e40e
push dword [ebp + 0x14]
mov ecx, esi
push edx
push dword [ebp + 0xc]
mov edx, 0x20
call fcn.1006c6e0
mov edx, dword [ebp + 0x14]
add esp, 0xc
jmp 0x1009e43b
mov edi, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x14]
lea eax, [edi - 1]
cmp eax, 5
ja case.default.0x1009e44b
jmp dword [eax*4 + 0x1009f8fc]
cmp dword [esp + 0x48], 0
je 0x1009e4b8
mov edi, dword [esp + 0xc]
mov ecx, edi
push 0xffffffffffffffff
push 1
push 5
mov eax, dword [edi + 0x74]
test eax, eax
push 0
push 1
push edx
push dword [ebp + 0x10]
mov edx, dword [esp + 0x24]
cmovne ecx, eax
push dword [ebp + 0xc]
push dword [esp + 0x58]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.100959b0
add esp, 0x24
mov edx, 0x52
mov ecx, esi
push 1
push dword [esp + 0x4c]
call fcn.1006c850
add esp, 8
mov dword [esp + 0x7c], 1
mov dword [esp + 0x78], 1
jmp 0x1009e57d
mov edx, dword [esp + 8]
cmp dword [edx + 8], 0
je 0x1009e4e8
mov edi, dword [esp + 0xc]
mov ecx, edi
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov eax, dword [edi + 0x74]
test eax, eax
push dword [ebp + 0xc]
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.10095d90
add esp, 0x10
mov dword [esp + 0x78], 1
jmp 0x1009e57d
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x10]
push 0
push dword [esp + 0x10]
call fcn.100b46f0
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, esi
call fcn.1006c8c0
jmp 0x1009e57d
mov edi, 2
mov edx, dword [esp + 8]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x1009e551
cwde
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
mov eax, dword [esp + 0x10]
push dword [edx]
push str._s._s
push dword [eax]
call fcn.1004fc30
add esp, 0x10
mov edx, 0x613
jmp 0x1009e56b
push dword [edx]
mov eax, dword [esp + 0x10]
push str._s.rowid
push dword [eax]
call fcn.1004fc30
add esp, 0xc
mov edx, 0xa13
mov ecx, dword [esp + 0xc]
push 2
push 0xfffffffffffffff9
push eax
push edi
call fcn.10093b70
add esp, 0x10
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009e59b
push edx
mov edx, esi
call fcn.1006cde0
add esp, 4
jmp 0x1009e5a4
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x74], 0
je 0x1009e63d
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x8c], ecx
cmp dword [esi + 0x70], ecx
jg 0x1009e5dc
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
mov dword [esp + 0x8c], eax
jmp 0x1009e60f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 [esi]
mov ecx, dword [esp + 0x74]
mov edx, dword [esi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x1009e626
mov eax, 0x10128830
jmp 0x1009e63b
test ecx, ecx
mov eax, edx
cmovns eax, dword [esp + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], 0
mov dword [esp + 0x4c], edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1009f5c0
mov dword [esp + 0x4c], edx
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x10]
cmp dword [edi + edx*4], 0
mov edi, dword [esp + 0xc]
je 0x1009f5a7
cmp dword [esp + 0x6c], eax
jne 0x1009e72c
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x88], ecx
cmp dword [esi + 0x70], ecx
jg 0x1009e6b9
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
mov dword [esp + 0x88], eax
jmp 0x1009e6ec
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1009e709
mov ecx, dword [esp + 8]
mov eax, 0x10128828
mov dword [eax + 8], edx
mov eax, dword [esp + 0x1c]
jmp 0x1009e736
mov ecx, dword [esp + 0x70]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
jmp 0x1009e736
dec dword [edi + 0x38]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x40], edx
cmp byte [esp + 0x33], 0
jne 0x1009e75f
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x1009e749
cmp edx, eax
jne 0x1009e75f
mov eax, dword [ebp + 0x14]
mov edx, ecx
inc eax
mov ecx, esi
push eax
call fcn.1009c3b0
add esp, 4
mov byte [esp + 0x33], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
je 0x1009e836
mov eax, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009e795
push 0
push edx
push 0
mov edx, 0x48
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009e7c8
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 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 [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x24]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test edx, edx
je 0x1009e7f7
push 0
push 0
mov ecx, eax
call fcn.10082160
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x14]
jmp 0x1009e7f9
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x1009e816
push 0x10
push dword [esp + 0x44]
push edi
push dword [esp + 0x18]
call fcn.10087c00
mov eax, dword [esp + 0x24]
add esp, 0x10
test edi, edi
je 0x1009e823
mov edx, edi
mov ecx, eax
call fcn.10081f70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x34], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
movzx eax, word [eax + 0x34]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], 0
mov edx, dword [edx + ecx*4]
mov ecx, eax
mov dword [esp + 0x5c], edx
lea edi, [edx + 1]
mov dword [esp + 0x34], edi
cmp word [esp + 0x2c], ax
jae 0x1009e9de
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
nop dword [eax + eax]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
movzx edx, word [eax + edx*2]
movsx ecx, dx
cmp ecx, 0xfffffffe
jne 0x1009e90d
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
not eax
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
test edx, edx
je 0x1009e8d2
push 0
push 0
mov ecx, eax
call fcn.10082160
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x30]
add esp, 8
jmp 0x1009e8d4
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x1009e8ec
push dword [esp + 0x20]
mov edx, edi
call fcn.10087490
mov eax, dword [esp + 0x2c]
add esp, 4
test edi, edi
je 0x1009e8f9
mov edx, edi
mov ecx, eax
call fcn.10081f70
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x20]
mov dword [eax + 0x34], 0
jmp 0x1009e9b1
cmp ecx, 0xffffffff
je 0x1009e964
mov eax, dword [esp + 8]
movsx eax, word [eax + 0x28]
cmp ecx, eax
je 0x1009e964
mov ecx, dword [esp + 8]
call fcn.1008e960
mov edx, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x1009e94b
push 0
push edi
push edx
mov edx, 0x4e
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009e9b1
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4e
jmp 0x1009e999
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009e983
push 0
push edi
push dword [ebp + 0x14]
mov edx, 0x4f
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009e9b1
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [esp + 0x1c]
inc edi
mov edx, dword [esp + 0x14]
add dword [esp + 0x18], 0x14
inc edx
mov dword [esp + 0x14], edx
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x20], edi
cmp edx, ecx
jl 0x1009e880
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov edx, dword [edx + eax*4]
movzx edi, cx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009ea00
push edx
push edi
push dword [esp + 0x3c]
mov edx, 0x5b
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009ea2f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
je 0x1009ea76
cmp edx, ecx
jne 0x1009ea76
cmp byte [ebp + 0x1c], 0
jne 0x1009ea76
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009ea68
push edx
mov edx, esi
call fcn.1006cde0
add esp, 4
jmp 0x1009f5a3
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x1009f5a3
movzx eax, byte [ecx + 0x36]
test eax, eax
jne 0x1009ea9f
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009ea68
push edx
mov edx, esi
call fcn.1006cde0
add esp, 4
jmp 0x1009f5a3
cmp byte [ebp + 0x20], 0xb
je 0x1009eaab
movzx eax, byte [ebp + 0x20]
jmp 0x1009eab6
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov dword [esp + 0x14], eax
cmp dword [esp + 0x6c], ecx
jne 0x1009ead6
mov edi, dword [ebp + 0x30]
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], 0
jne 0x1009eb85
cmp dword [ecx + 0x14], 0
jne 0x1009eb85
cmp edx, ecx
jne 0x1009eb85
cmp eax, 5
jne 0x1009eb85
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 8]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x80], eax
je 0x1009eb2d
mov ecx, dword [esp + 0xc]
mov edx, edi
push 0
push 0
push 0x7e
call fcn.100b1140
add esp, 0xc
test eax, eax
jne 0x1009eb85
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x80], eax
je 0x1009eb60
cmp dword [edi + 0x10], 0
jne 0x1009eb85
mov ecx, dword [edi + 0x48]
mov edx, dword [edi]
add ecx, 0x38
push 0
call fcn.10051eb0
add esp, 4
cmp dword [eax + 8], 0
jne 0x1009eb85
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009ea68
push edx
mov edx, esi
call fcn.1006cde0
add esp, 4
jmp 0x1009f5a3
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x20], edx
movzx edi, word [eax + 0x32]
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x70], edx
jg 0x1009ebc4
push dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov edx, 0x1c
push dword [esp + 0x44]
add eax, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.1006c6e0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
jmp 0x1009ec06
mov edi, dword [esp + 0x2c]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x10]
add edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x1009ec1d
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x24]
jne 0x1009ec31
mov edi, dword [esp + 0x34]
mov dword [esp + 0x44], edi
jmp 0x1009ec8f
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0xc]
cmp eax, 1
jne 0x1009ec5e
mov al, byte [edx + 0x13]
test al, al
jne 0x1009ec4d
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x1009ec87
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x94]
jmp 0x1009ec87
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x44], edi
cmp eax, ecx
jg 0x1009ec7a
add eax, edi
sub ecx, dword [esp + 0x64]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x1009ec8b
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x64]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x1c]
cmp dword [ebp + 0x18], 0
jne 0x1009eca0
cmp dword [esp + 0x14], 5
jne 0x1009f018
mov eax, dword [esp + 8]
test byte [eax + 0x24], 0x80
jne 0x1009ed87
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009ecd2
mov eax, dword [esp + 0x10]
mov edx, 0x86
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009ed0c
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x44]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1009f01b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009ed39
push edx
push dword [esp + 0x44]
mov edx, 0x35
mov ecx, esi
push edi
call fcn.1006c6e0
mov edx, dword [ebp + 0x18]
add esp, 0xc
jmp 0x1009ed67
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1009f01b
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
jmp 0x1009f01b
mov edi, dword [esp + 0x24]
cmp edx, edi
je 0x1009ee75
mov eax, dword [esp + 0x24]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x28], edi
cmp cx, word [eax + 0x32]
jae 0x1009ee71
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x1009eddd
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
nop dword [eax]
cmp di, word [eax]
je 0x1009ee0e
inc ecx
add eax, 2
cmp ecx, edx
jl 0x1009edd0
or eax, 0xffffffff
mov ecx, dword [esi + 0x6c]
movsx edx, ax
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x70], ecx
jg 0x1009ee13
mov edi, dword [esp + 0x18]
mov ecx, esi
mov eax, dword [esp + 0x10]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x59
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009ee4d
movzx eax, cx
jmp 0x1009ede0
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
inc edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x18], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x28], ecx
cmp ecx, eax
jl 0x1009edb1
mov edi, dword [esp + 0x24]
cmp dword [ebp + 0x18], 0
je 0x1009f018
movzx ecx, word [edi + 0x32]
mov eax, dword [esi + 0x6c]
add eax, ecx
mov dword [esp + 0x28], 0x34
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x44]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x34]
mov dword [esp + 0x90], edx
xor edx, edx
mov dword [esp + 0x58], edx
test ecx, ecx
je 0x1009f018
nop dword [eax]
mov eax, dword [edi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax]
mov al, byte [ecx + 0x4e]
mov byte [esp + 0x3f], al
mov al, byte [ecx + 0xa5]
mov byte [esp + 0x63], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x47]
call fcn.10094410
add esp, 8
mov edi, eax
cmp byte [esp + 0x63], 0
jne 0x1009ef1c
test edi, edi
je 0x1009ef05
cmp dword [edi + 0xc], 0
jne 0x1009ef1c
push dword [esp + 0x2c]
mov dl, byte [esp + 0x43]
mov ecx, dword [esp + 0x10]
push edi
call fcn.10094520
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 4]
movzx edx, word [eax + ecx*2]
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 0x32]
mov eax, dword [esp + 0x28]
dec ecx
cmp dword [esp + 0x58], ecx
mov ecx, dword [esp + 8]
cmove eax, dword [esp + 0xcc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
cmovne eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.1008e960
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi + 0x6c]
inc ecx
cwde
add ecx, eax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x90]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x80], eax
cmp dword [esi + 0x70], edx
jg 0x1009ef9b
mov edx, dword [esp + 0x28]
push eax
push dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
mov edx, eax
jmp 0x1009efdb
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x28]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xc], ecx
push 0xfffffffffffffffe
push edi
mov ecx, esi
call fcn.1006d4d0
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x1009efff
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x58]
inc edx
mov dword [esp + 0x58], edx
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x1009eec0
mov edx, dword [ebp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [edi - 1]
cmp eax, 5
ja case.0x1009f02b.5
jmp dword [eax*4 + 0x1009f914]
push dword [esp + 0x1c]
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.10093bf0
add esp, 4
jmp 0x1009f4ad
mov eax, dword [esp + 0x10]
add eax, dword [ebp + 0x10]
mov edi, dword [esp + 0xc]
mov ecx, edi
mov edx, dword [ebp + 0x30]
push eax
push dword [esp + 0x20]
push dword [esp + 0x10]
call fcn.100b46f0
add esp, 0xc
jmp 0x1009f072
mov edi, dword [esp + 0xc]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009f095
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f4ad
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1009f4ad
mov edi, dword [esi + 0x6c]
sub edi, dword [esp + 0x20]
cmp dword [esp + 0x48], 0
mov dword [esp + 0x14], edi
je 0x1009f0f2
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
inc dword [esp + 0x7c]
mov byte [ecx + 0x14], 1
cmp dword [esp + 0x38], 0
je 0x1009f14f
test edx, edx
je 0x1009f14f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009f11d
push 0
push 0
push dword [ebp + 0xc]
mov edx, 0x9f
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f14f
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x9f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x20], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x74]
push dword [esp + 0x58]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x28]
push dword [esp + 0x58]
call fcn.100959b0
add esp, 0x24
cmp dword [esp + 0x38], 0
je 0x1009f1eb
cmp dword [ebp + 0x18], 0
je 0x1009f1eb
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009f1b9
push 0
push 0
push dword [ebp + 0xc]
mov edx, 0xa0
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f1eb
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xa0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x48]
test edx, edx
je 0x1009f4a1
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009f215
push 0
push 1
push edx
mov edx, 0x52
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f248
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x52
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x70], edx
jg 0x1009f26f
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x1009f2a2
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009f2c0
push edx
mov edx, esi
call fcn.1006cde0
add esp, 4
jmp 0x1009f2c9
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0xc]
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
cmp dword [eax + 0x24], 0
je 0x1009f339
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009f306
push 0
push edx
mov edx, dword [esp + 0x64]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.1006c6e0
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x1009f339
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
jle 0x1009f45a
mov eax, dword [esp + 0x20]
mov ecx, eax
test eax, eax
jns 0x1009f34f
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x1009f35e
mov eax, 0x10128828
jmp 0x1009f367
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x90], eax
movd eax, xmm0
movaps xmmword [esp + 0xa0], xmm0
cmp al, 0x86
je 0x1009f441
mov edi, dword [esp + 0xa8]
movzx eax, al
mov dword [esp + 0x80], eax
test byte [eax + 0x10100808], 1
cmovne edi, edx
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x1009f3ca
push dword [esp + 0xac]
mov edx, eax
mov ecx, esi
push edi
push dword [esp + 0xac]
call fcn.1006c6e0
add esp, 0xc
mov edx, eax
jmp 0x1009f40d
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x80]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esp + 0xa4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xac]
mov dword [ecx + 0xc], eax
movsx eax, byte [esp + 0xa1]
mov ecx, esi
push eax
push dword [esp + 0x94]
call fcn.1006d4d0
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x1009f441
mov ecx, dword [esi + 0x68]
lea edx, [eax + eax*4]
mov ax, word [esp + 0xa2]
mov word [ecx + edx*4 - 0x12], ax
mov eax, dword [esp + 0x14]
inc dword [esp + 0x20]
dec eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
test eax, eax
jg 0x1009f341
push dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov edx, 2
mov ecx, edi
call fcn.10093bf0
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1009f486
mov eax, 0x10128828
mov dword [eax + 8], edx
jmp 0x1009f4a5
mov ecx, dword [esp + 0x2c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1009f4a5
mov edi, dword [esp + 0xc]
mov dword [esp + 0x78], 1
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x1c]
jne 0x1009f544
mov edx, dword [esp + 0x70]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x1009f4de
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f511
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 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 [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1009f526
mov eax, 0x10128828
mov dword [eax + 8], edx
jmp 0x1009f56b
mov ecx, dword [esp + 0x88]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1009f56b
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009f562
push edx
mov edx, esi
call fcn.1006cde0
add esp, 4
jmp 0x1009f56b
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x34]
je 0x1009f5a3
mov eax, dword [esp + 0x64]
cmp eax, 1
jne 0x1009f598
test ecx, ecx
je 0x1009f5a3
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1009f5a3
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x1009f5a3
cmp eax, dword [edi + 0x1c]
jle 0x1009f5a3
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov edi, dword [edi + 0x14]
mov eax, edi
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x1009e664
mov edx, dword [esp + 0x74]
test edx, edx
je 0x1009f642
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009f5e6
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f615
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 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 [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1009f627
mov eax, 0x10128828
jmp 0x1009f63f
mov ecx, dword [esp + 0x8c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x7c], 0
je 0x1009f849
mov ecx, dword [esi + 0x6c]
mov edi, dword [esp + 0x4c]
cmp dword [esi + 0x70], ecx
jg 0x1009f671
push 0
push edi
push dword [esp + 0x50]
mov edx, 0x14
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f6a0
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x24], 0
jne 0x1009f7d2
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1009f71c
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009f6d3
push edx
push dword [esp + 0x54]
mov edx, 0x35
mov ecx, esi
push dword [ebp + 0x14]
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f705
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1009f71c
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009f73f
push dword [ebp + 0x14]
mov edx, 0x20
mov ecx, esi
push dword [esp + 0x54]
push dword [ebp + 0xc]
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f770
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 8]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x1009f7a3
cwde
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
mov eax, dword [esp + 0x10]
push dword [edx]
push str._s._s
push dword [eax]
call fcn.1004fc30
add esp, 0x10
mov edx, 0x613
jmp 0x1009f7bd
push dword [edx]
mov eax, dword [esp + 0x10]
push str._s.rowid
push dword [eax]
call fcn.1004fc30
add esp, 0xc
mov edx, 0xa13
mov ecx, dword [esp + 0xc]
push 2
push 0xfffffffffffffff9
push eax
push 2
call fcn.10093b70
add esp, 0x10
jmp 0x1009f826
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009f7f3
push 0
push dword [esp + 0x54]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f826
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009f840
push edi
mov edx, esi
call fcn.1006cde0
add esp, 4
jmp 0x1009f849
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
mov eax, dword [esp + 8]
test byte [eax + 0x24], 0x80
jne 0x1009f8d9
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov edi, dword [edx + ecx*4]
movsx edx, word [eax + 0x2c]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x80], edi
cmp dword [esi + 0x70], ecx
jg 0x1009f88c
push edi
push edx
push eax
mov edx, 0x5b
mov ecx, esi
call fcn.1006c6e0
add esp, 0xc
jmp 0x1009f8c2
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
inc edi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x33], 0
jne 0x1009f8d9
mov edx, dword [esp + 8]
mov ecx, esi
push 0
call fcn.1009c3b0
add esp, 4
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret