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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffeb4
mov ebx, eax
mov edi, edx
mov dword [esp], ecx
mov dword [esp + 0x28], 1
mov eax, dword [ebx + 0x1e4]
mov dword [esp + 0x38], eax
mov edx, dword [ebx + 0x1e8]
inc dword [ebx + 0x1e8]
mov dword [ebx + 0x1e4], edx
test edi, edi
mov ecx, dword [ebx]
mov dword [esp + 0x34], ecx
je 0x562c63
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x38], 0
jne 0x562c63
cmp dword [ebx + 0x44], 0
je 0x562c6d
mov eax, 1
jmp 0x563f46
push 0
push 0
xor ecx, ecx
mov edx, 0x15
mov eax, ebx
call fcn.00574074
test eax, eax
je 0x562c8d
mov eax, 1
jmp 0x563f46
lea eax, [esp + 0xf4]
mov ecx, 0x28
xor edx, edx
call fcn.0054b5f8
mov ecx, dword [esp]
xor eax, eax
mov al, byte [ecx]
cmp eax, 4
jg 0x562cc3
mov edx, dword [edi + 0x38]
mov eax, dword [esp + 0x34]
call fcn.00571268
xor edx, edx
mov dword [edi + 0x38], edx
and word [edi + 6], 0xfffe
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.0056284c
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x14], ecx
mov eax, dword [edi]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x44], 0
jne 0x563ef6
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x38], 0
je 0x562cfb
jmp 0x563ef6
test byte [edi + 6], 4
setne cl
and ecx, 1
mov eax, ebx
mov dword [esp + 0xc], ecx
call fcn.0056030c
mov esi, eax
test esi, esi
je 0x563ef6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp]
mov eax, ebx
call fcn.0055f150
test eax, eax
je 0x562d33
jmp 0x563ef6
xor edx, edx
mov dword [esp + 4], edx
jmp 0x562ff1
mov ebp, dword [esp + 4]
shl ebp, 6
add ebp, dword [esp + 0x14]
add ebp, 8
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x3c], 0
je 0x562fed
cmp dword [ebp + 0x18], 0
je 0x562d86
test byte [ebp + 0x21], 4
jne 0x562fed
mov edx, dword [ebp + 0x18]
mov eax, esi
push edx
mov edx, 2
mov ecx, dword [ebp + 0x1c]
call fcn.0057eb60
jmp 0x562fed
mov eax, edi
call fcn.005704a0
add dword [ebx + 0x1e0], eax
mov edx, dword [esp + 0x3c]
test byte [edx + 6], 4
setne cl
and ecx, 1
mov edx, edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xc]
push ecx
mov eax, dword [esp + 0x44]
push eax
mov eax, ebx
mov ecx, dword [esp + 0xc]
call fcn.00561a7c
test eax, eax
je 0x562de1
cmp dword [esp + 0x40], 0
je 0x562dd4
mov dword [esp + 0xc], 1
or word [edi + 6], 4
mov dword [esp + 4], 0xffffffff
jmp 0x562fb8
mov ecx, dword [esp + 0x14]
cmp word [ecx], 1
jne 0x562f07
test byte [edi + 7], 1
jne 0x562f07
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
mov dword [ebp + 0x1c], eax
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
mov dword [esp + 0x48], edx
or edx, 0xffffffff
mov eax, ebx
call fcn.00552778
mov edx, 1
mov eax, esi
call fcn.0057eb48
mov ecx, dword [ebp + 0x24]
mov edx, 0x2c
mov eax, esi
call fcn.0057eb54
mov dword [esp + 0x44], eax
mov dl, 1
mov eax, esi
call fcn.0057ee94
mov ecx, dword [esp + 0x44]
mov edx, 7
mov dword [ebp + 0x18], ecx
mov eax, esi
mov ecx, dword [esp + 0x48]
push ecx
xor ecx, ecx
call fcn.0057eb60
mov dl, 1
mov eax, esi
call fcn.0057ee94
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x11c]
mov edx, 0xa
call fcn.0055e9c4
mov cl, byte [ebx + 0x1e8]
mov eax, ebx
mov byte [ebp + 0x22], cl
lea ecx, [esp + 0x11c]
mov edx, dword [esp + 0x3c]
call fcn.00562c14
mov ecx, dword [esp + 0x3c]
fld qword [ecx + 0x20]
call fcn.0054b1ec
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x1c], eax
or byte [ebp + 0x21], 4
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x44]
mov eax, esi
call fcn.0057ee74
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x44]
mov eax, esi
call fcn.0057ee84
mov ecx, dword [esp + 0x48]
mov edx, 7
push ecx
mov ecx, 1
mov eax, esi
call fcn.0057eb60
mov ecx, dword [ebp + 0x1c]
mov edx, 4
mov eax, esi
call fcn.0057eb54
mov edx, dword [esp + 0x44]
mov eax, esi
dec edx
call fcn.0057eea8
mov eax, ebx
call fcn.00573e94
jmp 0x562fb8
xor edx, edx
mov dword [esp + 0x50], edx
mov edx, 7
inc dword [ebx + 0x4c]
xor ecx, ecx
mov eax, dword [ebx + 0x4c]
mov dword [ebp + 0x1c], eax
push eax
mov eax, esi
call fcn.0057eb60
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x4c]
inc edx
mov dword [ebp + 0x18], edx
test byte [ebp + 0x21], 2
jne 0x562f42
mov eax, ebx
call fcn.005715a8
mov dword [esp + 0x50], eax
mov ecx, dword [ebp + 0x24]
lea eax, [esp + 0x11c]
mov edx, 9
call fcn.0055e9c4
mov cl, byte [ebx + 0x1e8]
mov eax, ebx
mov byte [ebp + 0x22], cl
lea ecx, [esp + 0x11c]
mov edx, dword [esp + 0x3c]
call fcn.00562c14
mov ecx, dword [esp + 0x3c]
fld qword [ecx + 0x20]
call fcn.0054b1ec
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x1c], eax
cmp dword [esp + 0x50], 0
je 0x562f95
mov edx, dword [esp + 0x50]
mov eax, esi
call fcn.0057eea8
mov ecx, dword [ebp + 0x1c]
mov edx, 3
mov eax, esi
call fcn.0057eb54
mov ecx, eax
mov edx, dword [esp + 0x4c]
mov eax, esi
call fcn.0057ee64
mov eax, ebx
call fcn.00573e94
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x38], 0
je 0x562fc7
jmp 0x563ef6
mov eax, edi
call fcn.005704a0
sub dword [ebx + 0x1e0], eax
mov edx, dword [edi + 0x28]
mov dword [esp + 0x14], edx
mov ecx, dword [esp]
movzx ecx, byte [ecx]
cmp ecx, 4
jle 0x562fed
mov eax, dword [edi + 0x38]
mov dword [esp + 0x1c], eax
inc dword [esp + 4]
cmp dword [edi + 0x3c], 0
jne 0x563008
mov edx, dword [esp + 0x14]
movsx ecx, word [edx]
cmp ecx, dword [esp + 4]
jg 0x562d3e
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x18], edx
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 0x34]
mov dword [esp + 0x24], eax
test byte [edi + 6], 1
setne dl
and edx, 1
mov byte [esp + 0xe8], dl
cmp dword [edi + 0x3c], 0
je 0x5630dd
cmp dword [edi + 0x44], 0
jne 0x5630ba
xor ecx, ecx
mov dword [esp + 0x58], ecx
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], edi
cmp dword [esp + 0x54], 0
je 0x56308b
mov edx, dword [esp + 0x54]
mov dword [edx + 0x44], edi
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [ecx + 0x40], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x54], eax
inc dword [esp + 0x5c]
cmp dword [esp + 0x54], 0
jne 0x56305b
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 0x60]
mov dword [esp + 0x60], ecx
cmp dword [esp + 0x60], 0
je 0x5630ba
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x60]
jle 0x5630ba
push str.too_many_terms_in_compound_SELECT
push ebx
call fcn.00590d50
add esp, 8
jmp 0x563ef6
mov ecx, dword [esp]
mov edx, edi
mov eax, ebx
call fcn.005604f0
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x1e4], ecx
mov eax, dword [esp + 0x28]
jmp 0x563f46
mov eax, dword [edi + 0x30]
mov edx, dword [esp + 0x1c]
call fcn.005739d0
test eax, eax
jne 0x5630f3
xor ecx, ecx
mov dword [esp + 0x1c], ecx
movzx ecx, word [edi + 6]
and ecx, 5
dec ecx
jne 0x56312f
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
call fcn.005739d0
test eax, eax
jne 0x56312f
and word [edi + 6], 0xfffe
mov edx, dword [edi]
xor ecx, ecx
mov eax, dword [esp + 0x34]
call fcn.00570cf8
mov dword [edi + 0x30], eax
xor eax, eax
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x563181
mov edx, dword [esp + 0x1c]
mov eax, ebx
call fcn.0055f628
mov dword [esp + 0x64], eax
mov edx, dword [ebx + 0x48]
inc dword [ebx + 0x48]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
add eax, 2
push eax
push 0
mov edx, dword [esp + 0x6c]
mov eax, esi
push edx
push 0xfffffffffffffff0
mov ecx, dword [esp + 0x2c]
mov edx, 0x2a
mov ecx, dword [ecx + 4]
call fcn.0057eb74
mov dword [esp + 0x2c], eax
mov dword [edi + 0x18], eax
jmp 0x563189
mov dword [esp + 0x2c], 0xffffffff
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 9
jne 0x5631af
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push eax
mov edx, dword [esp + 4]
mov ecx, dword [edx + 4]
mov edx, 0x2a
mov eax, esi
call fcn.0057eb60
mov eax, esi
call fcn.0057ec24
mov dword [esp + 0x30], eax
xor edx, edx
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], 0x43e00000
mov ecx, dword [esp + 0x30]
mov edx, edi
mov eax, ebx
call fcn.00560338
cmp dword [edi + 8], 0
jne 0x5631f3
cmp dword [esp + 0x2c], 0
jl 0x5631f3
mov edx, dword [esp + 0x2c]
mov eax, esi
call fcn.0057f19c
mov byte [eax], 0x2b
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x563243
mov ecx, dword [ebx + 0x48]
mov eax, ebx
inc dword [ebx + 0x48]
mov dword [esp + 0xec], ecx
push 0
push 0
mov edx, dword [edi]
call fcn.0055f628
push eax
push 0xfffffffffffffff0
mov ecx, dword [esp + 0xfc]
mov edx, 0x2a
mov eax, esi
call fcn.0057eb74
mov dword [esp + 0xf0], eax
mov dl, 8
mov eax, esi
call fcn.0057ee94
mov byte [esp + 0xe9], 3
jmp 0x56324b
mov byte [esp + 0xe9], 0
cmp dword [esp + 0xc], 0
jne 0x56335c
cmp dword [esp + 0x20], 0
jne 0x56335c
cmp byte [esp + 0xe8], 0
je 0x56326f
mov ecx, dword [edi]
jmp 0x563271
xor ecx, ecx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [esp + 0x6c]
push edx
push 0
push 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, ebx
call fcn.0056f424
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x563ef6
mov ecx, dword [esp + 8]
fld qword [ecx + 0x30]
fld qword [edi + 0x20]
fxch st(1)
fucompp
fnstsw ax
test ah, 5
jp 0x5632c6
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x30]
mov dword [edi + 0x20], eax
mov eax, dword [edx + 0x34]
mov dword [edi + 0x24], eax
mov edx, dword [esp + 8]
cmp byte [edx + 0xe], 0
je 0x5632de
mov ecx, dword [esp + 8]
mov cl, byte [ecx + 0xe]
mov byte [esp + 0xe9], cl
cmp dword [esp + 0x1c], 0
je 0x5632fb
mov eax, dword [esp + 8]
movzx edx, word [eax + 8]
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax]
jne 0x5632fb
xor edx, edx
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x2c], 0
jl 0x56331b
cmp dword [esp + 0x1c], 0
jne 0x56331b
mov edx, dword [esp + 0x2c]
mov eax, esi
call fcn.0057effc
mov dword [edi + 0x18], 0xffffffff
push 0
push 0
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0xf4]
push ecx
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x14]
push ecx
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x18]
mov eax, ebx
push edx
mov edx, edi
mov ecx, dword [esp + 0x2c]
call fcn.0055f178
mov eax, dword [esp + 8]
call fcn.0056fce8
jmp 0x563ea1
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
cmp dword [esp + 0x20], 0
je 0x5633d1
mov ecx, dword [edi]
mov eax, dword [edi]
mov edx, dword [ecx]
mov eax, dword [eax + 8]
test edx, edx
jle 0x563390
mov word [eax + 0x10], 0
dec edx
add eax, 0x14
test edx, edx
jg 0x563382
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov edx, dword [edx]
mov eax, dword [eax + 8]
test edx, edx
jle 0x5633af
mov word [eax + 0x10], 0
dec edx
add eax, 0x14
test edx, edx
jg 0x5633a1
fld qword [edi + 0x20]
fld dword [0x563f54]
fxch st(1)
fucompp
fnstsw ax
test ah, 0x45
jne 0x5633dd
xor edx, edx
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], 0x40590000
jmp 0x5633dd
xor ecx, ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], 0x3ff00000
mov eax, esi
call fcn.0057ec24
mov dword [esp + 0x80], eax
lea eax, [esp + 0x12c]
mov ecx, 0x20
xor edx, edx
call fcn.0054b5f8
mov dword [esp + 0x12c], ebx
lea eax, [esp + 0xf4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x138], eax
cmp dword [esp + 0x20], 0
je 0x56342e
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
inc ecx
jmp 0x563430
xor ecx, ecx
mov dword [esp + 0x100], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x104], eax
lea eax, [esp + 0x12c]
mov edx, dword [esp + 0x10]
call fcn.00573dcc
lea eax, [esp + 0x12c]
mov edx, dword [esp + 0x1c]
call fcn.00573dcc
cmp dword [esp + 0x24], 0
je 0x563479
lea eax, [esp + 0x12c]
mov edx, dword [esp + 0x24]
call fcn.00573d90
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x110], ecx
xor ecx, ecx
mov dword [esp + 4], ecx
jmp 0x5634c3
or byte [esp + 0x148], 8
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x114]
shl eax, 4
mov ecx, dword [edx + eax]
lea eax, [esp + 0x12c]
mov edx, dword [ecx + 0x10]
call fcn.00573dcc
and byte [esp + 0x148], 0xf7
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x118]
jl 0x56348f
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x38], 0
jne 0x563ef6
cmp dword [esp + 0x20], 0
je 0x563ba2
mov edx, dword [ebx + 0x48]
mov eax, ebx
inc dword [ebx + 0x48]
mov dword [esp + 0xf8], edx
mov edx, dword [esp + 0x20]
call fcn.0055f628
mov dword [esp + 0x8c], eax
mov eax, esi
mov ecx, dword [esp + 0x100]
mov edx, 0x2b
push ecx
push 0
mov ecx, dword [esp + 0x94]
push ecx
push 0xfffffffffffffff0
mov ecx, dword [esp + 0x108]
call fcn.0057eb74
mov dword [esp + 0xa4], eax
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x74], ecx
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x78], eax
mov eax, esi
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
mov dword [esp + 0x98], edx
call fcn.0057ec24
mov dword [esp + 0x94], eax
mov eax, esi
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
mov dword [esp + 0xac], edx
call fcn.0057ec24
mov dword [esp + 0xa8], eax
mov edx, dword [ebx + 0x4c]
inc edx
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
add dword [ebx + 0x4c], ecx
mov eax, dword [ebx + 0x4c]
inc eax
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov edx, 7
add dword [ebx + 0x4c], ecx
xor ecx, ecx
mov eax, dword [esp + 0x78]
push eax
mov eax, esi
call fcn.0057eb60
mov ecx, dword [esp + 0x74]
mov edx, 7
push ecx
xor ecx, ecx
mov eax, esi
call fcn.0057eb60
mov ecx, dword [esp + 0x6c]
push ecx
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov eax, esi
add edx, dword [esp + 0x70]
dec edx
xor ecx, ecx
push edx
mov edx, 0xa
call fcn.0057eae4
mov ecx, dword [esp + 0xa8]
mov edx, 2
push ecx
mov eax, esi
mov ecx, dword [esp + 0xb0]
call fcn.0057eb60
mov ecx, dword [esp + 0x20]
push ecx
push 0
push 0
push 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, ebx
call fcn.0056f424
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x563ef6
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
movzx eax, word [ecx + 8]
cmp eax, dword [edx]
jne 0x563646
xor ecx, ecx
mov dword [esp + 0x7c], ecx
jmp 0x563898
cmp byte [esp + 0xe8], 0
je 0x56365d
test byte [edi + 6], 1
jne 0x56365d
mov edx, str.DISTINCT
jmp 0x563662
mov edx, str.GROUP_BY
mov eax, ebx
call fcn.0055f6fc
mov dword [esp + 0x7c], 1
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0xbc]
inc eax
mov dword [esp + 0xb8], eax
mov ebp, dword [esp + 0xbc]
inc ebp
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword [esp + 0x108]
lea eax, [edx + 0xc]
jmp 0x5636ba
cmp ebp, dword [eax]
jg 0x5636b3
inc dword [esp + 0xb8]
inc ebp
inc dword [esp + 4]
add eax, 0x18
mov edx, dword [esp + 4]
cmp edx, dword [esp + 0x10c]
jl 0x5636a7
mov edx, dword [esp + 0xb8]
mov eax, ebx
call fcn.00573e50
mov dword [esp + 0xb0], eax
mov eax, ebx
call fcn.0057225c
push 0
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x24]
mov eax, ebx
call fcn.005731d0
mov edx, dword [esp + 0xb0]
mov eax, esi
add edx, dword [esp + 0xbc]
push edx
mov edx, 0x37
mov ecx, dword [esp + 0xfc]
call fcn.0057eb60
mov ebp, dword [esp + 0xbc]
inc ebp
xor eax, eax
mov dword [esp + 4], eax
jmp 0x5637a0
mov eax, dword [esp + 4]
shl eax, 3
lea eax, [eax + eax*2]
add eax, dword [esp + 0x108]
cmp ebp, dword [eax + 0xc]
jg 0x56379c
mov edx, dword [esp + 0xb0]
add edx, ebp
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [esp + 0xc4]
push edx
push 0
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, ebx
call fcn.005721c4
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xc0]
cmp ecx, dword [esp + 0xc4]
je 0x56379b
mov ecx, dword [esp + 0xc0]
mov edx, 0xf
push ecx
mov eax, esi
mov ecx, dword [esp + 0xc8]
call fcn.0057eb60
inc ebp
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x10c]
jl 0x563729
mov eax, ebx
call fcn.00573df8
mov dword [esp + 0xb4], eax
mov eax, esi
mov edx, dword [esp + 0xb8]
push edx
mov edx, 0x1f
mov ecx, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0xb8]
call fcn.0057eae4
mov ecx, dword [esp + 0xb4]
mov edx, 0x60
push ecx
mov eax, esi
mov ecx, dword [esp + 0xfc]
call fcn.0057eb60
mov edx, dword [esp + 0xb4]
mov eax, ebx
call fcn.00573e14
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
mov eax, ebx
call fcn.00573e70
mov eax, dword [esp + 8]
call fcn.0056fce8
mov edx, dword [ebx + 0x48]
inc dword [ebx + 0x48]
mov dword [esp + 0x84], edx
mov dword [esp + 0xfc], edx
mov eax, ebx
call fcn.00573df8
mov dword [esp + 0x88], eax
mov eax, esi
mov ecx, dword [esp + 0x88]
mov edx, 0x2c
push ecx
mov ecx, dword [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0x8c]
call fcn.0057eae4
mov ecx, dword [esp + 0x80]
mov edx, 0x46
push ecx
mov eax, esi
mov ecx, dword [esp + 0xfc]
call fcn.0057eb60
mov byte [esp + 0xf5], 1
mov eax, ebx
call fcn.0057225c
mov eax, esi
call fcn.0057ed90
mov dword [esp + 0xa0], eax
mov eax, ebx
call fcn.0057225c
cmp dword [esp + 0x7c], 0
je 0x5638cf
mov edx, dword [esp + 0x88]
mov eax, esi
push edx
mov edx, 0x3e
mov ecx, dword [esp + 0xfc]
call fcn.0057eb60
xor ebp, ebp
jmp 0x563928
cmp dword [esp + 0x7c], 0
je 0x563904
push ebp
mov edx, 0x1d
mov eax, dword [esp + 0x74]
add eax, ebp
push eax
mov eax, esi
mov ecx, dword [esp + 0x8c]
call fcn.0057eae4
test ebp, ebp
jne 0x563927
mov dl, 0x20
mov eax, esi
call fcn.0057ee94
jmp 0x563927
mov byte [esp + 0xf4], 1
mov ecx, dword [esp + 0x20]
lea edx, [ebp + ebp*4]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x70]
add ecx, ebp
mov edx, dword [eax + edx*4]
mov eax, ebx
call fcn.00572fe4
inc ebp
mov edx, dword [esp + 0x20]
cmp ebp, dword [edx]
jl 0x5638d3
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
push eax
mov edx, dword [esp + 0x94]
push edx
push 0xfffffffffffffffa
mov ecx, dword [esp + 0x7c]
mov edx, 0x18
mov eax, esi
call fcn.0057eb74
mov eax, esi
call fcn.0057ed90
mov dword [esp + 0x90], eax
push 0
mov edx, dword [esp + 0x94]
mov eax, esi
inc edx
push edx
mov edx, 0x19
mov ecx, dword [esp + 0x98]
inc ecx
call fcn.0057eae4
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
push ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, ebx
call fcn.00572290
mov ecx, dword [esp + 0x94]
mov edx, 2
push ecx
mov eax, esi
mov ecx, dword [esp + 0x9c]
call fcn.0057eb60
mov ecx, dword [esp + 0x80]
mov edx, 0x78
push ecx
mov eax, esi
mov ecx, dword [esp + 0x7c]
call fcn.0057eb60
mov ecx, dword [esp + 0xa8]
mov edx, 2
push ecx
mov eax, esi
mov ecx, dword [esp + 0xb0]
call fcn.0057eb60
mov edx, dword [esp + 0x90]
mov eax, esi
call fcn.0057eea8
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.005629b0
mov ecx, dword [esp + 0x74]
mov edx, 7
push ecx
mov ecx, 1
mov eax, esi
call fcn.0057eb60
cmp dword [esp + 0x7c], 0
je 0x563a3d
mov ecx, dword [esp + 0xa0]
mov edx, 0x51
push ecx
mov eax, esi
mov ecx, dword [esp + 0xfc]
call fcn.0057eb60
jmp 0x563a54
mov eax, dword [esp + 8]
call fcn.0056fce8
mov edx, dword [esp + 0xa4]
mov eax, esi
call fcn.0057effc
mov edx, dword [esp + 0x94]
mov eax, esi
push edx
mov edx, 2
mov ecx, dword [esp + 0x9c]
call fcn.0057eb60
mov ecx, dword [esp + 0x80]
mov edx, 1
push ecx
xor ecx, ecx
mov eax, esi
call fcn.0057eb60
mov eax, esi
call fcn.0057ed90
mov dword [esp + 0x9c], eax
mov eax, esi
mov edx, dword [esp + 0x78]
mov ecx, 1
push edx
mov edx, 7
call fcn.0057eb60
mov ecx, dword [esp + 0x98]
mov edx, 3
mov eax, esi
call fcn.0057eb54
mov edx, dword [esp + 0x94]
mov eax, esi
call fcn.0057ec60
mov eax, esi
call fcn.0057ed90
mov dword [esp + 0x94], eax
mov eax, esi
mov edx, dword [esp + 0x94]
add edx, 2
push edx
mov edx, 0x78
mov ecx, dword [esp + 0x78]
call fcn.0057eb60
mov ecx, dword [esp + 0x98]
mov edx, 3
mov eax, esi
call fcn.0057eb54
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.00562964
push 8
mov eax, ebx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x28]
inc ecx
call fcn.00573584
push 0
push 0
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0xf4]
push ecx
mov eax, dword [esp + 0x10]
push eax
mov eax, ebx
mov edx, dword [esp + 0xa8]
inc edx
push edx
mov edx, edi
mov ecx, dword [esp + 0xb4]
push ecx
mov ecx, dword [edi]
call fcn.0055f178
mov ecx, dword [esp + 0x98]
mov edx, 3
mov eax, esi
call fcn.0057eb54
mov edx, dword [esp + 0xa8]
mov eax, esi
call fcn.0057ec60
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.0056289c
mov ecx, dword [esp + 0xac]
mov edx, 3
mov eax, esi
call fcn.0057eb54
jmp 0x563e93
xor ecx, ecx
mov dword [esp + 0xc8], ecx
lea edx, [esp + 0xf4]
mov eax, edi
call fcn.005620fc
mov dword [esp + 0xcc], eax
test eax, eax
je 0x563d1a
mov edx, dword [esp + 0xcc]
mov eax, dword [ebx]
mov edx, dword [edx + 0x40]
call fcn.0054e988
mov dword [esp + 0xd0], eax
mov ecx, dword [ebx + 0x48]
inc dword [ebx + 0x48]
mov dword [esp + 0xd4], ecx
xor ecx, ecx
mov dword [esp + 0xd8], ecx
xor ebp, ebp
mov eax, dword [esp + 0xcc]
mov edx, dword [eax + 0x20]
mov eax, ebx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0xd0]
call fcn.00552778
push 0
mov ecx, dword [esp + 0xd0]
mov ecx, dword [ecx]
push ecx
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xd8]
mov eax, ebx
call fcn.0054eec8
mov ecx, dword [esp + 0xcc]
mov eax, dword [ecx + 8]
test eax, eax
je 0x563c64
cmp byte [eax + 0x2e], 0
jne 0x563c5d
test ebp, ebp
je 0x563c5b
mov edx, dword [eax + 0x24]
cmp edx, dword [ebp + 0x24]
jge 0x563c5d
mov ebp, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x563c49
test ebp, ebp
je 0x563c94
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0xcc]
movsx ecx, word [edx + 0x26]
cmp eax, ecx
jge 0x563c94
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0xdc], ecx
mov edx, ebp
mov eax, ebx
call fcn.00552b3c
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0xdc]
mov edx, 0x27
push ecx
mov eax, dword [esp + 0xd4]
push eax
mov eax, esi
mov ecx, dword [esp + 0xdc]
call fcn.0057eae4
cmp dword [esp + 0xd8], 0
je 0x563cd4
push 0xfffffffffffffff0
mov ecx, dword [esp + 0xdc]
or edx, 0xffffffff
mov eax, esi
call fcn.0057f030
mov ecx, dword [esp + 0x114]
mov edx, 0x20
mov eax, dword [ecx + 8]
push eax
mov eax, esi
mov ecx, dword [esp + 0xd8]
call fcn.0057eb60
mov ecx, dword [esp + 0xd4]
mov edx, 0x2d
mov eax, esi
call fcn.0057eb54
mov ecx, ebp
mov edx, dword [esp + 0xcc]
mov eax, ebx
call fcn.00562bb0
jmp 0x563e41
xor ecx, ecx
mov eax, edi
mov dword [esp + 0xe0], ecx
call fcn.00562070
mov byte [esp + 0xe4], al
cmp byte [esp + 0xe4], 0
je 0x563da7
mov edx, dword [edi]
mov ecx, dword [edx + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0x34]
call fcn.00570cf8
mov dword [esp + 0xe0], eax
mov edx, dword [esp + 0xe0]
mov dword [esp + 0xc8], edx
cmp dword [esp + 0xe0], 0
je 0x563da7
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x38], 0
jne 0x563da7
xor eax, eax
mov al, byte [esp + 0xe4]
dec eax
je 0x563d89
mov dl, 1
jmp 0x563d8b
xor edx, edx
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax + 8]
mov byte [ecx + 0xc], dl
mov ecx, dword [esp + 0xe0]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
mov byte [edx], 0x98
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.0056289c
mov ecx, dword [esp + 0xe0]
push ecx
push 0
xor ecx, ecx
mov cl, byte [esp + 0xec]
push ecx
push 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, ebx
call fcn.0056f424
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x563dfa
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x34]
call fcn.00571268
jmp 0x563ef6
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.005629b0
mov ecx, dword [esp + 8]
movzx ecx, word [ecx + 8]
test ecx, ecx
jle 0x563e2a
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, dword [eax + 0x18]
mov eax, esi
push edx
mov edx, 1
call fcn.0057eb60
mov eax, dword [esp + 8]
call fcn.0056fce8
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.00562964
xor edx, edx
mov dword [esp + 0x1c], edx
push 8
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x28]
mov eax, ebx
call fcn.00573584
push 0
push 0
push 0
push 0
mov ecx, dword [esp + 0x10]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x94]
push ecx
mov eax, dword [esp + 0x98]
push eax
mov eax, ebx
mov ecx, dword [edi]
call fcn.0055f178
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x34]
call fcn.00571268
mov edx, dword [esp + 0x80]
mov eax, esi
call fcn.0057ec60
xor ecx, ecx
mov cl, byte [esp + 0xe9]
cmp ecx, 3
jne 0x563ebb
mov edx, str.DISTINCT
mov eax, ebx
call fcn.0055f6fc
cmp dword [esp + 0x1c], 0
je 0x563ee5
mov edx, str.ORDER_BY
mov eax, ebx
call fcn.0055f6fc
mov ecx, dword [esp + 0x10]
mov edx, edi
mov ecx, dword [ecx]
push ecx
mov ecx, esi
mov eax, dword [esp + 4]
push eax
mov eax, ebx
call fcn.0055f7b4
mov edx, dword [esp + 0x30]
mov eax, esi
call fcn.0057ec60
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x1e4], ecx
cmp dword [esp + 0x28], 0
jne 0x563f22
mov eax, dword [esp]
xor edx, edx
mov dl, byte [eax]
cmp edx, 5
jne 0x563f22
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, ebx
call fcn.0055fd7c
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0x34]
call fcn.00596e94
mov edx, dword [esp + 0x114]
mov eax, dword [esp + 0x34]
call fcn.00596e94
mov eax, dword [esp + 0x28]
add esp, 0x14c
pop ebp
pop edi
pop esi
pop ebx
ret