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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, ecx
mov dword [esp + 0x48], 0
push ebx
push esi
mov esi, edx
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov dword [esp + 0xc], ecx
mov ecx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
call fcn.10026cb0
mov ecx, ebx
mov dword [esp + 0x38], eax
call fcn.10026cb0
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x4c], eax
movzx eax, byte [esi + 4]
mov edx, dword [edi]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edx
cmp eax, 0x74
je 0x100594d9
cmp byte [ecx + 0x40], 0
mov esi, 1
jne 0x100594d5
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x40], eax
nop dword [eax]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
cmp esi, dword [eax]
jg 0x100594d5
mov edx, dword [edi + 4]
xor ecx, ecx
cmp dword [esp + 0x2c], ecx
jle 0x10059453
mov ebx, dword [esp + 0x2c]
add edx, 0x14
movzx eax, word [edx]
cmp eax, esi
je 0x1005944f
inc ecx
add edx, 0x18
cmp ecx, ebx
jl 0x10059440
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jne 0x100594c6
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push 0
push eax
mov edx, 0x84
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.10037ce0
add esp, 8
test eax, eax
je 0x1005952c
mov ecx, dword [esp + 0x14]
mov edx, edi
or dword [eax + 4], 0x400
push eax
mov dword [eax + 8], esi
call fcn.10038e30
mov edx, dword [esp + 0x30]
mov edi, eax
add esp, 4
test edi, edi
je 0x100594c6
mov ecx, dword [esp + 0x40]
inc edx
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], edx
mov word [eax + ecx + 0x14], si
add ecx, 0x18
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x10]
inc esi
cmp byte [ecx + 0x40], 0
je 0x10059420
mov esi, dword [esp + 0xc]
shl edx, 2
call fcn.1000c010
mov dword [esp + 0x50], eax
test eax, eax
je 0x10059538
mov esi, dword [esp + 0x2c]
xor ecx, ecx
mov edx, dword [edi + 4]
test esi, esi
jle 0x10059513
add edx, 0x14
mov ebx, eax
nop dword [eax + eax]
movzx eax, word [edx]
lea edx, [edx + 0x18]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, esi
jl 0x10059500
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x18]
call fcn.10057f60
add esp, 4
mov dword [esp + 0x58], eax
jmp 0x10059540
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x58], 0
mov dword [esi + 0x30], edi
mov edx, edi
mov edi, dword [esp + 0x14]
push 0
mov ecx, dword [edi]
call fcn.10038830
mov ecx, dword [esp + 0x34]
add esp, 4
cmp dword [esp + 0x34], 0x74
mov dword [ecx + 0x30], eax
jne 0x10059570
mov dword [esp + 0x24], 0
jmp 0x100596b5
mov eax, dword [esi]
mov edx, dword [esp + 0x14]
mov edi, dword [eax]
mov eax, dword [edx + 0x48]
mov dword [esp + 0x44], edi
lea ecx, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x24], ecx
mov dword [edx + 0x48], eax
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x100595a2
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x100595d6
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
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
lea esi, [edi*4 + 0x1d]
xor ecx, ecx
add esi, edi
mov edx, esi
call fcn.1000c010
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10059633
push esi
push 0
push ecx
call fcn.100b11d0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [ecx + 0x18]
mov word [ecx + 6], di
lea eax, [eax + edi*4]
mov dword [ecx + 0x10], eax
mov eax, 1
mov word [ecx + 8], ax
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [ecx + 4], al
mov dword [ecx + 0xc], edx
mov dword [ecx], 1
jmp 0x1005963b
mov eax, dword [esp + 0x10]
mov byte [eax + 0x40], 1
test ecx, ecx
je 0x100596ad
xor esi, esi
test edi, edi
jle 0x100596ad
mov ebx, dword [esp + 0xc]
xor edi, edi
add ecx, 0x14
mov dword [esp + 0x18], ecx
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x10059670
mov ecx, dword [esp + 0x14]
push esi
call fcn.10057f10
mov ecx, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x1005968b
jmp 0x10059672
xor eax, eax
mov edx, dword [ebx]
cmp esi, dword [edx]
jge 0x1005968b
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [edx + edi]
call fcn.100377f0
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
add edi, 0x18
mov eax, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x44]
jl 0x10059652
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov edx, esi
mov dword [esi + 0x34], 0
mov ecx, edi
push str.ORDER
mov dword [eax + 0x38], 0
push dword [esi + 0x30]
call fcn.10036f10
mov eax, dword [esp + 0x38]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x100596f9
push str.ORDER
push dword [eax + 0x30]
mov edx, eax
mov ecx, edi
call fcn.10036f10
add esp, 8
push dword [esp + 0x38]
mov edx, esi
mov ecx, edi
call fcn.10057d80
add esp, 4
cmp dword [esi + 8], 0
je 0x1005983a
cmp dword [esp + 0x34], 0x74
jne 0x1005983a
mov eax, dword [edi + 0x48]
inc eax
mov dword [esp + 0x18], eax
inc eax
mov dword [edi + 0x48], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
lea edi, [eax + 1]
test eax, eax
jne 0x1005973b
mov edi, dword [esi + 8]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x10059751
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x10059783
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov word [eax + ecx*4], 0x21
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10059787
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x1005979d
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x100597cd
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x21
mov byte [eax + ecx*4 + 3], 0
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
mov esi, dword [esp + 0xc]
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x1005986e
test dword [esi + 4], 0x4000
mov edi, dword [esp + 0x10]
jne 0x1005985c
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.10038370
mov edx, dword [esi + 0x10]
mov ecx, edi
call fcn.10038370
test dword [esi + 4], 0x10000
je 0x10059810
mov edx, dword [esi + 8]
mov ecx, edi
call fcn.1000bde0
test dword [esi + 4], 0x800
je 0x1005984c
mov edi, dword [esi + 0x14]
test edi, edi
je 0x10059858
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.100551d0
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.1000bde0
jmp 0x1005985c
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
jmp 0x100597d1
mov edx, dword [esi + 0x14]
mov ecx, edi
call fcn.10038ff0
jmp 0x1005985c
mov edi, dword [esp + 0x10]
test dword [esi + 4], 0x8000
jne 0x1005986e
mov edx, esi
mov ecx, edi
call fcn.1000bde0
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0x40]
mov dword [edi + 0x3c], 0
test esi, esi
je 0x100598f8
test dword [esi + 4], 0x4000
jne 0x100598e4
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
call fcn.10038370
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x10]
call fcn.10038370
test dword [esi + 4], 0x10000
je 0x100598b6
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x10]
call fcn.1000bde0
test dword [esi + 4], 0x800
je 0x1005997d
mov edi, dword [esi + 0x14]
test edi, edi
je 0x100598e0
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.100551d0
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.1000bde0
mov edi, dword [esp + 0xc]
test dword [esi + 4], 0x8000
jne 0x100598f8
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.1000bde0
mov esi, dword [esp + 0x14]
mov dword [edi + 0x40], 0
mov word [esp + 0x7c], 0xd
mov dword [esp + 0x84], 0
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], 0
mov word [esp + 0x68], 0xd
lea edx, [ecx + 1]
mov dword [esp + 0x70], 0
lea eax, [edx + 2]
mov dword [esp + 0x6c], edx
mov dword [esi + 0x48], eax
mov dword [esp + 0x74], 0
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], edx
lea edi, [esi + 1]
cmp dword [eax + 0x54], esi
jg 0x1005998e
mov ecx, ebx
call fcn.10026880
test eax, eax
je 0x1005998e
mov esi, 1
jmp 0x100599be
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.10038ff0
jmp 0x100598e4
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
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 edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1d4]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.1005c3b0
mov eax, dword [ebx + 0x18]
add esp, 4
mov edi, dword [ebx + 0x20]
cmp dword [eax + 0x54], edi
jg 0x100599fc
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x10059a30
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
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 edx, dword [ebx + 0x20]
cmp edx, esi
jbe 0x10059a41
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
dec ecx
mov dword [eax + 0x58], ecx
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x44], edi
lea esi, [edi + 1]
cmp dword [eax + 0x54], edi
jg 0x10059a72
mov ecx, ebx
call fcn.10026880
test eax, eax
je 0x10059a72
mov dword [esp + 0x44], 1
jmp 0x10059aa2
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov edx, ecx
mov eax, dword [esp + 0x1c]
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0xc], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x1d4]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x68]
push eax
call fcn.1005c3b0
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [eax + 8], edi
mov edi, eax
mov dword [edi + 0xc], esi
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x10059afd
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x10059b31
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
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 + 0x38]
mov eax, dword [esp + 0x2c]
mov edx, edi
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
inc eax
push dword [esp + 0x2c]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x90]
push eax
call fcn.10058fd0
mov esi, eax
add esp, 0x18
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
cmp eax, 0x74
je 0x10059b70
cmp eax, 0x73
jne 0x10059b9a
push dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x6c]
push dword [esp + 0x24]
mov edx, edi
push dword [esp + 0x2c]
push dword [esp + 0x4c]
push dword [ebp + 8]
push eax
call fcn.10058fd0
add esp, 0x18
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10059bb0
add dword [eax], 0xffffffff
jne 0x10059bb0
push eax
call fcn.1000bd40
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, 0x75
je 0x10059cdf
cmp eax, 0x76
je 0x10059cdf
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x24], edi
cmp dword [eax + 0x54], edi
jg 0x10059beb
mov ecx, ebx
call fcn.10026880
test eax, eax
je 0x10059beb
mov edi, 1
mov dword [esp + 0x24], edi
jmp 0x10059c1f
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x48], edx
cmp dword [eax + 0x54], edx
jg 0x10059c47
mov ecx, ebx
call fcn.10026880
test eax, eax
je 0x10059c43
mov dword [esp + 0x48], 1
jmp 0x10059c7b
mov edx, dword [esp + 0x48]
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x10059c91
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x10059cc1
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
mov eax, dword [ecx + 0x18]
add dword [edx + 0x18], eax
mov eax, dword [ecx + 0x1c]
adc dword [edx + 0x1c], eax
mov eax, dword [esp + 0x34]
jmp 0x10059cf5
mov ecx, dword [esp + 0x38]
mov edi, ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], edi
cmp eax, 0x76
jne 0x10059d23
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x20], edi
cmp dword [edx + 0x1c], ecx
jb 0x10059e14
ja 0x10059d18
cmp dword [edx + 0x18], eax
jbe 0x10059e14
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
jmp 0x10059e14
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x54], edx
jg 0x10059d4b
mov ecx, ebx
call fcn.10026880
test eax, eax
je 0x10059d47
mov dword [esp + 0x20], 1
jmp 0x10059d80
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
inc edx
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x10059d96
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x10059dca
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x10059de0
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x10059e14
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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 + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x18], edx
cmp dword [eax + 0x54], edx
jg 0x10059e3c
mov ecx, ebx
call fcn.10026880
test eax, eax
je 0x10059e38
mov dword [esp + 0x18], 1
jmp 0x10059e71
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x28]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x10059e87
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x10059eb7
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x10059ecd
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x10059f01
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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 [esp + 0x34]
cmp eax, 0x74
jne 0x10059f17
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
jmp 0x10059fd0
cmp eax, 0x76
jne 0x10059f2e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
inc eax
mov dword [esp + 0x18], eax
jmp 0x10059fd0
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x1c], edi
cmp dword [eax + 0x54], edi
jg 0x10059f52
mov ecx, ebx
call fcn.10026880
test eax, eax
je 0x10059f52
mov dword [esp + 0x1c], 1
jmp 0x10059f86
mov eax, dword [ebx + 4]
lea ecx, [edi + edi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x10059f9c
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x10059fd0
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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 [esp + 0x34]
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x24], esi
cmp eax, 0x74
je 0x10059fe5
cmp eax, 0x73
jne 0x1005a02c
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x10059ff8
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x1005a02c
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x1005a042
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x1005a078
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
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
jmp 0x1005a07c
mov edi, dword [esp + 0x20]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x1005a092
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x1005a0c6
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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 edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x44]
cmp edx, eax
jbe 0x1005a0db
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x1005a0fb
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x1005a12f
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x1005a145
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x1005a175
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
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 esi, dword [ebx + 0x18]
or edi, 0xffffffff
mov ecx, edi
sub ecx, dword [esp + 0x4c]
js 0x1005a190
mov edx, dword [esi + 0x70]
test edx, edx
je 0x1005a190
mov eax, dword [ebx + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 0x20]
dec eax
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x1005a1b4
mov ecx, ebx
call fcn.10026880
test eax, eax
je 0x1005a1b4
mov esi, 1
jmp 0x1005a1e8
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
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 0xfffffffffffffff1
push dword [esp + 0x54]
mov edx, esi
mov ecx, ebx
call fcn.100270a0
mov eax, dword [esp + 0x78]
add esp, 8
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x1005a22a
mov ecx, ebx
call fcn.10026880
test eax, eax
je 0x1005a22a
mov esi, 1
jmp 0x1005a25e
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x29
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x5c]
mov edx, esi
mov ecx, ebx
call fcn.100270a0
mov ecx, dword [ebx + 4]
add esp, 8
test ecx, ecx
je 0x1005a282
mov eax, dword [ebx + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x1005a298
mov ecx, ebx
call fcn.10026880
test eax, eax
jne 0x1005a2cc
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
sub edi, dword [esp + 0x38]
mov edx, dword [ebx + 0x18]
js 0x1005a2e2
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x1005a2e2
mov eax, dword [ebx + 0x20]
mov dword [ecx + edi*4], eax
mov eax, dword [ebx + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x1005a31d
mov eax, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1005a309
nop
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x1005a300
push dword [ecx]
mov edi, dword [esp + 0x18]
xor edx, edx
mov ecx, edi
call fcn.100574d0
add esp, 4
jmp 0x1005a321
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov esi, dword [ebx + 0x34]
test esi, esi
je 0x1005a342
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.100551d0
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.1000bde0
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
cmp byte [edi + 0x1c2], 2
jne 0x1005a3bb
movzx eax, byte [ebx + 4]
mov esi, dword [edi + 8]
sub eax, 0x74
je 0x1005a380
sub eax, 1
je 0x1005a379
sub eax, 1
je 0x1005a372
mov eax, str.UNION
jmp 0x1005a385
mov eax, str.INTERSECT
jmp 0x1005a385
mov eax, str.EXCEPT
jmp 0x1005a385
mov eax, str.UNION_ALL
push eax
push 0x103b49b4
push dword [esp + 0x6c]
push dword [esp + 0x68]
push str.COMPOUND_SUBQUERIES__d_AND__d__s__s_
push dword [edi]
call fcn.1000d860
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [edi + 0x1d0]
mov edx, 0x9e
mov ecx, esi
call fcn.10026aa0
add esp, 0x2c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret