Function at 0x100d75c0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, ecx
mov dword [esp + 0x2c], 0xa6
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x3c], ecx
push ebx
mov ecx, dword [eax]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, edx
mov dword [esp + 0x30], ecx
push edi
xor edi, edi
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebx
test esi, esi
je 0x100d76b3
test byte [eax + 0x18], 6
je 0x100d762b
mov dword [esp + 0x24], ebx
jmp 0x100d76b3
mov eax, dword [ecx + 0x14]
xor edi, edi
mov dword [esp + 0x44], eax
test eax, eax
jle 0x100d7678
mov ebx, dword [ecx + 0x10]
nop dword [eax + eax]
mov edx, dword [ebx]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100d775e
test ecx, ecx
jne 0x100d7770
mov edx, dword [esp + 0x34]
mov eax, edi
mov esi, dword [esp + 0x24]
add eax, eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + eax*8 + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
cmp edi, eax
jne 0x100d76ae
mov edx, str.main
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100d778f
test ecx, ecx
jne 0x100d77a5
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
nop dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x100d782b
xor ebx, ebx
lea ecx, [eax + 8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ecx
cmp dword [eax], ebx
jle 0x100d77f5
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x3c], edx
test eax, eax
je 0x100d78b1
test dword [eax + 4], 0x800
je 0x100d78b1
mov ebx, dword [eax + 0x1c]
xor esi, esi
mov dword [esp + 0x44], 0
cmp dword [ebx], esi
jle 0x100d77c7
lea edi, [ebx + 8]
nop dword [eax + eax]
push dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.100d82d0
mov ecx, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x100d77ab
mov eax, dword [ebp + 0x14]
inc dword [esp + 0x14]
mov dword [esp + 0x2c], 2
mov dword [esp + 0x1c], ecx
mov word [eax + 0x20], si
mov eax, 1
mov dword [esp + 0x44], eax
jmp 0x100d77af
movzx eax, byte [eax + 0x10137280]
movzx ecx, byte [ecx + 0x10137280]
sub ecx, eax
jne 0x100d7776
inc edx
jmp 0x100d7644
mov eax, dword [esp + 0x44]
inc edi
mov esi, dword [esp + 0x24]
add ebx, 0x10
cmp edi, eax
jge 0x100d7676
jmp 0x100d7640
movzx eax, byte [eax + 0x10137280]
movzx ecx, byte [ecx + 0x10137280]
sub ecx, eax
jne 0x100d76ae
inc edx
jmp 0x100d7683
mov eax, dword [esp + 0x44]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x100d7720
test eax, eax
jne 0x100d7a4a
mov edx, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x28]
test eax, eax
jne 0x100d78b4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
inc ebx
add ecx, 0x48
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ecx
cmp ebx, dword [eax]
jl 0x100d76e4
mov esi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x100d7820
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x2c], eax
test byte [ebx + 0x24], 8
je 0x100d7819
or dword [ecx + 4], 0x100000
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x30], eax
test edi, edi
jne 0x100d7d3b
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x24], 0
jne 0x100d7c5c
mov edx, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [edx + 0x78]
test eax, eax
je 0x100d7af8
movzx edi, byte [edx + 0x90]
cmp byte [edx + 0x91], bl
je 0x100d7a73
mov esi, dword [ebp + 0x10]
test dword [esi + 0x18], 0x400
je 0x100d7af8
test ecx, ecx
je 0x100d789b
mov esi, dword [eax]
mov edx, ecx
sub esi, ecx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100d7a57
test ecx, ecx
jne 0x100d7a6d
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp edi, 0x7f
setne al
mov dword [ecx + 0x1c], eax
mov ebx, dword [edx + 0x78]
jmp 0x100d7af4
mov eax, dword [ebp + 8]
cmp dword [esp + 0x24], 0
je 0x100d78c8
mov esi, dword [esp + 0x30]
cmp dword [edx + 0x3c], esi
jne 0x100d77d6
test eax, eax
je 0x100d793c
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x100d78d7
mov edx, edi
jmp 0x100d78d9
mov edx, dword [edx]
mov esi, eax
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100d791d
test ecx, ecx
jne 0x100d7933
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xc8], 2
jb 0x100d793c
test edi, edi
je 0x100d793c
mov eax, dword [eax + 0x10c]
test eax, eax
je 0x100d793c
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x100d7936
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100d7910
jmp 0x100d793c
movzx eax, byte [eax + 0x10137280]
movzx ecx, byte [ecx + 0x10137280]
sub ecx, eax
jne 0x100d7a34
inc edx
jmp 0x100d78e0
mov dword [eax], 0
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.1010dd70
mov edx, dword [esp + 0x3c]
mov cl, al
xor ebx, ebx
mov byte [esp + 0x13], cl
movsx eax, word [edx + 0x22]
mov edi, dword [edx + 4]
mov dword [esp + 0x44], eax
test eax, eax
jle 0x100d79fe
cmp byte [edi + 0xa], cl
jne 0x100d79ee
mov edx, dword [edi]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x100d79ce
test eax, eax
jne 0x100d79e0
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x100d79a9
mov eax, dword [esp + 0x20]
mov esi, dword [ebp + 0xc]
test byte [eax + 0x24], 4
jne 0x100d79e6
mov ecx, dword [eax + 0x34]
mov edx, esi
call fcn.100d83b0
test eax, eax
jne 0x100d79e6
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
inc eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
movsx eax, word [edx + 0x20]
cmp ebx, eax
jne 0x100d7a28
mov ebx, dword [ebp + 0x14]
or eax, 0xffffffff
mov word [ebx + 0x20], ax
jmp 0x100d7a02
movzx ecx, byte [ecx + 0x10137280]
movzx eax, byte [eax + 0x10137280]
sub eax, ecx
jne 0x100d79e3
inc edx
jmp 0x100d7972
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x44]
mov cl, byte [esp + 0x13]
inc ebx
add edi, 0x10
cmp ebx, eax
jl 0x100d7965
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x100d7a3d
test dword [edx + 0x1c], 0x200
mov ebx, dword [esp + 0x28]
jne 0x100d7a1f
inc dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
jmp 0x100d77da
movsx eax, bx
mov ebx, dword [ebp + 0x14]
mov word [ebx + 0x20], ax
jmp 0x100d7a02
mov ecx, dword [esp + 0x20]
jmp 0x100d77d6
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
jmp 0x100d77da
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
jmp 0x100d77da
movzx eax, byte [eax + 0x10137280]
movzx ecx, byte [ecx + 0x10137280]
sub ecx, eax
jne 0x100d7af8
inc edx
jmp 0x100d7880
cmp edi, 0x7f
je 0x100d7ab5
test ecx, ecx
je 0x100d7ab5
mov edx, 0x10129910
mov esi, ecx
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100d7aa0
test ecx, ecx
jne 0x100d7ab2
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x1c], 1
jmp 0x100d7aed
movzx eax, byte [eax + 0x10137280]
movzx ecx, byte [ecx + 0x10137280]
sub ecx, eax
jne 0x100d7ab5
inc edx
jmp 0x100d7a85
cmp edi, 0x7e
je 0x100d7af8
mov eax, dword [ebp + 8]
test eax, eax
je 0x100d7afb
mov edx, 0x10129914
mov esi, eax
sub esi, edx
nop word [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100d7bbd
test ecx, ecx
jne 0x100d7bd3
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x1c], ebx
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x78]
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
test dword [ecx + 0x18], 0x200
je 0x100d7b4b
test eax, eax
je 0x100d7b4b
mov edi, dword [ecx + 8]
test edi, edi
je 0x100d7b4b
mov edx, str.excluded
mov esi, eax
sub esi, edx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100d7bd9
test ecx, ecx
jne 0x100d7bef
mov eax, dword [edi + 0x20]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [eax + 0x1c], 2
test ebx, ebx
je 0x100d7c58
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.1010dd70
inc dword [esp + 0x2c]
mov cl, al
mov eax, dword [ebx + 0x3c]
xor edi, edi
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 4]
movsx ebx, word [ebx + 0x22]
mov byte [esp + 0x13], cl
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ebx
test ebx, ebx
jle 0x100d7c29
cmp byte [eax + 0xa], cl
jne 0x100d7c19
mov edx, dword [eax]
mov ebx, esi
sub ebx, edx
movzx eax, byte [edx]
movzx esi, byte [ebx + edx]
cmp eax, esi
jne 0x100d7bf5
test eax, eax
jne 0x100d7c07
mov eax, dword [esp + 0x20]
mov esi, 0xffffffff
mov ebx, dword [esp + 0x3c]
movsx eax, word [eax + 0x20]
cmp edi, eax
cmove edi, esi
jmp 0x100d7c2c
movzx eax, byte [eax + 0x10137280]
movzx ecx, byte [ecx + 0x10137280]
sub ecx, eax
jne 0x100d7af8
inc edx
jmp 0x100d7ad0
movzx eax, byte [eax + 0x10137280]
movzx ecx, byte [ecx + 0x10137280]
sub ecx, eax
jne 0x100d7b4b
inc edx
jmp 0x100d7b20
movzx ecx, byte [eax + 0x10137280]
movzx eax, byte [esi + 0x10137280]
sub ecx, eax
jne 0x100d7c0a
inc edx
jmp 0x100d7b96
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov cl, byte [esp + 0x13]
mov esi, dword [ebp + 0xc]
inc edi
add eax, 0x10
mov dword [esp + 0x44], eax
cmp edi, ebx
jl 0x100d7b87
or esi, 0xffffffff
cmp edi, ebx
jl 0x100d7c4c
mov ecx, dword [ebp + 0xc]
call fcn.100d2750
test eax, eax
mov eax, dword [esp + 0x20]
je 0x100d7c50
test dword [eax + 0x1c], 0x200
cmove edi, esi
jmp 0x100d7c50
mov eax, dword [esp + 0x20]
cmp edi, ebx
jl 0x100d7d49
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x2c], 1
mov esi, dword [ebp + 0xc]
jne 0x100d7c8e
test ebx, ebx
je 0x100d7c8e
mov eax, dword [ebp + 0x10]
test byte [eax + 0x18], 0x28
jne 0x100d7c8e
mov ecx, esi
call fcn.100d2750
test eax, eax
je 0x100d7c8e
mov eax, dword [ebx + 0x10]
test dword [eax + 0x1c], 0x200
je 0x100d7e79
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
test byte [ebx + 0x18], 0x80
je 0x100d7d04
test ecx, ecx
jne 0x100d7d04
mov ecx, dword [ebx + 8]
xor edx, edx
mov dword [esp + 0x44], edx
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x100d7d01
lea ebx, [ecx + 0x14]
test byte [ebx], 3
mov edi, dword [ebx - 8]
jne 0x100d7cf2
test edi, edi
jne 0x100d7cc8
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x100d7cea
test esi, esi
je 0x100d7cf2
mov edx, edi
sub esi, edi
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x100d7d26
test ecx, ecx
jne 0x100d7d38
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x100d7e91
inc edx
add ebx, 0x14
mov dword [esp + 0x44], edx
cmp edx, eax
jl 0x100d7cb4
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebx + 0xc]
inc dword [esp + 0x48]
mov dword [ebp + 0x10], ebx
test ebx, ebx
je 0x100d7f7e
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10]
jmp 0x100d76c0
movzx ecx, byte [ecx + 0x10137280]
movzx eax, byte [eax + 0x10137280]
sub ecx, eax
jne 0x100d7cdf
inc edx
jmp 0x100d7cd0
cmp edi, 1
je 0x100d80a8
jmp 0x100d803b
mov ebx, dword [ebp + 0x14]
xor edx, edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], edx
mov esi, dword [ebx + 0x1c]
cmp esi, 2
jne 0x100d7db0
cmp byte [ecx + 0xc8], 2
jb 0x100d7d87
mov word [ebx + 0x20], di
mov edi, dword [esp + 0x14]
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x38], 0xa6
jmp 0x100d80af
mov edx, edi
mov ecx, eax
call fcn.100c24e0
mov edi, dword [esp + 0x14]
movsx ecx, ax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x38], 0xaf
mov eax, dword [eax + 8]
add ecx, dword [eax + 0x24]
mov dword [ebx + 0x1c], ecx
jmp 0x100d80ab
mov dword [ebx + 0x2c], eax
cmp byte [ecx + 0x91], dl
je 0x100d7df2
mov edx, edi
mov dword [esp + 0x38], 0xaf
mov ecx, eax
call fcn.100c24e0
movsx ecx, ax
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
movsx eax, word [eax + 0x22]
inc eax
imul eax, esi
add ecx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
inc eax
add eax, ecx
mov dword [ebx + 0x1c], eax
jmp 0x100d80ab
mov word [ebx + 0x20], di
mov dword [esp + 0x38], 0x4d
test edi, edi
jns 0x100d7e0f
mov edi, dword [esp + 0x14]
mov byte [ebx + 1], 0x44
jmp 0x100d80af
test esi, esi
jne 0x100d7e46
cmp edi, 0x20
jl 0x100d7e2a
mov edi, dword [esp + 0x14]
or eax, 0xffffffff
or dword [ecx + 0x88], eax
jmp 0x100d80af
mov ecx, edi
mov eax, 1
mov edi, dword [esp + 0x14]
shl eax, cl
mov ecx, dword [esp + 0x18]
or dword [ecx + 0x88], eax
jmp 0x100d80af
cmp edi, 0x20
jl 0x100d7e5d
mov edi, dword [esp + 0x14]
or eax, 0xffffffff
or dword [ecx + 0x8c], eax
jmp 0x100d80af
mov ecx, edi
mov eax, 1
mov edi, dword [esp + 0x14]
shl eax, cl
mov ecx, dword [esp + 0x18]
or dword [ecx + 0x8c], eax
jmp 0x100d80af
mov ebx, dword [ebp + 0x14]
or ecx, 0xffffffff
mov edi, 1
mov word [ebx + 0x20], cx
mov byte [ebx + 1], 0x44
jmp 0x100d80ab
mov ebx, dword [ebp + 0x10]
lea eax, [edx + edx*4]
mov esi, dword [ebx + 8]
mov ecx, dword [ebx + 0x18]
mov eax, dword [esi + eax*4 + 8]
test cl, 1
jne 0x100d7eca
test byte [eax + 4], 0x10
je 0x100d7eca
push edi
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x20]
call fcn.1010dfc0
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x100d7eeb
test ecx, 0x4000
je 0x100d7ee3
mov ecx, dword [esp + 0x40]
cmp ebx, ecx
je 0x100d7eeb
push edi
push str.misuse_of_aliased_window_function__s
jmp 0x100d7eb2
mov cl, byte [eax]
cmp cl, 0xaf
jne 0x100d7ef5
mov cl, byte [eax + 2]
cmp cl, 0xb0
jne 0x100d7eff
mov eax, dword [eax + 0x14]
jmp 0x100d7f0a
cmp cl, 0x89
jne 0x100d7f2e
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x100d7f2e
push str.row_value_misused
push dword [esp + 0x1c]
call fcn.1010dfc0
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x48]
mov ebx, dword [ebp + 0x14]
push ecx
push ebx
push edx
mov edx, esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.100d8420
add esp, 0xc
cmp byte [esi + 0xc8], 2
jb 0x100d8181
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x100d8181
cmp dword [eax], ebx
je 0x100d7f73
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100d7f63
jmp 0x100d8181
mov dword [eax], 0
jmp 0x100d8181
test ecx, ecx
jne 0x100d8037
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi + 4]
test bl, 0x40
je 0x100d7fdb
mov eax, dword [esp + 0x34]
cmp byte [eax + 0xb1], cl
jne 0x100d8010
mov ecx, dword [esp + 0x40]
test dword [ecx + 0x18], 0x10000
je 0x100d8003
mov ecx, dword [eax + 0x20]
xor edx, edx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x54], eax
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x100d7fd1
test edx, edx
jne 0x100d7fd1
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x100d8010
and ecx, 0x20000000
or ecx, edx
jne 0x100d8010
test ebx, 0x4000400
jne 0x100d8037
mov ecx, dword [edi + 8]
call fcn.100d2e20
test eax, eax
je 0x100d8037
or ebx, eax
mov byte [edi], 0xa9
mov dword [edi + 4], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x20]
and eax, 0x40000000
or eax, 0
je 0x100d7fdb
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call sym.SQLite.Interop.dll_SI950480ab972e108d
xorps xmm0, xmm0
mov byte [edi], 0x74
add esp, 0xc
movq qword [edi + 0x2c], xmm0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
test edi, edi
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [esp + 0x24]
push esi
test ecx, ecx
je 0x100d806b
push dword [ebp + 8]
push ecx
push eax
push str._s:__s._s._s
push dword [esp + 0x2c]
call fcn.1010dfc0
add esp, 0x18
jmp 0x100d8099
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100d8087
push ecx
push eax
push str._s:__s._s
push dword [esp + 0x28]
call fcn.1010dfc0
add esp, 0x14
jmp 0x100d8099
push eax
push str._s:__s
push dword [esp + 0x24]
call fcn.1010dfc0
add esp, 0x10
mov eax, dword [esp + 0x18]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x40]
inc dword [eax + 0x14]
mov ebx, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
movzx eax, word [ebx + 0x20]
test ax, ax
js 0x100d8130
test edx, edx
je 0x100d8130
mov edx, dword [ebx + 0x2c]
movsx esi, ax
test byte [edx + 0x1c], 0x60
je 0x100d8106
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
je 0x100d8106
movzx eax, word [edx + 0x22]
cmp ax, 0x40
jl 0x100d80e8
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x100d8126
xor ecx, ecx
cwde
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
jmp 0x100d8126
cmp esi, 0x40
mov eax, 0x3f
cmovge esi, eax
xor ecx, ecx
xor edx, edx
bts ecx, esi
cmp esi, 0x20
cmovae edx, ecx
xor ecx, edx
cmp esi, 0x40
cmovae edx, ecx
mov eax, dword [esp + 0x1c]
or dword [eax + 0x38], ecx
or dword [eax + 0x3c], edx
test dword [ebx + 4], 0x804000
jne 0x100d8167
mov edx, dword [ebx + 0xc]
mov esi, dword [esp + 0x34]
test edx, edx
je 0x100d814b
mov ecx, esi
call fcn.100d4300
mov edx, dword [ebx + 0x10]
mov dword [ebx + 0xc], 0
test edx, edx
je 0x100d8160
mov ecx, esi
call fcn.100d4300
mov dword [ebx + 0x10], 0
mov eax, dword [esp + 0x38]
or dword [ebx + 4], 0x800000
mov byte [ebx], al
cmp edi, 1
jne 0x100d7ebe
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
cmp dword [eax + 0x178], 0
je 0x100d81ac
mov al, byte [ebx]
cmp al, 0xa6
je 0x100d8196
cmp al, 0x4d
jne 0x100d81ac
mov eax, dword [ebp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [eax + 4]
push dword [esp + 0x34]
call fcn.100c4400
add esp, 8
mov ecx, dword [esp + 0x40]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x100d81ca
nop word [eax + eax]
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x100d81c0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret