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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [ecx]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x38]
push ebx
mov ebx, dword [ecx + 8]
dec eax
push esi
mov esi, edx
mov dword [esp + 0x3c], eax
dec eax
mov dword [esp + 0x10], esi
mov dword [ecx + 0x38], eax
push edi
mov edi, dword [esi + 0x30]
mov dword [esp + 0x4c], eax
mov al, byte [esi]
mov dword [esp + 0x1c], ecx
mov edx, dword [edi]
mov dword [esp + 0x54], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x50], ebx
mov byte [esp + 0x13], al
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], edx
cmp al, 0x87
je 0x1009d4e5
mov eax, dword [esp + 0x30]
mov esi, 1
mov dword [esp + 0x24], esi
cmp byte [eax + 0x57], 0
jne 0x1009d4e1
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
cmp esi, dword [eax]
jg 0x1009d4e1
xor ecx, ecx
test edx, edx
jle 0x1009d427
mov ebx, dword [esp + 0x3c]
lea edx, [edi + 0x18]
nop
movzx eax, word [edx]
cmp eax, esi
je 0x1009d41f
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x1009d410
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jne 0x1009d4ce
mov ecx, dword [esp + 0x30]
push 0
push 0x35
call fcn.10025f80
mov esi, eax
add esp, 8
test esi, esi
je 0x1009d594
push 0x34
push 0
push esi
call fcn.10117800
or eax, 0xffffffff
mov byte [esi], 0x9b
mov word [esi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x24]
mov byte [esi + 0x34], 0
or dword [esi + 4], 0x800
mov dword [esi + 0x18], 1
mov dword [esi + 8], eax
test edi, edi
jne 0x1009d492
mov eax, dword [esp + 0x1c]
mov edx, esi
mov ecx, dword [eax]
call fcn.10064190
mov edi, eax
mov dword [esp + 0x28], edi
jmp 0x1009d4b7
mov eax, dword [edi]
lea edx, [eax + 1]
cmp dword [edi + 4], edx
jge 0x1009d54d
mov eax, dword [esp + 0x1c]
mov edx, edi
push esi
mov ecx, dword [eax]
call fcn.10064200
add esp, 4
mov dword [esp + 0x28], eax
mov edi, eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x30], edi
test edi, edi
jne 0x1009d572
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
inc esi
mov dword [esp + 0x24], esi
cmp byte [eax + 0x57], 0
je 0x1009d3f2
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.10025f80
mov ecx, eax
add esp, 8
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x1009d5a0
mov eax, dword [esp + 0x3c]
mov dword [ecx], eax
mov ecx, 1
cmp eax, ecx
jl 0x1009d538
mov ebx, dword [esp + 0x5c]
lea edx, [edi + 0x18]
mov edi, eax
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x1009d521
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
mov edx, esi
call fcn.1009b240
add esp, 4
mov dword [esp + 0x60], eax
jmp 0x1009d5a8
movups xmm0, xmmword [0x1013e3bc]
lea eax, [eax + eax*4]
mov dword [edi], edx
lea ecx, [edi + eax*4]
mov eax, dword [0x1013e3cc]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 8], esi
mov dword [eax + 0x30], edi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
inc edx
mov dword [esp + 0x3c], edx
mov word [ecx + edi + 0x18], si
add ecx, 0x14
mov dword [esp + 0x34], ecx
jmp 0x1009d4ce
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x60], 0
cmp byte [esp + 0x13], 0x87
jne 0x1009d5bc
mov dword [esp + 0x48], 0
jmp 0x1009d72e
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x20], edx
lea edi, [eax + 1]
inc eax
add eax, edx
mov dword [esp + 0x48], edi
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009d5fb
push 0
push edi
push 0
mov edx, 0x47
mov ecx, ebx
call fcn.1004ae00
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x1009d62e
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x30]
lea edx, [edx + 5]
lea eax, [edx + edx*4]
push 0
push eax
call fcn.10025f80
mov edi, dword [esp + 0x30]
mov edx, eax
add esp, 8
mov dword [esp + 0x18], edx
test edx, edx
je 0x1009d69b
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
lea eax, [ecx + 6]
lea eax, [edx + eax*4]
mov dword [edx + 0x10], eax
movzx eax, cx
mov word [edx + 6], ax
inc eax
mov word [edx + 8], ax
mov al, byte [esi + 0x54]
mov byte [edx + 4], al
lea eax, [ecx*4 + 1]
add eax, ecx
mov dword [edx + 0xc], esi
push eax
lea eax, [edx + 0x18]
mov dword [edx], 1
push 0
push eax
call fcn.10117800
mov eax, dword [esp + 0x24]
add esp, 0xc
jmp 0x1009d6b0
mov ecx, dword [esp + 0x30]
call fcn.10026330
mov dword [esp + 0x18], eax
test eax, eax
je 0x1009d727
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x1009d723
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x24], ecx
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x1009d6e3
mov ecx, dword [esp + 0x1c]
push esi
call fcn.1009b1f0
mov ecx, dword [esp + 0x28]
add esp, 4
test eax, eax
jne 0x1009d6fd
jmp 0x1009d6e5
xor eax, eax
mov edx, dword [ebx + 0x1c]
cmp esi, dword [edx]
jge 0x1009d6fd
mov edx, dword [edx + edi + 8]
mov ecx, dword [esp + 0x1c]
call fcn.10061df0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
add edi, 0x14
mov eax, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x20]
jl 0x1009d6c5
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x13], 0x86
jne 0x1009d77f
mov eax, dword [esp + 0x30]
test dword [eax + 0x50], 0x200000
jne 0x1009d77f
cmp dword [esi + 0x34], 0
lea eax, [esi + 0x34]
mov ecx, esi
je 0x1009d77f
mov bl, byte [esp + 0x13]
mov edx, 1
nop
cmp byte [ecx], bl
jne 0x1009d760
mov ecx, dword [eax]
inc edx
cmp dword [ecx + 0x34], 0
lea eax, [ecx + 0x34]
jne 0x1009d750
mov ebx, dword [esp + 0x50]
cmp edx, 3
jle 0x1009d77f
lea eax, [edx - 3]
mov ecx, esi
shr eax, 1
inc eax
mov ecx, dword [ecx + 0x34]
sub eax, 1
jne 0x1009d771
mov dword [esp + 0x64], ecx
jmp 0x1009d785
mov ecx, esi
mov dword [esp + 0x64], esi
mov eax, dword [ecx + 0x34]
mov edx, edi
mov edi, dword [esp + 0x1c]
mov dword [ecx + 0x34], 0
push 0
mov dword [eax + 0x38], 0
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
call fcn.10063a30
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, esi
mov dword [ecx + 0x30], eax
mov ecx, edi
push str.ORDER
push dword [esi + 0x30]
call fcn.10061070
mov eax, dword [esp + 0x30]
mov ecx, edi
push str.ORDER
mov edx, eax
push dword [eax + 0x30]
call fcn.10061070
push dword [esp + 0x50]
mov edx, esi
mov ecx, edi
call fcn.1009aee0
add esp, 0x14
cmp dword [esi + 8], 0
je 0x1009d8ba
cmp byte [esp + 0x13], 0x87
jne 0x1009d8ba
mov edi, dword [edi + 0x2c]
mov ecx, dword [esp + 0x1c]
inc edi
lea eax, [edi + 1]
mov dword [ecx + 0x2c], eax
mov edx, dword [esi + 0xc]
mov dword [esp + 0x44], eax
test edx, edx
je 0x1009d81a
inc edx
jmp 0x1009d81d
mov edx, dword [esi + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009d83a
push 0
push edi
push edx
mov edx, 0x50
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
jmp 0x1009d869
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009d889
push 0
push dword [esp + 0x48]
mov edx, 0x50
mov ecx, ebx
push edi
call fcn.1004ae00
add esp, 0xc
jmp 0x1009d8c4
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1009d8c4
mov dword [esp + 0x44], 0
xor edi, edi
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x1009d8d4
mov ecx, dword [esp + 0x30]
call fcn.100633e0
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x3c], 0
mov byte [esp + 0x84], 0xd
mov dword [esp + 0x8c], 0
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea edx, [eax + 1]
mov byte [esp + 0x68], 0xd
add eax, 2
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], eax
inc eax
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x24], eax
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
movzx eax, byte [esi]
mov dword [esp + 0x88], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
sub eax, 0x87
je 0x1009d98e
sub eax, 1
je 0x1009d987
sub eax, 1
je 0x1009d980
mov eax, str.UNION
jmp 0x1009d993
mov eax, str.INTERSECT
jmp 0x1009d993
mov eax, str.EXCEPT
jmp 0x1009d993
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ecx
call fcn.1004b2a0
mov eax, dword [ebx + 0x6c]
add esp, 0x10
mov dword [esp + 0x34], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x1009d9cf
push edx
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x1009d9ff
mov esi, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
push str.LEFT
push 1
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x24]
push edi
call fcn.1004b2a0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x90]
add esp, 0xc
mov ecx, edi
push eax
call fcn.100a24a0
mov ecx, dword [ebx + 0x6c]
add esp, 4
cmp dword [ebx + 0x70], ecx
jg 0x1009da51
push 0
push 0
push dword [esp + 0x34]
mov edx, 0x44
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
jmp 0x1009da84
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1009daa7
mov eax, 0x10158b98
jmp 0x1009dab4
mov eax, dword [esp + 0x34]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x58], eax
lea edi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x1009dae2
push edi
push 0
push dword [esp + 0x40]
mov edx, 0xb
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x1009db0e
mov edx, dword [esp + 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], edi
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x44]
push str.RIGHT
push 1
push dword [esp + 0x24]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
call fcn.1004b2a0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push eax
call fcn.100a24a0
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], edi
mov edi, eax
mov dword [edi + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009db7b
push 0
push 0
push dword [esp + 0x40]
mov edx, 0x44
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
jmp 0x1009dbae
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x40]
mov eax, dword [ebx + 0xc]
mov edx, edi
push dword [esp + 0x1c]
mov esi, dword [ebp + 8]
push dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x2c]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push esi
mov dword [eax + 0x1c], 0
lea eax, [esp + 0x98]
push eax
call fcn.1009cb40
mov dword [esp + 0x5c], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x87
je 0x1009dbf9
cmp al, 0x86
jne 0x1009dc21
push dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
push dword [esp + 0x1c]
mov edx, edi
push dword [esp + 0x50]
push dword [esp + 0x30]
push esi
push eax
call fcn.1009cb40
add esp, 0x18
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1009dc82
add dword [edx], 0xffffffff
jne 0x1009dc82
mov ecx, dword [edx + 0xc]
cmp edx, dword [ecx + 0x164]
jae 0x1009dc69
cmp edx, dword [ecx + 0x15c]
jb 0x1009dc51
mov eax, dword [ecx + 0x158]
mov dword [edx], eax
mov dword [ecx + 0x158], edx
jmp 0x1009dc82
cmp edx, dword [ecx + 0x160]
jb 0x1009dc69
mov eax, dword [ecx + 0x150]
mov dword [edx], eax
mov dword [ecx + 0x150], edx
jmp 0x1009dc82
cmp dword [ecx + 0x210], 0
je 0x1009dc79
call fcn.10025ba0
jmp 0x1009dc82
push edx
call fcn.10025b30
add esp, 4
mov dl, byte [esp + 0x13]
cmp dl, 0x88
je 0x1009de3e
cmp dl, 0x89
je 0x1009de3e
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x18], esi
cmp dword [ebx + 0x70], esi
jg 0x1009dcc5
push 0
push dword [esp + 0x58]
mov edx, 0xa
mov ecx, ebx
push dword [esp + 0x2c]
call fcn.1004ae00
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
jmp 0x1009dcf8
mov edx, dword [esp + 0x24]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
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 edx, dword [ebx + 0x6c]
mov dword [esp + 0x14], edx
cmp dword [ebx + 0x70], edx
jg 0x1009dd23
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x40]
call fcn.1004ae00
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x1009dd56
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009dd74
push 0
push esi
push 0
mov edx, 9
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
jmp 0x1009dda3
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
movzx esi, word [eax + 2]
movzx eax, word [edi + 2]
movsx ecx, ax
movsx edx, si
cmp ax, si
jl 0x1009dde7
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x1009ddc7
movzx eax, word [edi + 2]
jmp 0x1009de0d
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x1009ddd5
movzx eax, word [edi + 2]
inc eax
jmp 0x1009de0a
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
add ax, cx
jmp 0x1009de0a
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x1009ddf2
mov eax, esi
jmp 0x1009de0d
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x1009ddfe
lea eax, [esi + 1]
jmp 0x1009de0a
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
movzx eax, ax
mov word [edi + 2], ax
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x48], esi
cmp dword [ebx + 0x70], esi
jg 0x1009de72
push 0
push dword [esp + 0x48]
mov edx, 0xa
mov ecx, ebx
push dword [esp + 0x28]
call fcn.1004ae00
mov esi, eax
add esp, 0xc
mov dword [esp + 0x48], esi
jmp 0x1009dea5
mov ecx, dword [esp + 0x40]
mov eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp dl, 0x89
jne 0x1009de11
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x1009de67
mov word [edi + 2], ax
mov dword [esp + 0x14], ecx
mov edi, ecx
jmp 0x1009df4c
mov edx, dword [esp + 0x20]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 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 ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009dec8
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x34]
call fcn.1004ae00
add esp, 0xc
jmp 0x1009defb
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009df19
push 0
push esi
push 0
mov edx, 9
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
jmp 0x1009df48
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x18]
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x34], esi
cmp dword [ebx + 0x70], esi
jg 0x1009df79
push 0
push dword [esp + 0x48]
mov edx, 0xa
mov ecx, ebx
push dword [esp + 0x28]
call fcn.1004ae00
mov esi, eax
add esp, 0xc
mov dword [esp + 0x34], esi
jmp 0x1009dfac
mov edx, dword [esp + 0x20]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 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 ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009dfcc
push 0
push edi
push dword [esp + 0x34]
mov edx, 0xc
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
jmp 0x1009dffb
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009e01c
push 0
push dword [esp + 0x50]
mov edx, 9
mov ecx, ebx
push 0
call fcn.1004ae00
add esp, 0xc
jmp 0x1009e04f
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
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 al, byte [esp + 0x13]
cmp al, 0x87
jne 0x1009e067
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ecx
jmp 0x1009e139
cmp al, 0x89
jne 0x1009e080
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x20], esi
inc esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], eax
jmp 0x1009e18c
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x20], esi
cmp dword [ebx + 0x70], esi
jg 0x1009e0a8
push 0
push edi
push dword [esp + 0x34]
mov edx, 0xc
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x1009e0d7
mov edx, dword [esp + 0x2c]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009e0f8
push 0
push dword [esp + 0x50]
mov edx, 9
mov ecx, ebx
push 0
call fcn.1004ae00
add esp, 0xc
jmp 0x1009e12b
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
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
cmp byte [esp + 0x13], 0x86
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x18], ecx
jne 0x1009e18c
cmp dword [ebx + 0x70], ecx
jg 0x1009e159
push 0
push dword [esp + 0x58]
mov edx, 0xa
mov ecx, ebx
push dword [esp + 0x2c]
call fcn.1004ae00
add esp, 0xc
jmp 0x1009e18c
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
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 ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
cmp dword [ebx + 0x70], ecx
jg 0x1009e1b1
push 0
push esi
push edi
mov edx, 0xc
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
jmp 0x1009e1dc
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009e1fd
push 0
push dword [esp + 0x50]
mov edx, 9
mov ecx, ebx
push 0
call fcn.1004ae00
add esp, 0xc
jmp 0x1009e230
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
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 [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1009e242
mov eax, 0x10158b98
jmp 0x1009e24f
mov eax, dword [esp + 0x58]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009e276
mov edx, dword [esp + 0x14]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x34]
mov edx, 0xc
call fcn.1004ae00
add esp, 0xc
jmp 0x1009e2a9
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009e2c6
push 0
push esi
push edi
mov edx, 0xc
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
jmp 0x1009e2f1
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x4c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009e30f
push edx
mov edx, ebx
call fcn.1004b440
add esp, 4
jmp 0x1009e318
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x1009e339
push 0
push 0
push 0
mov edx, 0x59
mov ecx, ebx
call fcn.1004ae00
add esp, 0xc
mov edx, eax
jmp 0x1009e36c
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x59
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
push 0xfffffffffffffff2
push dword [esp + 0x60]
mov ecx, ebx
call fcn.1004bae0
mov esi, dword [ebx + 0x6c]
add esp, 8
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x90]
cmp dword [ebx + 0x70], esi
jg 0x1009e3a8
push dword [esp + 0x3c]
mov ecx, ebx
push edx
push edi
mov edx, 0x5a
call fcn.1004ae00
add esp, 0xc
mov esi, eax
jmp 0x1009e3d7
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff8
push dword [esp + 0x64]
mov edx, esi
mov ecx, ebx
call fcn.1004bae0
mov ecx, dword [ebx + 0x6c]
add esp, 8
test ecx, ecx
jle 0x1009e403
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 1
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1009e428
mov edx, dword [esp + 0x18]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, 0xe
call fcn.1004ae00
add esp, 0xc
jmp 0x1009e45b
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009e479
push edx
mov edx, ebx
call fcn.1004b440
add esp, 4
jmp 0x1009e482
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x1c]
mov esi, dword [edi + 0x34]
test esi, esi
je 0x1009e4d8
mov ecx, dword [ebx]
push 0
push 0xc
test ecx, ecx
je 0x1009e4a2
call fcn.10025f80
jmp 0x1009e4a7
call fcn.10025910
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x1009e4ca
mov eax, dword [ebx + 0x8c]
mov dword [ecx], eax
mov dword [ebx + 0x8c], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], fcn.10096ea0
jmp 0x1009e4d8
mov ecx, dword [ebx]
mov edx, esi
push 1
call fcn.10096be0
add esp, 4
mov esi, dword [esp + 0x28]
mov dword [edi + 0x34], esi
mov edx, dword [esi + 0x30]
mov dword [esi + 0x38], edi
test edx, edx
je 0x1009e4f2
mov ecx, dword [esp + 0x30]
call fcn.10064650
mov dword [esi + 0x30], 0
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
jne 0x1009e507
xor eax, eax
jmp 0x1009e525
mov edx, dword [ebx + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x1009e519
mov eax, 0x10158b98
jmp 0x1009e522
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xe8], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret