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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0xa4
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x10067c50
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 6
je 0x10067bfc
mov dword [ebp + 0xc], 0
jmp 0x10067c50
mov dword [ebp - 0x1c], 0
jmp 0x10067c0e
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x14]
jge 0x10067c50
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
shl ecx, 4
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx]
push ecx
call fcn.1002b990
add esp, 8
test eax, eax
jne 0x10067c4e
mov edx, dword [ebp - 0x1c]
shl edx, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 0xc]
mov dword [ebp - 0x34], edx
jmp 0x10067c50
jmp 0x10067c05
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0
je 0x10067ef3
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x50]
add edx, 8
mov dword [ebp - 0x14], edx
jmp 0x10067c87
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x48
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx]
jge 0x10067eab
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x10067d4d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 4]
and eax, 0x800
je 0x10067d4d
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
jmp 0x10067ce4
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
cmp eax, dword [edx]
jge 0x10067d3c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
imul ecx, dword [ebp - 8], 0x14
mov edx, dword [ebp - 0x24]
lea eax, [edx + ecx + 4]
push eax
call fcn.10067990
add esp, 0x10
test eax, eax
je 0x10067d3a
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x1c]
mov cx, word [ebp - 8]
mov word [eax + 0x20], cx
mov dword [ebp - 0x70], 1
jmp 0x10067cdb
cmp dword [ebp - 0x70], 0
jne 0x10067d48
cmp dword [ebp + 0x10], 0
jne 0x10067d4d
jmp 0x10067c75
cmp dword [ebp + 0xc], 0
je 0x10067d63
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
cmp eax, dword [ebp - 0x34]
je 0x10067d63
jmp 0x10067c75
cmp dword [ebp + 0x10], 0
je 0x10067dd1
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xc], 0
je 0x10067d7d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x58], eax
jmp 0x10067d85
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x80]
push edx
call fcn.1002b990
add esp, 8
test eax, eax
je 0x10067da4
jmp 0x10067c75
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xc8]
cmp ecx, 2
jl 0x10067dd1
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xc], 0
je 0x10067dd1
mov eax, dword [ebp + 0x1c]
add eax, 0x2c
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.100741c0
add esp, 0xc
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x84], 0
jne 0x10067df2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
jmp 0x10067e16
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x14
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x2a]
cmp dword [ebp - 8], ecx
jge 0x10067ea6
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
call fcn.1002b990
add esp, 8
test eax, eax
jne 0x10067ea1
cmp dword [ebp - 0x10], 1
jne 0x10067e69
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x24]
and eax, 4
je 0x10067e50
jmp 0x10067e04
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x34]
push eax
call fcn.10067930
add esp, 8
test eax, eax
je 0x10067e69
jmp 0x10067e04
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x28]
cmp dword [ebp - 8], ecx
jne 0x10067e8d
mov dword [ebp - 0x64], 0xffffffff
jmp 0x10067e94
movsx edx, word [ebp - 8]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp + 0x1c]
mov cx, word [ebp - 0x64]
mov word [eax + 0x20], cx
jmp 0x10067ea6
jmp 0x10067e04
jmp 0x10067c75
cmp dword [ebp - 0x18], 0
je 0x10067ef3
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x24]
and eax, 8
je 0x10067ee7
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
or edx, 0x100000
mov eax, dword [ebp + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x34], eax
cmp dword [ebp + 0xc], 0
jne 0x1006819b
cmp dword [ebp + 0x10], 0
je 0x1006819b
cmp dword [ebp - 0x28], 0
jne 0x1006819b
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
je 0x10067f8c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x90]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x7e
je 0x10067f5e
mov ecx, dword [ebp + 0x10]
push ecx
push 0x100e8cec
call fcn.1002b990
add esp, 8
test eax, eax
jne 0x10067f5e
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x1c], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
jmp 0x10067f8c
cmp dword [ebp - 0x7c], 0x7d
je 0x10067f8c
mov edx, dword [ebp + 0x10]
push edx
push 0x100e8cf0
call fcn.1002b990
add esp, 8
test eax, eax
jne 0x10067f8c
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x18]
and ecx, 0x200
je 0x10067fdd
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x10067fdd
mov ecx, dword [ebp + 0x10]
push ecx
push str.excluded
call fcn.1002b990
add esp, 8
test eax, eax
jne 0x10067fdd
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x14]
mov ecx, 0x48
imul edx, ecx, 0
mov eax, dword [eax + edx + 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], 2
cmp dword [ebp - 4], 0
je 0x1006819b
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
jmp 0x1006801d
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x14
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x2a]
cmp dword [ebp - 0xc], ecx
jge 0x10068056
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
call fcn.1002b990
add esp, 8
test eax, eax
jne 0x10068054
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x28]
cmp dword [ebp - 0xc], eax
jne 0x10068052
mov dword [ebp - 0xc], 0xffffffff
jmp 0x10068056
jmp 0x1006800b
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x2a]
cmp dword [ebp - 0xc], edx
jl 0x10068087
mov eax, dword [ebp + 0x14]
push eax
call fcn.1006d7e0
add esp, 4
test eax, eax
je 0x10068087
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
and edx, 0x200
jne 0x10068087
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x2a]
cmp dword [ebp - 0xc], ecx
jge 0x1006819b
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 0x1c], 2
jne 0x10068104
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xc8]
cmp edx, 2
jl 0x100680d5
mov eax, dword [ebp + 0x1c]
mov cx, word [ebp - 0xc]
mov word [eax + 0x20], cx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov dword [ebp - 0x38], 0xa4
jmp 0x100680ff
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x18]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], eax
mov dword [ebp - 0x38], 0xad
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
or eax, 0x400000
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 4], eax
jmp 0x1006819b
cmp dword [ebp - 0xc], 0
jge 0x10068113
mov edx, dword [ebp + 0x1c]
mov byte [edx + 1], 0x44
jmp 0x10068180
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 0x1c], 0
jne 0x1006814f
cmp dword [ebp - 0xc], 0x20
jl 0x1006812b
mov dword [ebp - 0x5c], 0xffffffff
jmp 0x10068138
mov edx, 1
mov ecx, dword [ebp - 0xc]
shl edx, cl
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
or ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x88], ecx
jmp 0x10068180
cmp dword [ebp - 0xc], 0x20
jl 0x1006815e
mov dword [ebp - 0x60], 0xffffffff
jmp 0x1006816b
mov eax, 1
mov ecx, dword [ebp - 0xc]
shl eax, cl
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x8c]
or edx, dword [ebp - 0x60]
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], edx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp + 0x1c]
mov cx, word [ebp - 0xc]
mov word [eax + 0x20], cx
mov dword [ebp - 0x38], 0x4d
cmp dword [ebp - 0x10], 0
jne 0x100681f1
cmp dword [ebp - 0x28], 1
jne 0x100681f1
cmp dword [ebp - 0x18], 0
je 0x100681f1
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x18]
and eax, 0x28
jne 0x100681f1
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.1006d7e0
add esp, 4
test eax, eax
je 0x100681f1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x24]
and ecx, 0x200
jne 0x100681f1
mov dword [ebp - 0x10], 1
or edx, 0xffffffff
mov eax, dword [ebp + 0x1c]
mov word [eax + 0x20], dx
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 1], 0x44
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x18]
and eax, 0x80
je 0x10068384
cmp dword [ebp - 0x10], 0
jne 0x10068384
cmp dword [ebp + 0x10], 0
jne 0x10068384
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], 0
jmp 0x10068231
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx]
jge 0x10068384
imul eax, dword [ebp - 8], 0x14
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax + 8]
mov dword [ebp - 0x44], edx
imul eax, dword [ebp - 8], 0x14
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax + 0x10]
and edx, 3
jne 0x1006837f
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.1002b940
add esp, 8
test eax, eax
jne 0x1006837f
imul edx, dword [ebp - 8], 0x14
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx + 4]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x18]
and eax, 1
jne 0x100682bc
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 4]
and edx, 0x10
je 0x100682bc
mov eax, dword [ebp - 0x44]
push eax
push str.misuse_of_aliased_aggregate__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002b720
add esp, 0xc
mov eax, 2
jmp 0x10068637
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
and eax, 0x8000
je 0x100682fe
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x4000
je 0x100682df
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x20]
je 0x100682fe
mov ecx, dword [ebp - 0x44]
push ecx
push str.misuse_of_aliased_window_function__s
mov edx, dword [ebp + 8]
push edx
call fcn.1002b720
add esp, 0xc
mov eax, 2
jmp 0x10068637
mov eax, dword [ebp - 0x48]
push eax
call fcn.1006ac30
add esp, 4
cmp eax, 1
je 0x1006832a
push 0x100e8d48
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002b720
add esp, 8
mov eax, 2
jmp 0x10068637
mov edx, dword [ebp - 0x4c]
push edx
push 0x100f0044
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100677f0
add esp, 0x18
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xc8]
cmp edx, 2
jl 0x1006837a
mov eax, dword [ebp + 0x1c]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.100741c0
add esp, 0xc
jmp 0x100685d6
jmp 0x10068228
cmp dword [ebp - 0x10], 0
je 0x1006838c
jmp 0x100683a8
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0xc]
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
cmp dword [ebp + 0x18], 0
jne 0x10067c50
cmp dword [ebp - 0x10], 0
jne 0x1006841a
cmp dword [ebp + 0x10], 0
jne 0x1006841a
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
and eax, 0x40
je 0x10068400
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.10067ac0
add esp, 8
test eax, eax
je 0x10068400
mov eax, dword [ebp + 0x14]
push eax
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.1002a280
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov byte [ecx], 0x73
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x2c], 0
mov eax, 1
jmp 0x10068637
mov eax, dword [ebp + 0x1c]
push eax
call fcn.1006cf50
add esp, 4
test eax, eax
je 0x1006841a
mov eax, 1
jmp 0x10068637
cmp dword [ebp - 0x10], 1
je 0x100684bd
cmp dword [ebp - 0x10], 0
jne 0x10068433
mov dword [ebp - 0x68], str.no_such_column
jmp 0x1006843a
mov dword [ebp - 0x68], str.ambiguous_column_name
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], ecx
cmp dword [ebp + 0xc], 0
je 0x10068469
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x54]
push edx
push str._s:__s._s._s
mov eax, dword [ebp + 8]
push eax
call fcn.1002b720
add esp, 0x18
jmp 0x100684a7
cmp dword [ebp + 0x10], 0
je 0x1006848e
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x54]
push eax
push 0x100e8db8
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002b720
add esp, 0x14
jmp 0x100684a7
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x54]
push eax
push 0x100e8dc4
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002b720
add esp, 0x10
mov edx, dword [ebp + 8]
mov byte [edx + 0x11], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x14]
add ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 0x1c]
movsx ecx, word [eax + 0x20]
test ecx, ecx
jl 0x10068582
cmp dword [ebp - 0x18], 0
je 0x10068582
mov edx, dword [ebp + 0x1c]
movsx eax, word [edx + 0x20]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x24]
and ecx, 0x60
je 0x10068554
imul edx, dword [ebp - 0x3c], 0x14
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + edx + 0x10]
and edx, 0x60
je 0x10068554
mov eax, dword [ebp - 0x40]
movsx ecx, word [eax + 0x2a]
cmp ecx, 0x40
jl 0x10068524
mov dword [ebp - 0x78], 0xffffffff
mov dword [ebp - 0x74], 0xffffffff
jmp 0x10068543
mov edx, dword [ebp - 0x40]
movsx ecx, word [edx + 0x2a]
mov eax, 1
xor edx, edx
call fcn.100cf6e0
sub eax, 1
sbb edx, 0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x78]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 0x74]
mov dword [eax + 0x3c], edx
jmp 0x10068582
cmp dword [ebp - 0x3c], 0x40
jl 0x10068561
mov dword [ebp - 0x3c], 0x3f
mov eax, 1
xor edx, edx
mov ecx, dword [ebp - 0x3c]
call fcn.100cf6e0
mov ecx, dword [ebp - 0x18]
or eax, dword [ecx + 0x38]
or edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1006bba0
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0xc], 0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.1006bba0
add esp, 8
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 0x1c]
mov dl, byte [ebp - 0x38]
mov byte [ecx], dl
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
or ecx, 0x800000
mov edx, dword [ebp + 0x1c]
mov dword [edx + 4], ecx
cmp dword [ebp - 0x10], 1
jne 0x10068632
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
and ecx, 0x400000
jne 0x10068605
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10078a00
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp + 0x18]
jne 0x1006861e
jmp 0x10068629
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
jmp 0x10068605
mov eax, 1
jmp 0x10068637
mov eax, 2
mov esp, ebp
pop ebp
ret