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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
mov eax, ecx
mov dword [esp + 0x18], edx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [esi + 0x50]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x6c], ebx
mov eax, dword [edi + 0x48]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0x34]
imul ecx, eax, 0x48
mov eax, dword [esi + 4]
add eax, 8
add eax, ecx
lea ecx, [esi + 0x1e8]
mov dword [esp + 0x78], eax
mov eax, dword [eax + 0x2c]
mov edx, eax
mov dword [esp + 0x38], eax
call fcn.10088c4a
not eax
not edx
and eax, dword [ebp + 0x14]
and edx, dword [ebp + 0x18]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.100ab42b
mov edx, dword [esp + 0x14]
xor ecx, ecx
inc ecx
and eax, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [esp + 0x80], eax
mov dword [edi + 0x18], eax
cmp byte [edi + 0x34], bl
jbe 0x10085748
mov eax, dword [esp + 0x78]
test byte [eax + 0x24], 8
je 0x10085748
mov eax, dword [edx + 0x2c]
mov ecx, dword [esp + 0x20]
inc eax
push ebx
push eax
push ebx
mov dword [edx + 0x2c], eax
push 0x45
pop edx
mov dword [edi], eax
call fcn.1004e5e4
mov edx, dword [ebp + 8]
mov ecx, esi
test esi, esi
jle 0x10085767
imul eax, esi, 0x58
add eax, 0x2f0
add eax, edx
cmp dword [eax], ebx
jne 0x10085767
dec ecx
sub eax, 0x58
test ecx, ecx
jg 0x1008575b
imul eax, ecx, 0x58
mov eax, dword [eax + edx + 0x2fc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
test byte [eax + 0x28], 0x10
je 0x100857b3
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov ecx, dword [esp + 0x24]
push ebx
push esi
push 0xd
pop edx
call fcn.1004e5e4
mov ecx, dword [esp + 0x20]
push ebx
push dword [esp + 0x50]
push esi
push 0xe
pop edx
call fcn.1004e5e4
push 0xb
mov dword [edi + 0x3c], eax
pop eax
mov byte [edi + 0x35], al
jmp 0x10086aad
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x24]
bt edx, 0xa
jae 0x10085a13
movzx eax, word [eax + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
lea edx, [eax + 2]
call fcn.100639fd
mov ecx, eax
mov eax, dword [edi + 0xc]
mov esi, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x2c], ebx
jbe 0x10085840
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x10085839
lea eax, [ecx + 2]
xor ecx, ecx
inc ecx
add eax, esi
test byte [edx + 0xc], cl
je 0x10085825
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x40]
push esi
push edi
call fcn.10084c04
mov eax, dword [edi + 0x10]
mov dword [esp + 0xc], eax
jmp 0x10085835
mov edx, dword [edx]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov edx, dword [edx + 0x10]
call fcn.10085380
mov ecx, dword [esp + 0x18]
inc esi
cmp esi, ebx
jl 0x100857f1
xor ebx, ebx
mov eax, dword [esp + 0x28]
push ebx
push ecx
mov ecx, dword [esp + 0x28]
push dword [eax + 0x18]
push 0x45
pop edx
call fcn.1004e5e4
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x20]
push ebx
push eax
push esi
push 0x45
pop edx
call fcn.1004e5e4
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
push 0xfffffffffffffff9
pop edx
cmp byte [ecx + 0x1c], 0
cmovne eax, edx
push eax
push dword [ecx + 0x20]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x18]
push dword [esp + 0x48]
push 9
pop edx
call fcn.1004e6f4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x70]
mov byte [edx + 0x1c], bl
cmp byte [eax + 0x51], 0
je 0x100858ae
mov dword [edx + 0x20], ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x38], eax
push 0x3d
pop eax
cmp byte [ecx + 0x2e], 0
lea ecx, [eax + 0x71]
cmovne eax, ecx
sub esi, 1
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x6c]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x34], eax
js 0x10086aad
mov ecx, dword [esp + 0x18]
add ecx, 2
add ecx, esi
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 0x30]
mov edx, dword [eax + esi*4]
mov dword [esp + 0x1c], edx
mov ax, word [edx + 0xc]
and ax, word [esp + 0x40]
mov word [esp + 0x7c], ax
mov eax, dword [esp + 0x34]
lea eax, [eax - 1]
cmove eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
cmp esi, 0x10
jae 0x10085941
mov eax, dword [esp + 0x28]
mov cx, si
mov ax, word [eax + 0x1e]
shr ax, cl
xor ecx, ecx
inc ecx
test cl, al
je 0x1008593d
mov ecx, edi
call fcn.10084971
jmp 0x100859f8
mov ecx, dword [esp + 0x24]
cmp word [esp + 0x7c], 0
je 0x100859fc
mov ecx, dword [edx]
mov ecx, dword [ecx + 0xc]
call fcn.1005e5b0
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x100859f8
mov eax, dword [esp + 0x70]
cmp byte [eax + 0x51], 0
jne 0x10085992
imul eax, dword [esp + 0x34], 0x14
mov edx, dword [edi + 0x44]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + edx + 4]
call fcn.1004edea
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.1004e5e4
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push 0x35
pop edx
call fcn.1005ebaf
mov dword [esp + 0xc], eax
test eax, eax
je 0x100859f8
mov ecx, dword [esp + 0x1c]
mov edx, 0xad
push ebx
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x74]
call fcn.1005eb1f
mov ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax + 0x10], ecx
test ecx, ecx
je 0x100859ea
mov edx, dword [esp + 0x24]
push 0x10
mov dword [ecx + 0x1c], edx
push dword [edi + 0x18]
push eax
push dword [esp + 0x20]
call fcn.10062aac
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.1005eeda
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
dec ecx
sub esi, 1
mov dword [esp + 0x24], ecx
jns 0x100858ef
jmp 0x10086aad
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
je 0x10085a9a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
mov edx, esi
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
push eax
push dword [esp + 0x40]
mov dword [esp + 0x24], eax
push ebx
push edi
call fcn.10084c04
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
cmp eax, edx
je 0x10085a62
mov ecx, dword [esp + 0x14]
call fcn.100639e4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
push eax
push dword [edi + 0x10]
push dword [esp + 0x40]
push 0x1f
pop edx
call fcn.1004e5e4
mov byte [edi + 0x35], 0xae
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
jne 0x10086aad
push 4
pop ecx
or word [esi + 0xa], cx
jmp 0x10086aad
mov ecx, 0x102
mov eax, edx
and eax, ecx
cmp eax, ecx
jne 0x10085cad
mov dword [esp + 0x34], 0xae
mov ecx, ebx
mov dword [esp + 0x40], ebx
mov esi, ebx
mov dword [esp + 0x2c], ebx
test dl, 0x20
je 0x10085ad6
mov eax, dword [esp + 0x28]
push 4
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
pop eax
mov dword [esp + 0xc], eax
jmp 0x10085ada
mov dword [esp + 0xc], ebx
test dl, 0x10
je 0x10085af1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x30]
mov ecx, dword [ecx + eax]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10085aff
mov dword [esp + 0x2c], esi
mov esi, ecx
test esi, esi
je 0x10085ba4
mov edx, dword [esi]
mov dword [esp + 0x18], 0x18161719
mov dword [esp + 0xc], edx
mov ecx, dword [edx + 0x10]
call fcn.1005e5b0
cmp eax, 1
jle 0x10085b52
mov ecx, dword [esp + 0x14]
call fcn.100639c5
mov edx, dword [edx + 0x10]
mov esi, eax
xor eax, eax
inc eax
push eax
push esi
call fcn.10085380
mov eax, dword [esp + 0xc]
xor edx, edx
inc edx
mov ecx, esi
movzx eax, byte [eax]
inc eax
and eax, 2
or eax, edx
mov al, byte [esp + eax + 0x18]
jmp 0x10085b82
lea eax, [esp + 0x1c]
mov edx, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.10062411
mov edx, esi
mov dword [esp + 0x64], eax
mov ecx, edi
call fcn.10084971
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
movzx ecx, byte [eax]
mov al, byte [esp + ecx - 0x1e]
mov ecx, dword [esp + 0x64]
push ecx
push dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x40]
movzx edx, al
call fcn.1004e5e4
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.100639e4
jmp 0x10085bc8
mov ecx, dword [esp + 0x20]
mov edx, eax
xor eax, eax
push ebx
push dword [esp + 0x20]
inc eax
push dword [esp + 0x40]
xor edx, eax
lea edx, [edx*4 + 0x21]
call fcn.1004e5e4
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x10085c40
mov eax, dword [esi]
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
push 1
mov dword [esp + 0x44], edx
push edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x24], eax
call fcn.10085380
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x10]
call fcn.1005e5b0
cmp eax, 1
jg 0x10085c1c
mov al, byte [edx]
cmp al, 0x38
je 0x10085c06
cmp al, 0x36
jne 0x10085c1c
mov eax, dword [esp + 0x3c]
xor edx, edx
inc edx
xor eax, edx
lea edx, [eax*2 + 0x37]
mov dword [esp + 0x34], edx
jmp 0x10085c2b
mov eax, dword [esp + 0x3c]
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x34], eax
call fcn.1005e5b0
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x10085c40
mov edx, esi
mov ecx, edi
call fcn.10084971
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x3c], ebx
mov edx, dword [esp + 0x38]
mov ecx, dword [eax + 0x6c]
sete al
add al, 4
mov dword [edi + 0x38], edx
cmp dword [esp + 0x34], 0xae
mov byte [edi + 0x35], al
mov dword [edi + 0x3c], ecx
je 0x10086aad
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push ebx
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push edx
mov edx, 0x80
call fcn.1004e5e4
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push esi
push dword [esp + 0x50]
push dword [esp + 0x48]
call fcn.1004e5e4
mov ecx, dword [esp + 0x20]
push 0x53
pop edx
call fcn.1004eb34
jmp 0x10086aad
test edx, 0x200
je 0x100864ca
mov ecx, dword [esp + 0x28]
mov esi, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], ebx
movzx eax, word [ecx + 0x18]
mov dword [esp + 0x44], eax
movzx eax, word [ecx + 0x1a]
mov dword [esp + 0x64], eax
movzx eax, word [ecx + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0x13], bl
mov byte [esp + 0x7c], bl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x1c], ebx
movzx ecx, ax
test dl, 0x20
je 0x10085d20
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x30]
movzx esi, word [esi + 0x1a]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esp + 0x30], eax
test dl, 0x10
je 0x10085de3
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x30]
movzx edx, word [edx + 0x1c]
cmp esi, edx
mov ecx, dword [eax + ecx*4]
cmova edx, esi
mov eax, 0x100
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], edx
test word [ecx + 0xa], ax
je 0x10085d9c
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
push ebx
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, esi
push eax
mov dword [edi + 0x2c], eax
xor eax, eax
inc eax
push eax
push 0x45
pop edx
call fcn.1004e5e4
mov eax, dword [esi + 0x6c]
xor ecx, ecx
shl dword [edi + 0x2c], 1
mov esi, dword [esp + 0x44]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x6c]
movzx edx, si
mov eax, dword [eax + 0x1c]
cmp byte [edx + eax], 1
mov edx, dword [esp + 0xc]
sete cl
xor ecx, dword [esp + 0x3c]
or dword [edi + 0x2c], ecx
mov esi, edx
cmp dword [esp + 0x30], ebx
jne 0x10085de3
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x44]
movzx ecx, ax
mov eax, dword [esi + 4]
movsx ecx, word [eax + ecx*2]
mov dword [esp + 0xc], ecx
test ecx, ecx
js 0x10085dd1
mov eax, dword [esi + 0xc]
imul ecx, ecx, 0x14
mov eax, dword [eax + 4]
cmp byte [ecx + eax + 0xc], bl
je 0x10085dd8
mov ecx, dword [esp + 0xc]
mov esi, edx
cmp ecx, 0xfffffffe
jne 0x10085de3
xor ecx, ecx
mov esi, edx
inc ecx
mov byte [esp + 0x13], cl
jmp 0x10085de6
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
and eax, 0x80030
cmp eax, 0x80000
jne 0x10085e31
mov esi, ecx
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x14]
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x58], eax
mov dword [edi + 0x24], eax
cmp dword [edi], ebx
je 0x10085e27
mov ecx, dword [esp + 0x20]
push ebx
push eax
push ebx
push 0x45
pop edx
call fcn.1004e5e4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [edi + 0x28], eax
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
movzx eax, word [edx + 0x32]
mov dword [esp + 0xc], eax
cmp cx, ax
jae 0x10085e62
mov eax, dword [edx + 0x1c]
xor edx, edx
movzx ecx, cx
cmp byte [ecx + eax], dl
sete dl
cmp dword [esp + 0x3c], edx
je 0x10085e71
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x10085eaa
cmp ax, cx
jne 0x10085eaa
jmp 0x10085e75
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x13]
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
movzx ecx, di
mov edi, dword [ebp + 0x10]
movzx eax, al
mov byte [esp + 0x13], bl
mov dword [esp + 0x64], ecx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
push esi
push edx
mov edx, edi
call fcn.10084fda
mov dword [esp + 0x54], eax
cmp dword [esp + 0x60], ebx
je 0x10085ee5
cmp word [esp + 0x5c], bx
je 0x10085ee5
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
movzx edx, ax
add edx, dword [esp + 0x60]
call fcn.100368e4
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x58], ebx
je 0x10085ef4
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x18], ecx
jmp 0x10085efb
mov eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10085f12
test byte [eax + 0xc], 0x28
jne 0x10085f12
xor edx, edx
mov dword [esp + 0x34], ebx
inc edx
jmp 0x10085f19
xor edx, edx
inc edx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10085f2b
test byte [ecx + 0xc], 0x28
mov dword [esp + 0x2c], ebx
je 0x10085f2f
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x44]
test eax, eax
jne 0x10085f40
mov dword [esp + 0x40], ebx
test cx, cx
je 0x10085f44
mov dword [esp + 0x40], edx
movzx edx, cx
mov dword [esp + 0x50], edx
test eax, eax
je 0x10086010
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x64]
movzx edx, ax
mov eax, dword [esp + 0x44]
movzx eax, ax
add eax, dword [esp + 0x54]
push edx
mov dword [esp + 0x10], ecx
mov edx, ecx
mov ecx, dword [esp + 0x18]
push eax
mov dword [esp + 0x70], eax
call fcn.10085380
push dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov edx, edi
mov ecx, esi
call fcn.1008529a
mov ecx, dword [esp + 0xc]
call fcn.1005fdeb
test eax, eax
je 0x10085fb0
push ebx
push dword [esp + 0x1c]
mov ecx, esi
push dword [esp + 0x70]
push 0x32
pop edx
call fcn.1004e5e4
cmp dword [esp + 0x60], ebx
je 0x10085fd2
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
movzx eax, ax
add eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
movzx edx, ax
call fcn.10084a2b
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
movzx eax, cx
mov ecx, dword [esp + 0xc]
add edx, eax
mov dword [esp + 0x50], edx
call fcn.1005e5b0
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x10086004
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.10084971
mov edx, dword [esp + 0x50]
jmp 0x10086008
mov dword [esp + 0x34], ecx
mov al, bl
mov byte [esp + 0x13], al
jmp 0x10086050
mov al, byte [esp + 0x13]
mov esi, dword [esp + 0x20]
test al, al
je 0x10086022
mov dword [esp + 0x34], ebx
jmp 0x10086028
cmp dword [esp + 0x58], ebx
je 0x10086050
movzx eax, cx
mov ecx, esi
add eax, dword [esp + 0x54]
push ebx
push eax
push ebx
push 0x48
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x50]
xor eax, eax
inc eax
inc edx
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x50], edx
push dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
movzx eax, al
sub edx, eax
push edx
mov edx, dword [esp + 0x5c]
call fcn.100849d5
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + 0x2a]
test ax, ax
je 0x1008607e
cmp dword [esp + 0x50], eax
je 0x10086157
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1008609a
push ebx
push eax
xor eax, eax
mov ecx, esi
inc eax
push eax
push 0x45
pop edx
call fcn.1004e5e4
mov ecx, dword [esp + 0x28]
test dword [ecx + 0x24], 0x100000
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + eax*2 + 0x100be5f8]
mov dword [esp + 0x68], eax
je 0x100860eb
cmp eax, 0x18
jne 0x100860eb
mov eax, dword [esp + 0x6c]
push 0xa
pop ecx
push ebx
mov eax, dword [eax + 8]
push ebx
movsx eax, word [eax]
add eax, 9
cdq
idiv ecx
mov ecx, esi
push eax
push 0x76
pop edx
call fcn.1004e5e4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
push dword [esp + 0x50]
mov edx, eax
mov ecx, esi
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esp + 0x54]
call fcn.1004e8c5
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x1008615b
mov eax, dword [esi + 0x6c]
mov ecx, esi
push ebx
add eax, 2
push eax
push ebx
push 0xb
pop eax
mov edx, eax
call fcn.1004e5e4
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x34]
push eax
push dword [esp + 0x58]
xor eax, eax
push dword [esp + 0x20]
inc eax
push dword [esp + 0x54]
cmp eax, dword [esp + 0x60]
push 4
pop ecx
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x4c]
movzx edx, byte [eax + ecx + 0x100be5fa]
mov ecx, esi
call fcn.1004e8c5
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
movzx edx, ax
mov dword [esp + 0x30], edx
cmp dword [esp + 0x24], ebx
je 0x1008622f
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x5c]
movzx ecx, ax
mov eax, dword [esp + 0x44]
movzx eax, ax
add eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], eax
call fcn.10085380
push dword [esp + 0x24]
mov edi, dword [ebp + 0x10]
mov ecx, esi
mov edx, edi
call fcn.1008529a
mov ecx, dword [esp + 0xc]
call fcn.1005fdeb
test eax, eax
je 0x100861ce
push ebx
push dword [esp + 0x1c]
mov ecx, esi
push dword [esp + 0x48]
push 0x32
pop edx
call fcn.1004e5e4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10086201
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x60]
movzx edx, ax
call fcn.10084a2b
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
push eax
movzx eax, cx
mov ecx, dword [esp + 0x18]
push eax
call fcn.100849d5
mov ecx, dword [esp + 0x5c]
movzx eax, cx
add dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
call fcn.1005e5b0
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x10086229
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.10084971
jmp 0x1008625a
mov dword [esp + 0x2c], ecx
jmp 0x1008625a
cmp byte [esp + 0x7c], bl
je 0x1008625a
test ecx, ecx
jne 0x10086255
push ebx
movzx eax, ax
mov ecx, esi
add eax, dword [esp + 0x58]
push eax
push ebx
push 0x48
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
inc edx
mov dword [esp + 0x30], edx
cmp dword [esp + 0x60], ebx
je 0x1008626d
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
call fcn.10036499
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10086280
mov ecx, dword [esp + 0x70]
mov edx, eax
call fcn.10036499
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100862e8
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x100862ad
mov eax, dword [esi + 0x6c]
push ebx
add eax, 3
push eax
push ecx
push 0x14
pop edx
mov ecx, esi
call fcn.1004e5e4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
push eax
push dword [esp + 0x58]
mov eax, dword [esp + 0x34]
push dword [esp + 0x20]
push dword [esp + 0x54]
movzx edx, byte [eax + ecx*2 + 0x100c27d0]
mov ecx, esi
call fcn.1004e8c5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100862e8
mov edx, eax
mov ecx, esi
call fcn.1004edea
mov ecx, dword [esi + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x10086331
mov eax, dword [esi + 0x6c]
push ebx
add eax, 2
push eax
push ecx
push 0x12
pop edx
mov ecx, esi
call fcn.1004e5e4
movzx eax, byte [esp + 0x13]
add eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
push eax
push dword [esp + 0x58]
movzx eax, byte [esp + 0x1b]
push dword [esp + 0x20]
push dword [esp + 0x54]
movzx edx, byte [eax + ecx*2 + 0x100c27d0]
mov ecx, esi
call fcn.1004e8c5
mov eax, dword [esp + 0x28]
test dword [eax + 0x24], 0x40000
je 0x1008635c
mov ecx, dword [esp + 0x44]
movzx eax, cx
push eax
movzx eax, cx
mov ecx, esi
push eax
push dword [esp + 0x50]
push 0x77
pop edx
call fcn.1004e5e4
mov eax, dword [esp + 0x28]
test byte [eax + 0x24], 0x40
mov eax, dword [ebp + 8]
je 0x10086376
test byte [eax + 0x28], 0x20
jne 0x10086376
xor ecx, ecx
lea esi, [ecx + 1]
mov dword [esp + 0x2c], esi
jmp 0x1008637c
mov esi, ebx
mov dword [esp + 0x2c], ebx
test esi, esi
jne 0x10086446
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], 0x80
jne 0x100863a5
push dword [esp + 0x48]
mov ecx, eax
push dword [esp + 0x3c]
call fcn.100852d0
jmp 0x10086446
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
cmp edx, eax
je 0x1008644e
call fcn.1006805a
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
movzx edx, word [eax + 0x32]
call fcn.100639fd
mov dword [esp + 0xc], eax
mov esi, ebx
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0x32]
xor eax, eax
mov edx, ecx
cmp ax, cx
jae 0x10086423
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x6c]
mov dx, word [edx + esi*2]
call fcn.10068072
movsx ecx, ax
mov eax, dword [esp + 0xc]
add eax, esi
push eax
push ecx
push dword [esp + 0x50]
mov ecx, edi
push 0x59
pop edx
call fcn.1004e5e4
movzx ecx, word [ebx + 0x32]
inc esi
cmp esi, ecx
jl 0x100863ea
mov edi, dword [ebp + 0x10]
mov edx, ecx
xor ebx, ebx
mov ecx, dword [esp + 0x20]
movzx eax, dx
push eax
push dword [esp + 0x10]
push dword [esp + 0x88]
push dword [esp + 0x44]
push 0x1d
pop edx
call fcn.1004e8c5
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
cmp dword [edi], ebx
jne 0x1008647e
mov ecx, dword [ebp + 8]
test byte [ecx + 0x28], 0x20
jne 0x10086466
push ecx
mov ecx, dword [esp + 0x70]
push eax
call fcn.100854f7
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x1008647e
push dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
call fcn.10085608
mov ecx, dword [esp + 0x28]
test dword [ecx + 0x24], 0x1000
je 0x10086491
mov byte [edi + 0x35], 0xae
jmp 0x1008649e
cmp dword [esp + 0x3c], 0
sete al
add al, 4
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x48]
xor edx, edx
mov dword [edi + 0x38], eax
inc edx
mov al, byte [ecx + 0x26]
and al, dl
mov byte [edi + 0x36], al
test byte [ecx + 0x24], 0xf
jne 0x100864b9
mov byte [edi + 0x37], dl
test esi, esi
je 0x10086aad
mov dword [esp + 0x6c], ebx
jmp 0x10086aad
test edx, 0x2000
je 0x10086a69
mov edx, dword [esp + 0x14]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x34], ebx
mov eax, dword [edx + 0x28]
mov dword [esp + 0x44], eax
inc eax
mov dword [edx + 0x28], eax
mov eax, dword [edx + 0x2c]
inc eax
mov dword [esp + 0x48], ebx
mov dword [edx + 0x2c], eax
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x38]
dec eax
mov dword [esp + 0x24], ebx
mov dword [edx + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 8]
mov byte [edi + 0x35], 0x41
mov al, byte [eax + 0x2c]
cmp al, 1
jbe 0x10086602
mov ecx, dword [esp + 0x70]
movzx eax, al
sub eax, esi
dec eax
mov dword [esp + 0x68], eax
imul eax, eax, 0x48
push ebx
add eax, 0x50
push eax
test ecx, ecx
je 0x1008656e
call fcn.1003670e
mov ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x10086579
call fcn.10036339
mov ecx, eax
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x10086588
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
jmp 0x10086d61
mov edx, dword [esp + 0x68]
lea edi, [ecx + 8]
mov esi, dword [esp + 0x78]
push 0x12
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
xor eax, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
inc eax
mov ecx, dword [esi + 4]
add ecx, 8
mov dword [esp + 0x68], ecx
cmp edx, eax
jl 0x100865f5
mov ebx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
add ebx, 0x50
add eax, 0x8c
mov dword [esp + 0x1c], eax
movzx eax, byte [eax]
mov edi, ebx
imul esi, eax, 0x48
add ebx, 0x48
mov eax, dword [esp + 0x1c]
push 0x12
add eax, 0x58
mov dword [esp + 0x20], eax
add esi, ecx
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x68]
sub edx, 1
jne 0x100865ca
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
jmp 0x1008660c
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
test byte [esi + 0x28], 0x10
mov eax, 0x80
jne 0x10086677
test byte [ecx + 0x24], al
jne 0x10086637
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [esp + 0x20]
push ebx
push eax
push ebx
push 0x48
pop edx
mov dword [esp + 0x70], eax
call fcn.1004e5e4
jmp 0x10086669
call fcn.1006805a
mov esi, eax
mov eax, dword [edx + 0x28]
push ebx
mov dword [esp + 0x68], eax
lea ecx, [eax + 1]
mov dword [edx + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push 0x64
pop edx
call fcn.1004e5e4
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.1004edd0
mov eax, dword [esp + 0x14]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x20]
mov ecx, esi
push ebx
push dword [esp + 0x10]
push ebx
push 0x45
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
xor eax, eax
inc eax
cmp dword [edx + 0xc], eax
jle 0x10086726
mov edi, ebx
mov dword [esp + 0x1c], ebx
mov ecx, ebx
mov eax, dword [edx + 0x14]
add eax, ecx
mov edx, dword [eax]
cmp eax, dword [esp + 0x28]
je 0x100866f2
test byte [eax + 0xa], 6
jne 0x100866f2
mov esi, 0x1fff
test word [eax + 0xc], si
mov esi, dword [esp + 0x14]
je 0x100866f2
test edx, edx
je 0x100866da
mov ecx, dword [esp + 0x70]
push ebx
push ebx
call fcn.1005f025
jmp 0x100866dc
mov eax, ebx
mov edx, dword [esp + 0x24]
mov ecx, esi
push eax
call fcn.1005ec26
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jmp 0x100866f6
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x74]
inc edi
add ecx, 0x30
mov dword [esp + 0x1c], ecx
cmp edi, dword [edx + 0xc]
jl 0x100866a7
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x10086726
mov ecx, dword [esp + 0x14]
mov edx, 0x1002c
push eax
push ebx
call fcn.1005ebaf
mov dword [esp + 0x24], eax
xor edx, edx
push str.MULTI_INDEX_OR
inc edx
push edx
push dword [esp + 0x1c]
call fcn.1004e7ee
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov eax, ebx
mov dword [esp + 0x30], eax
cmp dword [ecx + 0xc], ebx
jle 0x100869d9
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
imul eax, eax, 0x30
add eax, dword [ecx + 0x14]
cmp dword [eax + 0x14], edx
je 0x10086774
mov esi, 0x400
test word [eax + 0xc], si
mov esi, dword [esp + 0x20]
je 0x100869c4
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], ebx
test ecx, ecx
je 0x1008678d
mov dword [ecx + 0xc], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x30]
inc eax
push eax
xor eax, eax
push str.INDEX__d
inc eax
push eax
push edi
call fcn.1004e7ee
mov edx, dword [esp + 0x28]
add esp, 0x10
mov ecx, edi
push dword [esp + 0x44]
push 0x20
push ebx
push ebx
push dword [esp + 0x2c]
call fcn.1008ce18
mov dword [esp + 0x50], eax
test eax, eax
je 0x100869bc
mov edx, dword [esp + 0x18]
lea ecx, [eax + 0x2f0]
push ebx
push ecx
mov ecx, edi
call fcn.100846cb
mov eax, dword [ebp + 8]
test byte [eax + 0x28], 0x10
jne 0x1008691a
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
pop eax
cmove ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], ecx
mov ecx, 0x80
test byte [eax + 0x24], cl
jne 0x10086846
push ebx
push dword [esp + 0x38]
test eax, eax
push dword [esp + 0x40]
push 0x59
pop edx
cmovne edx, ecx
mov ecx, esi
call fcn.1004e5e4
push dword [esp + 0x2c]
mov ecx, esi
push dword [esp + 0x38]
push ebx
push dword [esp + 0x70]
push 0x2d
pop edx
call fcn.1004e8c5
mov dword [esp + 0x54], eax
jmp 0x1008691a
mov ecx, eax
call fcn.1006805a
mov ecx, edi
mov dword [esp + 0x1c], eax
movzx edx, word [eax + 0x32]
mov dword [esp + 0x60], edx
call fcn.100639fd
mov dword [esp + 0x68], ebx
mov ecx, eax
mov dword [esp + 0x5c], ecx
test edx, edx
je 0x100868a3
mov edi, ebx
mov ebx, edx
mov eax, dword [esp + 0x1c]
add ecx, edi
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
movsx eax, word [eax + edi*2]
push eax
push dword [esp + 0x40]
call fcn.10061222
mov ecx, dword [esp + 0x5c]
inc edi
cmp edi, ebx
jl 0x10086872
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100868c6
push edx
push ecx
push ebx
push dword [esp + 0x70]
mov ecx, esi
push 0x1e
pop edx
call fcn.1004e8c5
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
test eax, eax
js 0x1008690b
push dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x64]
push dword [esp + 0x64]
push 0x5b
pop edx
call fcn.1004e5e4
push dword [esp + 0x60]
mov edx, 0x83
mov ecx, esi
push dword [esp + 0x60]
push dword [esp + 0x3c]
push dword [esp + 0x70]
call fcn.1004e8c5
cmp dword [esp + 0x2c], 0
je 0x1008690b
push 0x10
pop edx
mov ecx, esi
call fcn.1004eb34
push dword [esp + 0x60]
mov edx, dword [esp + 0x60]
mov ecx, edi
call fcn.10063a30
push ebx
push dword [esp + 0x40]
mov ecx, esi
push dword [esp + 0x14]
push 0xc
pop edx
call fcn.1004e5e4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x10086944
mov edx, eax
mov ecx, esi
call fcn.1004edea
mov ecx, dword [esi + 0x6c]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
push 1
pop edx
test byte [eax + 0x30], 2
cmovne ecx, edx
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x338]
test dword [ecx + 0x24], 0x200
je 0x1008699c
cmp dword [esp + 0x30], 0
je 0x10086979
mov edx, dword [esp + 0x58]
cmp dword [ecx + 0x20], edx
jne 0x1008699c
mov edx, dword [esp + 0x4c]
test byte [edx + 0x24], 0x80
je 0x10086993
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x50]
je 0x1008699c
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x58], ecx
jmp 0x100869a0
mov dword [esp + 0x58], ebx
xor edx, edx
inc edx
test byte [eax + 0x30], dl
je 0x100869ae
mov ecx, dword [ebp + 8]
or dword [ecx + 0x30], edx
mov ecx, eax
call fcn.1008d80f
mov ecx, edi
call fcn.1004e84e
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [ecx + 0xc]
jl 0x10086756
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.1004e84e
mov eax, dword [esp + 0x58]
mov dword [edi + 0x40], eax
test eax, eax
je 0x100869f4
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10086a0a
mov ecx, dword [esp + 0x70]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.1005eeda
mov edx, dword [esp + 0x7c]
mov ecx, esi
call fcn.1004edea
mov ecx, dword [esi + 0x6c]
push ebx
mov dword [eax + 4], ecx
mov ecx, esi
push dword [edi + 0xc]
push ebx
push 0xb
pop eax
mov edx, eax
call fcn.1004e5e4
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.1004e95b
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
cmp byte [eax + 0x2c], cl
jbe 0x10086a55
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10086a55
mov ecx, dword [esp + 0x70]
mov edx, eax
call fcn.10036499
cmp dword [esp + 0x48], 0
jne 0x10086aad
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.10084971
jmp 0x10086aad
mov eax, dword [esp + 0x78]
test byte [eax + 0x28], 0x20
je 0x10086a79
mov byte [edi + 0x35], 0xae
jmp 0x10086aad
mov ecx, dword [esp + 0x3c]
push ebx
push dword [esp + 0x20]
mov al, byte [ecx + 0x100c2b2c]
movzx edx, byte [ecx + 0x100c2220]
mov ecx, dword [esp + 0x28]
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x40]
push eax
mov dword [edi + 0x38], eax
call fcn.1004e5e4
inc eax
mov dword [edi + 0x3c], eax
xor eax, eax
inc eax
mov byte [edi + 0x37], al
xor edx, edx
cmp dword [esp + 0x6c], edx
sete dl
inc edx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x74]
mov ecx, ebx
mov dword [esp + 0x18], ecx
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
jmp 0x10086bdf
movzx eax, word [esi + 0xa]
mov dword [esp + 0x1c], ebx
mov edx, eax
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xc]
test al, 6
jne 0x10086bd7
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
je 0x10086b06
mov eax, dword [ebp + 8]
or dword [eax + 0x30], 2
jmp 0x10086bd3
mov ecx, dword [esp + 0x78]
mov eax, dword [esi]
mov dword [esp + 0x4c], eax
test byte [ecx + 0x24], 8
je 0x10086b24
xor ecx, ecx
inc ecx
test byte [eax + 4], cl
je 0x10086bd3
jmp 0x10086b27
xor ecx, ecx
inc ecx
cmp edx, ecx
jne 0x10086b49
push dword [esp + 0x6c]
mov edx, dword [edi + 4]
mov ecx, eax
call fcn.10063537
test eax, eax
jne 0x10086b55
push 2
pop ecx
mov dword [esp + 0x18], ecx
jmp 0x10086bd7
mov eax, dword [esp + 0x68]
movzx ecx, ax
cmp edx, 3
jge 0x10086b6e
movzx eax, word [esi + 0xa]
mov ecx, eax
test eax, 0x1000
je 0x10086b6e
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10086bd7
push 3
jmp 0x10086b3f
test ecx, 0x200
je 0x10086b9d
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x10086b9d
mov ecx, dword [esp + 0x20]
mov eax, edx
push ebx
shr eax, 1
push ebx
push eax
xor eax, eax
inc eax
and edx, eax
lea edx, [edx*2 + 0x12]
call fcn.1004e5e4
mov dword [esp + 0x1c], eax
push 0x10
push dword [esp + 0x84]
push dword [esp + 0x54]
push dword [esp + 0x20]
call fcn.10062aac
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10086bcc
mov ecx, dword [esp + 0x20]
mov edx, eax
call fcn.1004edea
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
push 4
pop eax
or word [esi + 0xa], ax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
dec eax
add esi, 0x30
mov dword [esp + 0x2c], eax
test eax, eax
jg 0x10086ad0
mov edx, ecx
mov dword [esp + 0xc], edx
test ecx, ecx
jg 0x10086abb
mov eax, dword [esp + 0x74]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], eax
test eax, eax
jle 0x10086cf3
mov edi, eax
test byte [esi + 0xa], 6
jne 0x10086cdc
movzx eax, word [esi + 0xc]
test al, 0x82
push 0xb
setne cl
pop edx
bt ax, dx
setb al
test al, cl
je 0x10086cdc
mov ecx, dword [esp + 0x38]
cmp dword [esi + 0x14], ecx
jne 0x10086cdc
mov eax, dword [esp + 0x78]
test byte [eax + 0x24], 8
jne 0x10086cdc
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [esp + 0x74]
push ebx
push 0x83
push dword [ebp + 0x18]
mov dword [esp + 0x74], eax
push dword [ebp + 0x14]
push dword [esi + 0x18]
call fcn.10088f34
mov edx, eax
test edx, edx
je 0x10086cdc
test byte [edx + 0xa], 4
jne 0x10086cdc
xor ecx, ecx
inc ecx
test byte [edx + 0xc], cl
je 0x10086c9e
mov eax, dword [edx]
test dword [eax + 4], 0x800
je 0x10086c9e
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], ecx
jg 0x10086cdc
mov esi, dword [edx]
lea edi, [esp + 0x84]
mov eax, dword [esp + 0x68]
push 0xd
pop ecx
push 0x10
push dword [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x20]
call fcn.10062aac
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
dec edi
add esi, 0x30
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], esi
test edi, edi
jg 0x10086c15
mov edi, dword [ebp + 0x10]
cmp dword [edi], 0
je 0x10086d5b
mov ecx, dword [esp + 0x20]
push ebx
push dword [edi]
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x45
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x74]
mov esi, dword [edx + 0x14]
cmp dword [edx + 0xc], ebx
jle 0x10086d5b
test byte [esi + 0xa], 6
jne 0x10086d52
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
jne 0x10086d52
push 0x10
push dword [esp + 0x84]
push dword [esi]
push dword [esp + 0x20]
call fcn.10062aac
mov edx, dword [esp + 0x74]
push 4
pop eax
or word [esi + 0xa], ax
inc ebx
add esi, 0x30
cmp ebx, dword [edx + 0xc]
jl 0x10086d1d
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14