Function at 0x49dddf
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x63d284]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x48], eax
push edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x1e8]
mov dword [esi + 0x1e4], eax
inc eax
mov dword [esi + 0x1e8], eax
mov eax, dword [esi]
mov dword [esp + 0x54], 1
mov dword [esp + 0x38], eax
test edx, edx
je 0x49f02a
cmp byte [eax + 0x36], 0
jne 0x49f02a
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jne 0x49f02a
push ebx
push ebx
push ebx
push 0x15
pop edx
call fcn.0048cef4
add esp, 0xc
test eax, eax
jne 0x49f02a
push 0xa
pop ecx
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
cmp byte [eax], 4
ja 0x49de9c
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x38]
call fcn.00488320
mov eax, 0xfffe
mov dword [edi + 0x38], ebx
and word [edi + 6], ax
push ebx
mov edx, edi
mov ecx, esi
call fcn.0049d9e9
mov eax, dword [edi + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
pop ecx
mov dword [esp + 0x14], eax
cmp dword [esi + 0x44], ebx
jne 0x49eff3
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x36], bl
jne 0x49eff3
movzx eax, word [edi + 6]
mov ecx, esi
shr eax, 2
and eax, 1
mov dword [esp + 0x1c], eax
call fcn.0049b380
mov dword [esp + 0xc], eax
test eax, eax
je 0x49eff3
mov eax, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x4c]
push dword [eax]
call fcn.0049a501
pop ecx
test eax, eax
jne 0x49eff3
mov ecx, dword [edi + 0x3c]
mov edx, ebx
mov dword [esp + 0x18], ebx
test ecx, ecx
jne 0x49e116
mov eax, dword [esp + 0x24]
mov ecx, ebx
movsx eax, word [eax]
cmp edx, eax
jge 0x49e116
mov ecx, dword [esp + 0x24]
mov eax, edx
shl eax, 6
mov dword [esp + 0x40], eax
mov esi, dword [eax + ecx + 0x18]
test esi, esi
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x30]
je 0x49e102
mov edx, dword [eax + ecx + 0x1c]
test edx, edx
je 0x49df75
push ebx
push edx
push dword [eax + ecx + 0x20]
mov ecx, dword [esp + 0x18]
push 2
pop edx
call fcn.0047a9c4
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x49e102
mov ecx, edi
call fcn.00487605
add dword [esi + 0x1e0], eax
mov edx, edi
mov eax, dword [esp + 0x60]
mov ecx, esi
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0049cda9
add esp, 0xc
test eax, eax
je 0x49dfcd
cmp dword [esp + 0x14], ebx
je 0x49dfc1
or word [edi + 6], 4
mov dword [esp + 0x1c], 1
or eax, 0xffffffff
mov dword [esp + 0x18], eax
jmp 0x49e0cd
mov eax, dword [esi + 0x4c]
mov edx, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x24]
push ebx
push eax
push ebx
mov dword [esi + 0x4c], eax
mov dword [edx + ecx + 0x20], eax
mov ecx, dword [esp + 0x18]
push 7
pop edx
mov dword [esp + 0x34], ebx
call fcn.0047a9c4
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
inc eax
mov dword [ecx + edx + 0x1c], eax
cmp byte [ecx + edx + 0x26], bl
jne 0x49e020
mov ecx, esi
call fcn.004885bc
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + edx + 0x28]
mov edi, dword [esp + 0x60]
mov dword [esp + 0xd8], eax
mov al, byte [esi + 0x1e8]
mov word [esp + 0xd4], 9
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov byte [ecx + edx + 0x27], al
lea eax, [esp + 0xd4]
push eax
mov edx, edi
mov ecx, esi
call fcn.0049dddf
movsd xmm0, qword [edi + 0x20]
pop ecx
call fcn.005d0440
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + edi + 0x14]
mov edi, dword [esp + 0x64]
mov dword [ecx + 0x18], eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x49e09b
js 0x49e09b
mov eax, dword [esp + 0xc]
mov edx, ecx
mov ecx, eax
push dword [eax + 0x1c]
call fcn.0047ad2a
pop ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
push ebx
push ebx
push dword [eax + ecx + 0x20]
mov ecx, dword [esp + 0x18]
push 3
pop edx
call fcn.0047a9c4
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047ad13
pop ecx
mov byte [esi + 0x13], bl
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x36], bl
jne 0x49effa
mov ecx, edi
call fcn.00487605
mov ecx, dword [esp + 0x4c]
sub dword [esi + 0x1e0], eax
mov eax, dword [edi + 0x28]
mov edx, dword [esp + 0x18]
cmp byte [ecx], 4
mov dword [esp + 0x24], eax
jbe 0x49e106
mov eax, dword [edi + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x3c]
inc edx
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x49df23
mov edx, dword [edi + 0x34]
mov eax, dword [edi]
mov dword [esp + 0x60], edx
movzx edx, word [edi + 6]
mov dword [esp + 0x34], eax
and edx, 1
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], edx
test ecx, ecx
je 0x49e197
cmp dword [edi + 0x44], ebx
jne 0x49e17a
mov ecx, ebx
mov eax, edi
mov dword [eax + 0x40], ebx
inc ecx
mov dword [eax + 0x44], edi
mov ebx, eax
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x49e149
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x5c], 0
je 0x49e17a
cmp ecx, dword [eax + 0x5c]
jle 0x49e17a
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.00467ef4
pop ecx
pop ecx
jmp 0x49effa
push dword [esp + 0x4c]
mov edx, edi
mov ecx, esi
call fcn.0049b578
pop ecx
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x1e4], ecx
jmp 0x49f02d
mov edx, dword [esp + 0x20]
mov ecx, eax
call fcn.0048a92d
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x49e1bc
mov eax, dword [esp + 0x38]
push 0
test byte [eax + 0x18], 0x20
pop eax
cmove ecx, eax
mov dword [esp + 0x20], ecx
mov al, byte [edi + 6]
and al, 5
cmp al, 1
jne 0x49e1f9
mov edx, dword [edi]
call fcn.0048a92d
test eax, eax
jne 0x49e1f5
mov edx, dword [edi]
mov eax, 0xfffe
mov ecx, dword [esp + 0x38]
and word [edi + 6], ax
push ebx
call fcn.00487e34
pop ecx
mov ecx, ebx
mov dword [edi + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
jmp 0x49e1f9
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x49e23e
mov edx, ecx
mov ecx, esi
call fcn.0049a886
mov ecx, dword [esi + 0x48]
mov edx, eax
mov eax, dword [esp + 0x20]
push 0xfffffffffffffff0
push edx
push ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
inc dword [esi + 0x48]
mov eax, dword [ecx]
add eax, 2
push eax
push dword [ecx + 4]
mov ecx, dword [esp + 0x20]
push 0x2a
pop edx
call fcn.0047aa4a
add esp, 0x14
mov dword [esp + 0x18], eax
mov dword [edi + 0x18], eax
jmp 0x49e243
or dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x4c]
cmp byte [ecx], 9
jne 0x49e265
mov eax, dword [esp + 0x34]
push ebx
push dword [eax]
push dword [ecx + 4]
mov ecx, dword [esp + 0x18]
push 0x2a
pop edx
call fcn.0047a9c4
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.0047aae8
movsd xmm0, qword [0x61d508]
mov edx, edi
push eax
mov ecx, esi
mov dword [esp + 0xb4], eax
movsd qword [edi + 0x20], xmm0
call fcn.0049b3b4
pop ecx
mov ecx, dword [esp + 0xc]
cmp dword [edi + 8], ebx
jne 0x49e2ad
mov eax, dword [esp + 0x18]
test eax, eax
js 0x49e2ad
mov edx, eax
call fcn.0047b03e
mov byte [eax], 0x2b
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x49e30c
mov eax, dword [esi + 0x48]
mov ecx, esi
mov dword [esp + 0x40], eax
inc eax
mov dword [esi + 0x48], eax
mov edx, dword [edi]
call fcn.0049a886
mov ecx, dword [esp + 0xc]
mov esi, eax
push ebx
push ebx
push dword [esp + 0x48]
push 0x2a
pop edx
call fcn.0047a9c4
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, eax
mov dword [esp + 0x28], eax
push 0xfffffffffffffff0
push esi
call fcn.0047aef7
mov esi, dword [esp + 0x38]
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
test edx, edx
je 0x49e316
imul eax, dword [ecx + 0x1c], 0x14
mov byte [eax + edx - 0x11], 8
jmp 0x49e316
or dword [esp + 0x28], 0xffffffff
or dword [esp + 0x40], 0xffffffff
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ebx
jne 0x49e54a
test edx, edx
jne 0x49e54a
cmp dword [esp + 0x68], ebx
je 0x49e336
mov eax, dword [edi]
jmp 0x49e338
mov eax, ebx
mov edx, dword [esp + 0x24]
mov ecx, esi
push ebx
push ebx
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x58]
call fcn.004a686c
add esp, 0x14
mov dword [esp + 0x3c], eax
test eax, eax
je 0x49eff3
movsd xmm1, qword [eax + 0x30]
movsd xmm0, qword [edi + 0x20]
comisd xmm0, xmm1
jbe 0x49e373
movsd qword [edi + 0x20], xmm1
mov edx, dword [esp + 0x18]
test edx, edx
js 0x49e392
cmp dword [esp + 0x20], ebx
jne 0x49e392
mov ecx, dword [esp + 0xc]
call fcn.0047aecb
or dword [edi + 0x18], 0xffffffff
mov eax, dword [esp + 0x3c]
mov cl, byte [eax + 8]
mov byte [esp + 0x13], cl
test cl, cl
je 0x49e518
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
call fcn.0047b03e
or dword [esp + 0x40], 0xffffffff
mov edx, eax
cmp byte [esp + 0x13], 2
jne 0x49e511
inc dword [esi + 0x4c]
mov ecx, dword [esi + 0x4c]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x58], ecx
lea eax, [ecx + 1]
mov edi, dword [edi]
mov dword [esp + 0x50], eax
add eax, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], edi
lea eax, [ecx + edi*2]
mov dword [esi + 0x4c], eax
xor eax, eax
inc eax
mov dword [edx + 8], ecx
mov dword [edx + 4], eax
push eax
lea eax, [ecx + 1]
mov byte [edx], 7
mov edx, dword [esp + 0x38]
mov ecx, esi
push eax
call fcn.0048a17e
mov eax, dword [esp + 0x14]
push ebx
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x40]
add ecx, 3
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
dec eax
push eax
push dword [esp + 0x68]
push 0x1b
pop edx
call fcn.0047a9c4
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov edi, dword [esp + 0x64]
mov dword [esp + 0x60], ebx
cmp dword [ecx], ebx
jle 0x49e4c5
mov edi, dword [esp + 0xc]
mov eax, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
jmp 0x49e457
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 8]
mov ecx, esi
mov edx, dword [eax + edx]
call fcn.004872e7
mov esi, eax
mov ecx, edi
mov eax, dword [esp + 0x44]
add eax, ebx
push eax
push dword [esp + 0x60]
push ebx
push 0x4b
pop edx
call fcn.0047a9c4
add esp, 0xc
or edx, 0xffffffff
mov ecx, edi
push 0xfffffffffffffffc
push esi
call fcn.0047aef7
pop ecx
pop ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x49e49e
imul eax, dword [edi + 0x1c], 0x14
mov byte [eax + ecx - 0x11], 0x80
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
inc ecx
mov edx, dword [esp + 0x34]
add eax, 0x14
mov esi, dword [esp + 0x30]
inc ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x28], eax
cmp ecx, dword [edx]
jl 0x49e453
mov edi, dword [esp + 0x64]
xor ebx, ebx
mov ecx, dword [esp + 0x3c]
xor edx, edx
push ebx
inc edx
push dword [ecx + 0x14]
mov ecx, dword [esp + 0x14]
push ebx
call fcn.0047a9c4
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x5c]
push ebx
push 7
pop edx
call fcn.0047a9c4
mov eax, dword [esp + 0x40]
add esp, 0xc
mov ecx, dword [esp + 0xc]
push dword [eax]
push dword [esp + 0x74]
push dword [esp + 0x58]
push 0xd
pop edx
call fcn.0047a9c4
add esp, 0xc
jmp 0x49e514
mov byte [edx], 0x95
mov eax, dword [esp + 0x3c]
push dword [eax + 0x18]
mov edx, edi
mov ecx, esi
push dword [eax + 0x14]
push dword [esp + 0x54]
push dword [esp + 0x4c]
push dword [esp + 0x30]
push ebx
push ebx
push dword [esp + 0x50]
call fcn.0049a52e
mov ecx, dword [esp + 0x5c]
add esp, 0x20
call fcn.004a7169
jmp 0x49ef74
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], ebx
test edx, edx
je 0x49e5c4
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x30]
test eax, eax
jle 0x49e585
mov edx, dword [esp + 0x14]
add edx, 0x10
xor ecx, ecx
dec eax
mov word [edx], cx
lea edx, [edx + 0x14]
test eax, eax
jg 0x49e570
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
test eax, eax
jle 0x49e5aa
mov edx, dword [esp + 0x14]
add edx, 0x10
xor esi, esi
dec eax
mov word [edx], si
lea edx, [edx + 0x14]
test eax, eax
jg 0x49e599
mov esi, dword [esp + 0x30]
movsd xmm0, qword [edi + 0x20]
movsd xmm1, qword [0x61d488]
comisd xmm0, xmm1
jbe 0x49e5d1
movsd qword [edi + 0x20], xmm1
jmp 0x49e5d1
movsd xmm0, qword [0x61d428]
movsd qword [edi + 0x20], xmm0
call fcn.0047aae8
mov ecx, dword [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x84]
mov dword [esp + 0xbc], ebx
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov dword [esp + 0xb4], esi
mov dword [esp + 0xc0], eax
test ecx, ecx
je 0x49e628
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x90], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0xb4]
call fcn.0048ad0a
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xb4]
call fcn.0048ad0a
mov eax, dword [esp + 0x60]
test eax, eax
je 0x49e665
mov edx, eax
lea ecx, [esp + 0xb4]
call fcn.0048ace1
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], eax
cmp dword [esp + 0xa8], ebx
jle 0x49e6ce
mov al, byte [esp + 0xd0]
mov edi, ebx
mov esi, ebx
or al, 8
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd0], al
mov eax, dword [esp + 0xa4]
mov edx, dword [edi + eax]
mov edx, dword [edx + 0x10]
call fcn.0048ad0a
mov al, byte [esp + 0xd0]
lea edi, [edi + 0x10]
and al, 0xf7
inc esi
mov byte [esp + 0xd0], al
cmp esi, dword [esp + 0xa8]
jl 0x49e687
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x36], bl
jne 0x49eff3
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x49ed05
mov eax, dword [esi + 0x48]
mov ecx, esi
mov dword [esp + 0x88], eax
inc eax
mov dword [esi + 0x48], eax
call fcn.0049a886
mov ecx, dword [esp + 0xc]
push 0xfffffffffffffff0
push eax
push ebx
push dword [esp + 0x9c]
mov dword [esp + 0x90], eax
push dword [esp + 0x98]
push 0x2b
pop edx
call fcn.0047aa4a
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x4c]
inc eax
mov dword [esp + 0x50], eax
inc eax
mov dword [esp + 0x18], eax
inc eax
mov dword [esi + 0x4c], eax
call fcn.0047aae8
inc dword [esi + 0x4c]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x28], eax
call fcn.0047aae8
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
push ebx
push dword [esp + 0x1c]
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x7c], eax
mov dword [esi + 0x4c], ecx
push ebx
lea eax, [ecx + 1]
mov dword [esp + 0x84], eax
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [esp + 0x18]
push 7
pop edx
mov dword [esi + 0x4c], eax
call fcn.0047a9c4
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x54]
push ebx
push 7
pop edx
call fcn.0047a9c4
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x74]
mov eax, dword [eax]
dec eax
add eax, ecx
push eax
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push 0xa
pop edx
call fcn.0047a9c4
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x5c]
push dword [esp + 0x30]
push 2
pop edx
call fcn.0047a9c4
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x38]
add esp, 0xc
mov ecx, esi
push ebx
push ebx
push ebx
push eax
push dword [esp + 0x58]
call fcn.004a686c
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x49eff3
cmp dword [esp + 0x2c], ebx
jne 0x49e825
mov eax, dword [edi + 0x30]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebx
jmp 0x49ea31
cmp dword [esp + 0x68], ebx
je 0x49e836
test byte [edi + 6], 1
mov edx, str.DISTINCT
je 0x49e83b
mov edx, str.GROUP_BY
mov ecx, esi
call fcn.0049a94a
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 1
mov eax, dword [eax]
mov dword [esp + 0x44], eax
inc eax
mov edx, eax
mov dword [esp + 0x7c], eax
mov edi, eax
mov dword [esp + 0x54], edx
cmp dword [esp + 0x9c], ebx
jle 0x49e89d
mov esi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
add esi, 0xc
cmp dword [esi], edi
lea eax, [edx + 1]
lea esi, [esi + 0x18]
cmovl eax, edx
mov edx, eax
lea eax, [edi + 1]
cmovl eax, edi
mov edi, eax
sub ebx, 1
jne 0x49e87b
mov esi, dword [esp + 0x30]
mov dword [esp + 0x54], edx
mov ecx, esi
call fcn.0048ad8e
mov edi, eax
mov ecx, esi
mov dword [esp + 0x48], edi
call fcn.0048925b
mov edx, dword [esp + 0x2c]
mov ecx, esi
push ebx
push edi
call fcn.0048a17e
mov eax, dword [esp + 0x4c]
push ebx
add eax, edi
mov edi, dword [esp + 0x18]
push eax
push dword [esp + 0x98]
mov ecx, edi
push 0x37
pop edx
call fcn.0047a9c4
add esp, 0x14
mov dword [esp + 0x5c], ebx
cmp dword [esp + 0x9c], 0
jle 0x49e97e
mov edx, dword [esp + 0x48]
mov eax, ebx
mov ecx, dword [esp + 0x7c]
add edx, ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], ebx
mov edi, dword [esp + 0x98]
cmp dword [eax + edi + 0xc], ecx
mov edi, dword [esp + 0xc]
jl 0x49e961
mov ecx, dword [esp + 0x98]
push ebx
push edx
push dword [eax + ecx + 4]
mov edx, dword [eax + ecx]
push dword [eax + ecx + 8]
mov ecx, esi
call fcn.004891d6
mov edx, dword [esp + 0x78]
add esp, 0x10
cmp edx, eax
je 0x49e94f
push ebx
push edx
push eax
push 0xf
pop edx
mov ecx, edi
call fcn.0047a9c4
mov edx, dword [esp + 0x74]
add esp, 0xc
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x44]
inc ecx
inc edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x68], edx
mov esi, dword [esp + 0x5c]
add eax, 0x18
inc esi
mov dword [esp + 0x44], eax
cmp esi, dword [esp + 0x9c]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x30]
jl 0x49e904
mov ecx, esi
call fcn.0048ad3e
mov esi, eax
mov ecx, edi
push esi
push dword [esp + 0x58]
push dword [esp + 0x50]
push 0x1f
pop edx
call fcn.0047a9c4
add esp, 0xc
mov ecx, edi
push ebx
push esi
push dword [esp + 0x90]
push 0x60
pop edx
call fcn.0047a9c4
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.0048ad5a
push dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
call fcn.0048adb9
pop ecx
mov ecx, dword [esp + 0x14]
call fcn.004a7169
mov edx, dword [esi + 0x48]
mov ecx, esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x8c], edx
lea eax, [edx + 1]
mov dword [esi + 0x48], eax
call fcn.0048ad3e
push dword [esp + 0x54]
mov ecx, edi
mov dword [esp + 0x48], eax
push eax
push edx
push 0x2c
pop edx
call fcn.0047a9c4
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x40]
push dword [esp + 0x90]
push 0x46
pop edx
call fcn.0047a9c4
add esp, 0xc
mov byte [esp + 0x85], 1
mov ecx, esi
call fcn.0048925b
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.0048925b
cmp dword [esp + 0x1c], 0
je 0x49ea5f
push ebx
push dword [esp + 0x48]
mov ecx, edi
push dword [esp + 0x90]
push 0x3e
pop edx
call fcn.0047a9c4
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov ecx, ebx
mov dword [esp + 0x48], ebx
cmp dword [edx], ebx
jle 0x49ead4
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
add eax, ecx
push eax
test ebx, ebx
je 0x49eaa8
push ecx
push dword [esp + 0x64]
mov ecx, edi
push 0x1d
pop edx
call fcn.0047a9c4
mov ecx, dword [esp + 0x54]
add esp, 0xc
test ecx, ecx
jne 0x49eac5
mov edx, dword [edi + 4]
test edx, edx
je 0x49eac5
imul eax, dword [edi + 0x1c], 0x14
mov byte [eax + edx - 0x11], 0x20
jmp 0x49eac5
imul eax, ecx, 0x14
mov ecx, esi
mov byte [esp + 0x88], 1
mov edx, dword [edx + 8]
mov edx, dword [eax + edx]
call fcn.00489fc2
pop ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, dword [edx]
jl 0x49ea71
xor ebx, ebx
push 0xfffffffffffffffa
push dword [esp + 0x84]
mov ecx, edi
push dword [edx]
push dword [esp + 0x84]
push dword [esp + 0x84]
push 0x18
pop edx
call fcn.0047aa4a
mov eax, dword [edi + 0x1c]
add esp, 0x14
mov dword [esp + 0x80], eax
mov ecx, edi
inc eax
push eax
push ebx
push eax
push 0x19
pop edx
call fcn.0047a9c4
mov eax, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [esp + 0x78]
mov ecx, esi
push dword [eax]
push dword [esp + 0x78]
call fcn.0048928a
mov eax, dword [esp + 0x20]
mov ecx, edi
push ebx
push dword [esp + 0x7c]
inc eax
push eax
push 2
pop edx
call fcn.0047a9c4
add esp, 0x14
mov ecx, edi
push ebx
push dword [esp + 0x40]
push dword [esp + 0x20]
push 0x78
pop edx
call fcn.0047a9c4
add esp, 0xc
mov ecx, edi
push ebx
push dword [esp + 0x5c]
push dword [esp + 0x30]
push 2
pop edx
call fcn.0047a9c4
mov edx, dword [esp + 0x8c]
add esp, 0xc
test edx, edx
js 0x49eb84
push dword [edi + 0x1c]
mov ecx, edi
call fcn.0047ad2a
pop ecx
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.0049db68
push ebx
push dword [esp + 0x54]
mov ecx, edi
push 1
push 7
pop edx
call fcn.0047a9c4
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x49ebc8
push ebx
push dword [esp + 0x6c]
mov ecx, edi
push dword [esp + 0x90]
push 0x51
pop edx
call fcn.0047a9c4
add esp, 0xc
jmp 0x49ebdf
mov ecx, dword [esp + 0x14]
call fcn.004a7169
mov edx, dword [esp + 0xac]
mov ecx, edi
call fcn.0047aecb
mov esi, dword [esp + 0x18]
mov ecx, edi
push ebx
push dword [esp + 0x74]
lea eax, [esi + 1]
push eax
push 2
pop edx
call fcn.0047a9c4
add esp, 0xc
xor edx, edx
inc edx
mov ecx, edi
push ebx
push dword [esp + 0x40]
push ebx
call fcn.0047a9c4
mov edi, dword [edi + 0x1c]
add esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x14]
mov ecx, esi
push 1
push 7
pop edx
call fcn.0047a9c4
mov eax, dword [esp + 0x24]
add esp, 0xc
inc eax
mov ecx, esi
push ebx
push ebx
push eax
push 3
pop edx
call fcn.0047a9c4
mov edx, dword [esp + 0x7c]
add esp, 0xc
mov ecx, esi
call fcn.0047ab24
mov esi, dword [esi + 0x1c]
push ebx
lea eax, [esi + 2]
push eax
push dword [esp + 0x58]
push 0x78
pop edx
call fcn.0047a9c4
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0xc]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.0047a9c4
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x90]
add esp, 0xc
call fcn.0049db19
mov edx, dword [esp + 0x60]
inc esi
mov ecx, dword [esp + 0x30]
push 8
push esi
call fcn.0048a566
push edi
mov edi, dword [esp + 0x70]
mov edx, edi
push esi
push dword [esp + 0x5c]
mov esi, dword [esp + 0x44]
mov ecx, esi
push dword [esp + 0x54]
push dword [esp + 0x38]
push ebx
push ebx
push dword [edi]
call fcn.0049a52e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.0047a9c4
mov edx, dword [esp + 0x8c]
add esp, 0x34
mov ecx, dword [esp + 0xc]
call fcn.0047ab24
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.0049da3b
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push dword [esp + 0x30]
push 3
pop edx
call fcn.0047a9c4
add esp, 0xc
jmp 0x49ef67
lea edx, [esp + 0x84]
mov dword [esp + 0x50], ebx
mov ecx, edi
call fcn.0049d331
mov dword [esp + 0x1c], eax
test eax, eax
je 0x49ee41
mov ecx, dword [esi]
mov edx, dword [eax + 0x44]
call fcn.004997e7
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x28], eax
inc eax
mov dword [esi + 0x48], eax
mov eax, dword [edx + 0x14]
mov edx, ecx
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], eax
call fcn.004905cc
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov edx, dword [esp + 0x14]
push dword [eax]
push ebx
push dword [eax + 0x14]
call fcn.0048cfa8
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x49edc5
mov edi, ebx
cmp byte [ecx + 0x2e], bl
jne 0x49ed92
test edi, edi
je 0x49ed90
mov eax, dword [ecx + 0x24]
cmp eax, dword [edi + 0x24]
jge 0x49ed92
mov edi, ecx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x49ed7f
mov dword [esp + 0x58], edi
test edi, edi
mov edi, dword [esp + 0x64]
je 0x49edc5
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x24]
cmp eax, dword [edx + 8]
jge 0x49edc5
mov eax, dword [ecx + 0x28]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.0049095b
mov dword [esp + 0x5c], eax
push dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x48]
push dword [esp + 0x30]
push 0x27
pop edx
call fcn.0047a9c4
mov eax, dword [esp + 0x68]
add esp, 0xc
test eax, eax
je 0x49edf9
mov ecx, dword [esp + 0xc]
or edx, 0xffffffff
push 0xfffffffffffffff0
push eax
call fcn.0047aef7
pop ecx
pop ecx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xc]
push ebx
push dword [eax + 8]
push dword [esp + 0x30]
push 0x20
pop edx
call fcn.0047a9c4
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x30]
push 0x2d
pop edx
call fcn.0047a9c4
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x58]
call fcn.0049dd70
pop ecx
jmp 0x49ef28
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.0049d2cf
mov byte [esp + 0x13], al
test al, al
je 0x49ee98
mov eax, dword [edi]
mov ecx, dword [esp + 0x38]
push ebx
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
call fcn.00487e34
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], eax
pop ecx
test eax, eax
je 0x49ee98
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x36], bl
jne 0x49ee98
mov eax, dword [eax + 8]
cmp byte [esp + 0x13], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov byte [eax], 0x98
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.0049da3b
movzx eax, byte [esp + 0x13]
mov ecx, esi
mov edx, dword [esp + 0x24]
push ebx
push eax
push ebx
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x58]
call fcn.004a686c
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x49eedf
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
call fcn.00488320
jmp 0x49effa
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.0049db68
cmp dword [esp + 0x1c], ebx
jne 0x49ef11
cmp byte [esp + 0x13], bl
je 0x49ef11
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [esp + 0xc]
inc edx
push ebx
push dword [eax + 0x18]
push ebx
call fcn.0047a9c4
add esp, 0xc
mov ecx, dword [esp + 0x14]
call fcn.004a7169
lea edx, [esp + 0x84]
mov ecx, esi
call fcn.0049db19
mov edx, dword [esp + 0x60]
mov ecx, esi
push 8
push dword [esp + 0x40]
mov dword [esp + 0x28], ebx
call fcn.0048a566
mov eax, dword [esp + 0x44]
mov edx, edi
push eax
push eax
push dword [esp + 0x5c]
mov ecx, esi
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push dword [edi]
call fcn.0049a52e
mov edx, dword [esp + 0x78]
add esp, 0x28
mov ecx, dword [esp + 0x38]
call fcn.00488320
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
call fcn.0047ab24
cmp dword [esp + 0x40], 0
jl 0x49ef87
mov edx, str.DISTINCT
mov ecx, esi
call fcn.0049a94a
cmp dword [esp + 0x20], 0
je 0x49efb4
mov edx, str.ORDER_BY
mov ecx, esi
call fcn.0049a94a
mov eax, dword [esp + 0x34]
mov edx, edi
push dword [esp + 0x4c]
mov ecx, esi
push dword [eax]
push dword [esp + 0x14]
call fcn.0049a9ff
add esp, 0xc
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xc]
call fcn.0047ab24
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x1e4], ecx
mov dword [esp + 0x54], ebx
cmp byte [eax], 5
jne 0x49f004
push dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.0049aee0
mov eax, ebx
pop ecx
mov dword [esp + 0x54], eax
jmp 0x49f004
xor eax, eax
inc eax
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x1e4], ecx
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x38]
call fcn.004660bd
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x38]
call fcn.004660bd
mov eax, dword [esp + 0x54]
jmp 0x49f02d
xor eax, eax
inc eax
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056cd75
mov esp, ebp
pop ebp
ret