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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0x14]
movlpd qword [ebp - 0x50], xmm0
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x48], 0
push edi
mov edi, dword [eax + 8]
mov dword [ebp - 0x20], edi
test ebx, ebx
je 0x100d8987
xor edx, edx
cmp dword [ebx], 0x40
cmovge ebx, edx
mov dword [ebp + 0x14], ebx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
cmp edx, 0x40
jle 0x100d89a9
push 0x40
push str.at_most__d_tables_in_a_join
push eax
call fcn.10096580
add esp, 0xc
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x20]
test al, 0x20
mov dword [ebp - 0x10], eax
mov eax, 1
cmovne edx, eax
push esi
push 0
mov dword [ebp - 0x18], edx
lea esi, [edx + edx*2]
shl esi, 5
lea eax, [esi + 0x2ff]
and eax, 0xfffffff8
mov dword [ebp - 0x40], eax
add eax, 0x50
push eax
push ecx
call fcn.10093fb0
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], ecx
cmp byte [edx + 0x57], 0
je 0x100d8a67
test ecx, ecx
je 0x100d8da4
cmp ecx, dword [edx + 0x164]
jae 0x100d8a3a
cmp ecx, dword [edx + 0x15c]
jb 0x100d8a1b
mov eax, dword [edx + 0x158]
pop esi
mov dword [ecx], eax
xor eax, eax
pop edi
mov dword [edx + 0x158], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, dword [edx + 0x160]
jb 0x100d8a3a
mov eax, dword [edx + 0x150]
pop esi
mov dword [ecx], eax
xor eax, eax
pop edi
mov dword [edx + 0x150], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edx + 0x210], 0
push ecx
je 0x100d8a56
push edx
call fcn.10071700
add esp, 8
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call sym.e_sqlite3.dll_sqlite3_free
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx], edx
mov dword [ecx + 8], ebx
mov dword [ecx + 0x18], 0xffffffff
mov dword [ecx + 0x14], 0xffffffff
mov byte [ecx + 0x2c], al
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x10]
mov word [ecx + 0x28], ax
mov eax, dword [ebp + 0x24]
mov word [ecx + 0x2a], ax
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x8c]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x10], eax
lea eax, [esi + 0x50]
movups xmmword [ecx + 0x2d], xmm0
push eax
movups xmmword [ecx + 0x3d], xmm0
mov word [ecx + 0x4d], 0
mov byte [ecx + 0x4f], 0
add ecx, 0x2f8
push 0
push ecx
mov dword [ebp - 0x24], ecx
call fcn.100fc010
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x40]
lea edx, [esi + 0x50]
add ecx, esi
mov dword [ebp - 0x2c], edx
push 0x2c
push dword [ebp + 0x10]
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x1f8], 0xffffff9d
lea eax, [ecx + 0x40]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], ecx
mov dword [ecx + 0x38], eax
xor eax, eax
mov word [ecx + 0x30], ax
mov eax, 3
mov word [ecx + 0x34], ax
lea eax, [edx + 0x20]
mov dword [ecx + 0x2c], 0
push edx
mov dword [edx], esi
mov byte [edx + 9], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], 8
mov dword [edx + 0x18], eax
call fcn.100dd960
add esp, 0x18
cmp dword [ebp - 0x18], 0
jne 0x100d8ba0
test ebx, ebx
je 0x100d8b72
mov al, byte [ebx]
mov byte [esi + 0x2d], al
test dword [ebp - 0x10], 0x100
je 0x100d8b88
mov eax, dword [ebp - 0xc]
test byte [eax + 0x50], 0x10
jne 0x100d8b88
mov byte [esi + 0x2f], 1
mov ecx, dword [ebp + 8]
push str.SCAN_CONSTANT_ROW
push 0
push ecx
call fcn.100d2010
mov eax, dword [ebp + 0xc]
add esp, 0xc
jmp 0x100d8be4
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp - 4]
add esi, 8
nop dword [eax + eax]
mov ecx, dword [edi + 0x1f4]
mov eax, dword [esi + 0x2c]
mov dword [edi + ecx*4 + 0x1f8], eax
lea eax, [edi + 0x50]
inc dword [edi + 0x1f4]
push eax
push esi
push dword [ebp + 8]
call fcn.100dd9d0
mov eax, dword [ebp + 0xc]
inc ebx
add esp, 0xc
add esi, 0x48
cmp ebx, dword [eax]
jl 0x100d8bb0
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ecx + 0xc]
sub esi, 1
js 0x100d8c0a
mov edi, ecx
push esi
push edi
push eax
call fcn.10032c70
mov eax, dword [ebp + 0xc]
add esp, 0xc
sub esi, 1
jns 0x100d8bf1
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x100d8c21
cmp dword [eax + 0x3c], 0
je 0x100d8c21
push eax
push ecx
call fcn.100d8870
add esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
jne 0x100d8d89
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x14], 0
jle 0x100d8ccc
xor ebx, ebx
xor edi, edi
nop
mov esi, dword [ecx + 0x18]
add esi, ebx
test byte [esi + 0xa], 2
jne 0x100d8cb9
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x100d8cb9
cmp dword [ebp - 0x18], eax
je 0x100d8c9c
mov eax, dword [esi]
xorps xmm0, xmm0
movq qword [ebp - 0x68], xmm0
mov ecx, 1
mov dword [ebp - 0x60], 0
mov word [ebp - 0x64], cx
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x74], 0x10035d90
mov dword [ebp - 0x70], 0x100c21e0
test eax, eax
je 0x100d8c9c
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.100ec610
add esp, 8
cmp word [ebp - 0x64], 0
je 0x100d8cb6
mov eax, dword [ebp - 4]
push 0x10
push dword [eax + 0x20]
push dword [esi]
push dword [ebp + 8]
call fcn.1009a4f0
add esp, 0x10
or word [esi + 0xa], 4
mov ecx, dword [ebp - 0x58]
inc edi
add ebx, 0x30
cmp edi, dword [ecx + 0x14]
jl 0x100d8c40
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x18]
test edx, 0x100
je 0x100d8d2b
mov ecx, dword [ebp - 0xc]
test byte [ecx + 0x50], 0x10
je 0x100d8cfa
mov esi, dword [ebp - 4]
and edx, 0xfeff
mov eax, 0xfeff
mov dword [ebp - 0x10], edx
and word [esi + 0x28], ax
jmp 0x100d8d2e
push ebx
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
push eax
call fcn.1006cc60
mov esi, dword [ebp - 4]
add esp, 0x10
test eax, eax
je 0x100d8d17
mov byte [esi + 0x2f], 1
jmp 0x100d8d2e
cmp dword [ebp + 0x14], 0
jne 0x100d8d2e
mov eax, 0x80
mov dword [esi + 8], ebx
or word [esi + 0x28], ax
jmp 0x100d8d2e
mov esi, dword [ebp - 4]
cmp dword [ebp - 0x18], 1
jne 0x100d8d44
lea eax, [ebp - 0x5c]
push eax
call fcn.100f19f0
add esp, 4
test eax, eax
jne 0x100d8dad
lea eax, [ebp - 0x5c]
push eax
call fcn.100ed3a0
add esp, 4
test eax, eax
jne 0x100d8d89
push eax
push esi
call fcn.100f0940
mov ecx, dword [ebp - 0xc]
add esp, 8
cmp byte [ecx + 0x57], 0
jne 0x100d8d89
cmp dword [esi + 8], 0
je 0x100d8db6
mov ax, word [esi + 0x34]
inc ax
movzx eax, ax
push eax
push esi
call fcn.100f0940
mov ecx, dword [ebp - 0xc]
add esp, 8
cmp byte [ecx + 0x57], 0
je 0x100d8db0
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
push ebx
push dword [ebp - 0xc]
mov eax, dword [ebx + 0x24]
mov dword [ecx + 0x8c], eax
call fcn.100ed080
add esp, 8
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
cmp dword [esi + 8], 0
jne 0x100d8dd1
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x100d8dd1
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], 0xffffffff
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
jne 0x100d8d89
mov al, byte [esi + 0x2c]
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
cmp al, 2
jb 0x100d8e40
test ebx, ebx
je 0x100d8e2b
mov eax, dword [ebp - 0x10]
xor edx, edx
and eax, 0x400
cmp dx, ax
jne 0x100d8e2b
test dword [ecx + 0x50], 0x100
jne 0x100d8e2b
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.100efdb0
mov dword [ebp - 0x30], eax
add esp, 0xc
mov al, byte [esi + 0x2c]
movzx ecx, al
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], ecx
cmp al, 2
jb 0x100d8e40
mov eax, dword [ebp - 0xc]
test dword [eax + 0x50], 0x80000
jne 0x100d8e40
push esi
call fcn.100ecde0
add esp, 4
mov ecx, dword [esi]
movsx eax, word [esi + 0x34]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0
add dword [ecx + 0x8c], eax
test bl, 4
je 0x100d8ee0
mov edx, dword [esi + 0x348]
mov ecx, dword [edx + 0x2c]
test ecx, 0x1000
jne 0x100d8ea3
mov dword [ebp - 0x1c], 0
test bl, 8
je 0x100d8ee0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x100d8ee0
test ecx, 0x2000
je 0x100d8ea3
mov dword [ebp - 0x1c], 0
test bl, 0x10
je 0x100d8ee0
mov eax, ecx
mov dword [ebp - 0x1c], 0
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [esi + 0x2e], al
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x100d8ee0
mov dword [ebp - 0x1c], 0
test cl, 0x40
je 0x100d8ee0
and ecx, 0xffffffbf
mov eax, ebx
and eax, 8
mov dword [edx + 0x2c], ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], 0
test ecx, ecx
jle 0x100d95eb
lea ebx, [esi + 0x2f8]
nop dword [eax + eax]
movzx eax, byte [ebx + 0x3c]
mov edx, 0xffff8000
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
lea eax, [eax + eax*8]
lea eax, [eax + 1]
mov ebx, dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ebx
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x100d8f4b
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x100d8f4b
nop dword [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x100d8f40
mov dword [ebp - 0x28], edx
test dword [ebx + 0x1c], 0x4000
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x38], ecx
jne 0x100d9018
mov al, byte [ebx + 0x2b]
cmp al, 2
je 0x100d9018
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x100d912e
mov esi, dword [ebx + 0x34]
test esi, esi
je 0x100d8f90
mov eax, dword [ebp - 0xc]
cmp dword [esi], eax
je 0x100d8f90
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x100d8f85
mov eax, dword [ebp - 0x14]
mov edx, dword [edi + 0x6c]
mov ebx, dword [eax + 0x2c]
cmp dword [edi + 0x70], edx
jg 0x100d8fb5
push 0
push 0
push ebx
push 0xad
push edi
call fcn.1006b1b0
add esp, 0x14
mov edx, eax
jmp 0x100d8fe7
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp - 0x20]
mov dword [eax + ecx*4], 0xad
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x100d9018
test edx, edx
jns 0x100d8ff7
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x100d9117
push 0xfffffffffffffff5
push esi
push eax
push edi
call fcn.100e5fe0
add esp, 0x10
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
test dword [edx + 0x2c], 0x200
je 0x100d905c
test byte [esi + 0x1c], 0x80
mov ebx, dword [edx + 0x20]
mov dword [ebp - 0x44], 0x70
je 0x100d9248
mov eax, dword [ebx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [ebp - 0x10]
jne 0x100d924b
test al, 0x20
je 0x100d924b
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
js 0x100d9092
mov eax, dword [ebx + 0x78]
mov edx, ebx
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x58]
test esi, eax
jne 0x100d9092
bts esi, ecx
mov dword [edx + 0x58], esi
cmp ecx, 1
jne 0x100d9092
push edx
call fcn.100b4570
add esp, 4
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
test byte [eax + 0x24], 0x10
je 0x100d95d0
mov eax, dword [esi]
push 0
push 0x24
push dword [eax]
call fcn.10093fb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x100d90d1
mov ecx, dword [esi + 0x44]
mov dword [ebx], ecx
mov dword [ebx + 8], 0x14
mov dword [ebx + 0xc], 0
mov dword [esi + 0x44], ebx
add ebx, 0x10
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x38], ebx
test ebx, ebx
je 0x100d95d0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x28]
mov dword [ebx], eax
inc dword [ecx + 0x2c]
inc dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov dword [ebx + 4], edx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x100d93c1
push 0
push edx
push 0x10000
push 0x4d
push edi
call fcn.1006b1b0
add esp, 0x14
jmp 0x100d93f0
test esi, esi
je 0x100d9018
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf5
inc dword [esi + 0xc]
jmp 0x100d9018
cmp al, 1
je 0x100d9018
test cl, 0x40
jne 0x100d9141
test byte [ebp - 0x10], 0x20
je 0x100d9186
mov eax, dword [ebp - 0x14]
test byte [eax + 0x24], 0x50
jne 0x100d9189
mov esi, dword [ebp - 8]
cmp edx, 1
je 0x100d901b
mov ebx, dword [ebp + 8]
mov ecx, edx
add ecx, ecx
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x100d901b
push dword [esi]
push 0
push dword [esi + 0x14]
push edx
push ebx
call fcn.100701e0
add esp, 0x14
jmp 0x100d901b
mov eax, dword [ebp - 0x14]
cmp byte [esi + 0x2e], 0
mov ecx, 0x70
je 0x100d919f
mov eax, dword [eax + 0x2c]
mov ecx, 0x71
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x14]
push ecx
push ebx
mov ebx, dword [ebp + 8]
push edx
push dword [eax + 0x2c]
push ebx
call fcn.100b4250
add esp, 0x14
cmp byte [esi + 0x2e], 0
jne 0x100d9227
mov ebx, dword [ebp - 8]
cmp word [ebx + 0x22], 0x40
jge 0x100d9227
test byte [ebx + 0x1c], 0xe0
jne 0x100d9227
mov eax, dword [ebp - 0x38]
test dword [eax + 0x2c], 0x404000
jne 0x100d9227
mov eax, dword [ebp - 0x14]
xor esi, esi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x100d91f4
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x100d91e7
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x100d9227
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xffffffec
cmp byte [eax + 1], 0
je 0x100d9220
push 0xfffffffffffffffd
push esi
push eax
push edi
call fcn.100e5fe0
add esp, 0x10
jmp 0x100d9227
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfd
mov eax, dword [edi + 0x6c]
mov esi, dword [ebp - 8]
test eax, eax
jle 0x100d901b
mov edx, dword [ebp - 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x100d901b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
cmp byte [ecx + 0x2e], 0
je 0x100d927a
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x100d9270
cmp eax, ebx
je 0x100d9270
mov eax, dword [eax + 0x14]
inc esi
test eax, eax
jne 0x100d9264
mov edx, 0x71
mov dword [ecx + 0x18], esi
jmp 0x100d92c7
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x100d928e
test al, 0x20
je 0x100d928e
mov esi, ecx
mov edx, 0x65
jmp 0x100d92c7
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x28]
lea eax, [esi + 1]
mov dword [ecx + 0x28], eax
test dword [ebx + 0x38], 0x800
je 0x100d92c2
mov eax, dword [ebp - 0xc]
test dword [eax + 0x50], 0x1000000
jne 0x100d92c2
push dword [ebp - 0x14]
push esi
push ebx
push ecx
call fcn.100ec7c0
mov edx, dword [ebp - 0x44]
add esp, 0x10
jmp 0x100d92c7
mov edx, 0x70
mov ecx, dword [ebp - 0x24]
mov eax, esi
mov dword [ecx + 8], eax
mov ecx, dword [edi + 0x6c]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x44], eax
cmp dword [edi + 0x70], ecx
jg 0x100d92ee
push dword [ebp - 0x28]
push eax
push esi
push edx
push edi
call fcn.1006b1b0
add esp, 0x14
jmp 0x100d9323
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [ebp - 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, eax
push ebx
mov esi, dword [eax + 8]
call fcn.100b2220
mov edx, eax
add esp, 8
test edx, edx
je 0x100d9371
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x100d935f
cmp dword [eax + 0x210], 0
jne 0x100d9371
add dword [edx], 0xffffffff
jne 0x100d9371
push edx
push dword [edx + 0xc]
call fcn.10094130
add esp, 8
jmp 0x100d9371
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
test al, 0xf
je 0x100d905f
test eax, 0x188002
jne 0x100d905f
mov eax, dword [ebp - 4]
test byte [eax + 0x28], 1
jne 0x100d905f
cmp byte [eax + 0x2f], 2
je 0x100d905f
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x100d905f
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x100d905f
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], 0x10000
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 + 8]
inc dword [eax + 0x2c]
mov edx, dword [eax + 0x2c]
mov dword [ebx + 8], edx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x100d9416
push 0
push edx
push 0
push 0x4b
push edi
call fcn.1006b1b0
add esp, 0x14
jmp 0x100d9448
mov esi, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x4b
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 - 8]
test byte [eax + 0x1c], 0x80
jne 0x100d950e
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx]
cmp dword [edi + 0x70], ecx
jg 0x100d9471
push 0
push 1
push edx
push 0x76
push edi
call fcn.1006b1b0
add esp, 0x14
jmp 0x100d94a0
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x76
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 eax, dword [ebp + 8]
push 0
push 1
push dword [eax]
call fcn.100b2110
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100d95c1
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x14], 0
mov byte [ecx], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x100d94f7
cmp dword [eax + 0x210], 0
jne 0x100d95c1
add dword [edx], 0xffffffff
jne 0x100d95c1
push edx
push dword [edx + 0xc]
call fcn.10094130
add esp, 8
jmp 0x100d95c1
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
jmp 0x100d95c1
mov esi, dword [eax + 8]
test esi, esi
je 0x100d9525
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x100d9525
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x100d9515
mov ecx, dword [edi + 0x6c]
movzx edx, word [esi + 0x32]
mov ebx, dword [ebx]
cmp dword [edi + 0x70], ecx
jg 0x100d9544
push 0
push edx
push ebx
push 0x76
push edi
call fcn.1006b1b0
add esp, 0x14
jmp 0x100d9572
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp - 0x20]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 4], ebx
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 + 8]
push esi
push eax
mov ebx, dword [eax + 8]
call fcn.100b2220
mov edx, eax
add esp, 8
test edx, edx
je 0x100d95be
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x100d95ac
cmp dword [eax + 0x210], 0
jne 0x100d95be
add dword [edx], 0xffffffff
jne 0x100d95be
push edx
push dword [edx + 0xc]
call fcn.10094130
add esp, 8
jmp 0x100d95be
mov eax, dword [ebx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
and dword [eax + 0x2c], 0xffffffbf
mov byte [esi + 0x2d], 0
mov byte [esi + 0x2f], 3
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x24]
inc eax
mov ecx, dword [ebp - 0x18]
add ebx, 0x60
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], ebx
cmp eax, ecx
jl 0x100d8f00
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x57], 0
jne 0x100d8d89
xor esi, esi
mov dword [ebp - 0x28], esi
test ecx, ecx
jle 0x100d982d
mov ebx, dword [ebp - 4]
add ebx, 0x334
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
jne 0x100d8d89
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebx]
lea eax, [eax + eax*8]
lea edx, [ecx + eax*8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x40], edx
test al, 0x10
je 0x100d9770
test al, 8
je 0x100d96a9
mov ecx, dword [edi + 0x6c]
mov esi, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
cmp dword [edi + 0x70], ecx
jg 0x100d9676
push 0
push esi
push edx
push 0xa
push edi
call fcn.1006b1b0
add esp, 0x14
jmp 0x100d976d
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp - 0x20]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100d976d
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x100d96c6
push 0
push 0
push 0
push 0xf
push edi
call fcn.1006b1b0
add esp, 0x14
mov esi, eax
jmp 0x100d96f9
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
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 edx, dword [ebp - 0x40]
mov ecx, dword [edi + 0x6c]
mov eax, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov dword [ebp - 0x44], eax
cmp dword [edi + 0x70], ecx
jg 0x100d971e
push 0
push eax
push edx
push 0xa
push edi
call fcn.1006b1b0
add esp, 0x14
jmp 0x100d974f
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp - 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x44]
mov dword [eax + ecx*4], 0xa
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]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x100d9761
mov eax, 0x101296c4
jmp 0x100d976a
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
test ecx, 0x404000
je 0x100d97cd
lea eax, [ebx - 0x3c]
test ecx, 0x4000
je 0x100d97ad
mov ecx, dword [ebp + 0xc]
push eax
movzx eax, byte [ebx]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
push eax
push dword [ebp - 0x2c]
push dword [ebp + 8]
call fcn.1002eeb0
add esp, 0x18
jmp 0x100d97c0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push eax
push esi
push dword [ebp - 4]
call fcn.10091f80
add esp, 0x14
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x57], 0
jne 0x100d8d89
push dword [ebp - 0x10]
lea esi, [ebx - 0x3c]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100dcc50
push dword [ebp - 0x34]
mov eax, dword [edi + 0x6c]
push dword [ebp - 0x30]
mov dword [ebx - 0x1c], eax
push esi
mov esi, dword [ebp - 0x28]
push esi
push dword [ebp - 4]
push edi
push dword [ebp + 8]
call fcn.100d9920
mov ecx, dword [ebp - 4]
inc esi
mov dword [ebp - 0x30], eax
add esp, 0x2c
mov eax, dword [ebx - 0x24]
add ebx, 0x60
mov dword [ebp - 0x34], edx
mov dword [ecx + 0x1c], eax
mov dword [ebp - 0x28], esi
cmp esi, dword [ebp - 0x18]
jl 0x100d9620
mov eax, dword [edi + 0x6c]
pop esi
pop edi
mov dword [ecx + 0x3c], eax
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0x6c]
pop esi
pop edi
mov dword [ecx + 0x3c], eax
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret