Function at 0x562998
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 0x5629e7
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x38], 0
jne 0x5629e7
cmp dword [ebx + 0x44], 0
je 0x5629f1
mov eax, 1
jmp 0x563cca
push 0
push 0
xor ecx, ecx
mov edx, 0x15
mov eax, ebx
call fcn.00573df8
test eax, eax
je 0x562a11
mov eax, 1
jmp 0x563cca
lea eax, [esp + 0xf4]
mov ecx, 0x28
xor edx, edx
call fcn.0054b37c
mov ecx, dword [esp]
xor eax, eax
mov al, byte [ecx]
cmp eax, 4
jg 0x562a47
mov edx, dword [edi + 0x38]
mov eax, dword [esp + 0x34]
call fcn.00570fec
xor edx, edx
mov dword [edi + 0x38], edx
and word [edi + 6], 0xfffe
xor ecx, ecx
mov edx, edi
mov eax, ebx
call fcn.005625d0
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 0x563c7a
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x38], 0
je 0x562a7f
jmp 0x563c7a
test byte [edi + 6], 4
setne cl
and ecx, 1
mov eax, ebx
mov dword [esp + 0xc], ecx
call fcn.00560090
mov esi, eax
test esi, esi
je 0x563c7a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp]
mov eax, ebx
call fcn.0055eed4
test eax, eax
je 0x562ab7
jmp 0x563c7a
xor edx, edx
mov dword [esp + 4], edx
jmp 0x562d75
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 0x562d71
cmp dword [ebp + 0x18], 0
je 0x562b0a
test byte [ebp + 0x21], 4
jne 0x562d71
mov edx, dword [ebp + 0x18]
mov eax, esi
push edx
mov edx, 2
mov ecx, dword [ebp + 0x1c]
call fcn.0057e8e4
jmp 0x562d71
mov eax, edi
call fcn.00570224
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.00561800
test eax, eax
je 0x562b65
cmp dword [esp + 0x40], 0
je 0x562b58
mov dword [esp + 0xc], 1
or word [edi + 6], 4
mov dword [esp + 4], 0xffffffff
jmp 0x562d3c
mov ecx, dword [esp + 0x14]
cmp word [ecx], 1
jne 0x562c8b
test byte [edi + 7], 1
jne 0x562c8b
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.005524fc
mov edx, 1
mov eax, esi
call fcn.0057e8cc
mov ecx, dword [ebp + 0x24]
mov edx, 0x2c
mov eax, esi
call fcn.0057e8d8
mov dword [esp + 0x44], eax
mov dl, 1
mov eax, esi
call fcn.0057ec18
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.0057e8e4
mov dl, 1
mov eax, esi
call fcn.0057ec18
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x11c]
mov edx, 0xa
call fcn.0055e748
mov cl, byte [ebx + 0x1e8]
mov eax, ebx
mov byte [ebp + 0x22], cl
lea ecx, [esp + 0x11c]
mov edx, dword [esp + 0x3c]
call fcn.00562998
mov ecx, dword [esp + 0x3c]
fld qword [ecx + 0x20]
call fcn.0054af70
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.0057ebf8
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x44]
mov eax, esi
call fcn.0057ec08
mov ecx, dword [esp + 0x48]
mov edx, 7
push ecx
mov ecx, 1
mov eax, esi
call fcn.0057e8e4
mov ecx, dword [ebp + 0x1c]
mov edx, 4
mov eax, esi
call fcn.0057e8d8
mov edx, dword [esp + 0x44]
mov eax, esi
dec edx
call fcn.0057ec2c
mov eax, ebx
call fcn.00573c18
jmp 0x562d3c
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.0057e8e4
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x4c]
inc edx
mov dword [ebp + 0x18], edx
test byte [ebp + 0x21], 2
jne 0x562cc6
mov eax, ebx
call fcn.0057132c
mov dword [esp + 0x50], eax
mov ecx, dword [ebp + 0x24]
lea eax, [esp + 0x11c]
mov edx, 9
call fcn.0055e748
mov cl, byte [ebx + 0x1e8]
mov eax, ebx
mov byte [ebp + 0x22], cl
lea ecx, [esp + 0x11c]
mov edx, dword [esp + 0x3c]
call fcn.00562998
mov ecx, dword [esp + 0x3c]
fld qword [ecx + 0x20]
call fcn.0054af70
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x1c], eax
cmp dword [esp + 0x50], 0
je 0x562d19
mov edx, dword [esp + 0x50]
mov eax, esi
call fcn.0057ec2c
mov ecx, dword [ebp + 0x1c]
mov edx, 3
mov eax, esi
call fcn.0057e8d8
mov ecx, eax
mov edx, dword [esp + 0x4c]
mov eax, esi
call fcn.0057ebe8
mov eax, ebx
call fcn.00573c18
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x38], 0
je 0x562d4b
jmp 0x563c7a
mov eax, edi
call fcn.00570224
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 0x562d71
mov eax, dword [edi + 0x38]
mov dword [esp + 0x1c], eax
inc dword [esp + 4]
cmp dword [edi + 0x3c], 0
jne 0x562d8c
mov edx, dword [esp + 0x14]
movsx ecx, word [edx]
cmp ecx, dword [esp + 4]
jg 0x562ac2
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 0x562e61
cmp dword [edi + 0x44], 0
jne 0x562e3e
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 0x562e0f
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 0x562ddf
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 0x60]
mov dword [esp + 0x60], ecx
cmp dword [esp + 0x60], 0
je 0x562e3e
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x60]
jle 0x562e3e
push str.too_many_terms_in_compound_SELECT
push ebx
call fcn.00590ad4
add esp, 8
jmp 0x563c7a
mov ecx, dword [esp]
mov edx, edi
mov eax, ebx
call fcn.00560274
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x1e4], ecx
mov eax, dword [esp + 0x28]
jmp 0x563cca
mov eax, dword [edi + 0x30]
mov edx, dword [esp + 0x1c]
call fcn.00573754
test eax, eax
jne 0x562e77
xor ecx, ecx
mov dword [esp + 0x1c], ecx
movzx ecx, word [edi + 6]
and ecx, 5
dec ecx
jne 0x562eb3
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
call fcn.00573754
test eax, eax
jne 0x562eb3
and word [edi + 6], 0xfffe
mov edx, dword [edi]
xor ecx, ecx
mov eax, dword [esp + 0x34]
call fcn.00570a7c
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 0x562f05
mov edx, dword [esp + 0x1c]
mov eax, ebx
call fcn.0055f3ac
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.0057e8f8
mov dword [esp + 0x2c], eax
mov dword [edi + 0x18], eax
jmp 0x562f0d
mov dword [esp + 0x2c], 0xffffffff
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 9
jne 0x562f33
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.0057e8e4
mov eax, esi
call fcn.0057e9a8
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.005600bc
cmp dword [edi + 8], 0
jne 0x562f77
cmp dword [esp + 0x2c], 0
jl 0x562f77
mov edx, dword [esp + 0x2c]
mov eax, esi
call fcn.0057ef20
mov byte [eax], 0x2b
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x562fc7
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.0055f3ac
push eax
push 0xfffffffffffffff0
mov ecx, dword [esp + 0xfc]
mov edx, 0x2a
mov eax, esi
call fcn.0057e8f8
mov dword [esp + 0xf0], eax
mov dl, 8
mov eax, esi
call fcn.0057ec18
mov byte [esp + 0xe9], 3
jmp 0x562fcf
mov byte [esp + 0xe9], 0
cmp dword [esp + 0xc], 0
jne 0x5630e0
cmp dword [esp + 0x20], 0
jne 0x5630e0
cmp byte [esp + 0xe8], 0
je 0x562ff3
mov ecx, dword [edi]
jmp 0x562ff5
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.0056f1a8
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x563c7a
mov ecx, dword [esp + 8]
fld qword [ecx + 0x30]
fld qword [edi + 0x20]
fxch st(1)
fucompp
fnstsw ax
test ah, 5
jp 0x56304a
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 0x563062
mov ecx, dword [esp + 8]
mov cl, byte [ecx + 0xe]
mov byte [esp + 0xe9], cl
cmp dword [esp + 0x1c], 0
je 0x56307f
mov eax, dword [esp + 8]
movzx edx, word [eax + 8]
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax]
jne 0x56307f
xor edx, edx
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x2c], 0
jl 0x56309f
cmp dword [esp + 0x1c], 0
jne 0x56309f
mov edx, dword [esp + 0x2c]
mov eax, esi
call fcn.0057ed80
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.0055eefc
mov eax, dword [esp + 8]
call fcn.0056fa6c
jmp 0x563c25
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
cmp dword [esp + 0x20], 0
je 0x563155
mov ecx, dword [edi]
mov eax, dword [edi]
mov edx, dword [ecx]
mov eax, dword [eax + 8]
test edx, edx
jle 0x563114
mov word [eax + 0x10], 0
dec edx
add eax, 0x14
test edx, edx
jg 0x563106
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov edx, dword [edx]
mov eax, dword [eax + 8]
test edx, edx
jle 0x563133
mov word [eax + 0x10], 0
dec edx
add eax, 0x14
test edx, edx
jg 0x563125
fld qword [edi + 0x20]
fld dword [0x563cd8]
fxch st(1)
fucompp
fnstsw ax
test ah, 0x45
jne 0x563161
xor edx, edx
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], 0x40590000
jmp 0x563161
xor ecx, ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], 0x3ff00000
mov eax, esi
call fcn.0057e9a8
mov dword [esp + 0x80], eax
lea eax, [esp + 0x12c]
mov ecx, 0x20
xor edx, edx
call fcn.0054b37c
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 0x5631b2
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
inc ecx
jmp 0x5631b4
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.00573b50
lea eax, [esp + 0x12c]
mov edx, dword [esp + 0x1c]
call fcn.00573b50
cmp dword [esp + 0x24], 0
je 0x5631fd
lea eax, [esp + 0x12c]
mov edx, dword [esp + 0x24]
call fcn.00573b14
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x110], ecx
xor ecx, ecx
mov dword [esp + 4], ecx
jmp 0x563247
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.00573b50
and byte [esp + 0x148], 0xf7
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x118]
jl 0x563213
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x38], 0
jne 0x563c7a
cmp dword [esp + 0x20], 0
je 0x563926
mov edx, dword [ebx + 0x48]
mov eax, ebx
inc dword [ebx + 0x48]
mov dword [esp + 0xf8], edx
mov edx, dword [esp + 0x20]
call fcn.0055f3ac
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.0057e8f8
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.0057e9a8
mov dword [esp + 0x94], eax
mov eax, esi
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
mov dword [esp + 0xac], edx
call fcn.0057e9a8
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.0057e8e4
mov ecx, dword [esp + 0x74]
mov edx, 7
push ecx
xor ecx, ecx
mov eax, esi
call fcn.0057e8e4
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.0057e868
mov ecx, dword [esp + 0xa8]
mov edx, 2
push ecx
mov eax, esi
mov ecx, dword [esp + 0xb0]
call fcn.0057e8e4
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.0056f1a8
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x563c7a
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
movzx eax, word [ecx + 8]
cmp eax, dword [edx]
jne 0x5633ca
xor ecx, ecx
mov dword [esp + 0x7c], ecx
jmp 0x56361c
cmp byte [esp + 0xe8], 0
je 0x5633e1
test byte [edi + 6], 1
jne 0x5633e1
mov edx, str.DISTINCT
jmp 0x5633e6
mov edx, str.GROUP_BY
mov eax, ebx
call fcn.0055f480
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 0x56343e
cmp ebp, dword [eax]
jg 0x563437
inc dword [esp + 0xb8]
inc ebp
inc dword [esp + 4]
add eax, 0x18
mov edx, dword [esp + 4]
cmp edx, dword [esp + 0x10c]
jl 0x56342b
mov edx, dword [esp + 0xb8]
mov eax, ebx
call fcn.00573bd4
mov dword [esp + 0xb0], eax
mov eax, ebx
call fcn.00571fe0
push 0
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x24]
mov eax, ebx
call fcn.00572f54
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.0057e8e4
mov ebp, dword [esp + 0xbc]
inc ebp
xor eax, eax
mov dword [esp + 4], eax
jmp 0x563524
mov eax, dword [esp + 4]
shl eax, 3
lea eax, [eax + eax*2]
add eax, dword [esp + 0x108]
cmp ebp, dword [eax + 0xc]
jg 0x563520
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.00571f48
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xc0]
cmp ecx, dword [esp + 0xc4]
je 0x56351f
mov ecx, dword [esp + 0xc0]
mov edx, 0xf
push ecx
mov eax, esi
mov ecx, dword [esp + 0xc8]
call fcn.0057e8e4
inc ebp
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x10c]
jl 0x5634ad
mov eax, ebx
call fcn.00573b7c
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.0057e868
mov ecx, dword [esp + 0xb4]
mov edx, 0x60
push ecx
mov eax, esi
mov ecx, dword [esp + 0xfc]
call fcn.0057e8e4
mov edx, dword [esp + 0xb4]
mov eax, ebx
call fcn.00573b98
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
mov eax, ebx
call fcn.00573bf4
mov eax, dword [esp + 8]
call fcn.0056fa6c
mov edx, dword [ebx + 0x48]
inc dword [ebx + 0x48]
mov dword [esp + 0x84], edx
mov dword [esp + 0xfc], edx
mov eax, ebx
call fcn.00573b7c
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.0057e868
mov ecx, dword [esp + 0x80]
mov edx, 0x46
push ecx
mov eax, esi
mov ecx, dword [esp + 0xfc]
call fcn.0057e8e4
mov byte [esp + 0xf5], 1
mov eax, ebx
call fcn.00571fe0
mov eax, esi
call fcn.0057eb14
mov dword [esp + 0xa0], eax
mov eax, ebx
call fcn.00571fe0
cmp dword [esp + 0x7c], 0
je 0x563653
mov edx, dword [esp + 0x88]
mov eax, esi
push edx
mov edx, 0x3e
mov ecx, dword [esp + 0xfc]
call fcn.0057e8e4
xor ebp, ebp
jmp 0x5636ac
cmp dword [esp + 0x7c], 0
je 0x563688
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.0057e868
test ebp, ebp
jne 0x5636ab
mov dl, 0x20
mov eax, esi
call fcn.0057ec18
jmp 0x5636ab
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.00572d68
inc ebp
mov edx, dword [esp + 0x20]
cmp ebp, dword [edx]
jl 0x563657
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.0057e8f8
mov eax, esi
call fcn.0057eb14
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.0057e868
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.00572014
mov ecx, dword [esp + 0x94]
mov edx, 2
push ecx
mov eax, esi
mov ecx, dword [esp + 0x9c]
call fcn.0057e8e4
mov ecx, dword [esp + 0x80]
mov edx, 0x78
push ecx
mov eax, esi
mov ecx, dword [esp + 0x7c]
call fcn.0057e8e4
mov ecx, dword [esp + 0xa8]
mov edx, 2
push ecx
mov eax, esi
mov ecx, dword [esp + 0xb0]
call fcn.0057e8e4
mov edx, dword [esp + 0x90]
mov eax, esi
call fcn.0057ec2c
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.00562734
mov ecx, dword [esp + 0x74]
mov edx, 7
push ecx
mov ecx, 1
mov eax, esi
call fcn.0057e8e4
cmp dword [esp + 0x7c], 0
je 0x5637c1
mov ecx, dword [esp + 0xa0]
mov edx, 0x51
push ecx
mov eax, esi
mov ecx, dword [esp + 0xfc]
call fcn.0057e8e4
jmp 0x5637d8
mov eax, dword [esp + 8]
call fcn.0056fa6c
mov edx, dword [esp + 0xa4]
mov eax, esi
call fcn.0057ed80
mov edx, dword [esp + 0x94]
mov eax, esi
push edx
mov edx, 2
mov ecx, dword [esp + 0x9c]
call fcn.0057e8e4
mov ecx, dword [esp + 0x80]
mov edx, 1
push ecx
xor ecx, ecx
mov eax, esi
call fcn.0057e8e4
mov eax, esi
call fcn.0057eb14
mov dword [esp + 0x9c], eax
mov eax, esi
mov edx, dword [esp + 0x78]
mov ecx, 1
push edx
mov edx, 7
call fcn.0057e8e4
mov ecx, dword [esp + 0x98]
mov edx, 3
mov eax, esi
call fcn.0057e8d8
mov edx, dword [esp + 0x94]
mov eax, esi
call fcn.0057e9e4
mov eax, esi
call fcn.0057eb14
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.0057e8e4
mov ecx, dword [esp + 0x98]
mov edx, 3
mov eax, esi
call fcn.0057e8d8
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.005626e8
push 8
mov eax, ebx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x28]
inc ecx
call fcn.00573308
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.0055eefc
mov ecx, dword [esp + 0x98]
mov edx, 3
mov eax, esi
call fcn.0057e8d8
mov edx, dword [esp + 0xa8]
mov eax, esi
call fcn.0057e9e4
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.00562620
mov ecx, dword [esp + 0xac]
mov edx, 3
mov eax, esi
call fcn.0057e8d8
jmp 0x563c17
xor ecx, ecx
mov dword [esp + 0xc8], ecx
lea edx, [esp + 0xf4]
mov eax, edi
call fcn.00561e80
mov dword [esp + 0xcc], eax
test eax, eax
je 0x563a9e
mov edx, dword [esp + 0xcc]
mov eax, dword [ebx]
mov edx, dword [edx + 0x40]
call fcn.0054e70c
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.005524fc
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.0054ec4c
mov ecx, dword [esp + 0xcc]
mov eax, dword [ecx + 8]
test eax, eax
je 0x5639e8
cmp byte [eax + 0x2e], 0
jne 0x5639e1
test ebp, ebp
je 0x5639df
mov edx, dword [eax + 0x24]
cmp edx, dword [ebp + 0x24]
jge 0x5639e1
mov ebp, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5639cd
test ebp, ebp
je 0x563a18
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0xcc]
movsx ecx, word [edx + 0x26]
cmp eax, ecx
jge 0x563a18
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0xdc], ecx
mov edx, ebp
mov eax, ebx
call fcn.005528c0
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.0057e868
cmp dword [esp + 0xd8], 0
je 0x563a58
push 0xfffffffffffffff0
mov ecx, dword [esp + 0xdc]
or edx, 0xffffffff
mov eax, esi
call fcn.0057edb4
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.0057e8e4
mov ecx, dword [esp + 0xd4]
mov edx, 0x2d
mov eax, esi
call fcn.0057e8d8
mov ecx, ebp
mov edx, dword [esp + 0xcc]
mov eax, ebx
call fcn.00562934
jmp 0x563bc5
xor ecx, ecx
mov eax, edi
mov dword [esp + 0xe0], ecx
call fcn.00561df4
mov byte [esp + 0xe4], al
cmp byte [esp + 0xe4], 0
je 0x563b2b
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.00570a7c
mov dword [esp + 0xe0], eax
mov edx, dword [esp + 0xe0]
mov dword [esp + 0xc8], edx
cmp dword [esp + 0xe0], 0
je 0x563b2b
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x38], 0
jne 0x563b2b
xor eax, eax
mov al, byte [esp + 0xe4]
dec eax
je 0x563b0d
mov dl, 1
jmp 0x563b0f
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.00562620
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.0056f1a8
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
jne 0x563b7e
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x34]
call fcn.00570fec
jmp 0x563c7a
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.00562734
mov ecx, dword [esp + 8]
movzx ecx, word [ecx + 8]
test ecx, ecx
jle 0x563bae
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, dword [eax + 0x18]
mov eax, esi
push edx
mov edx, 1
call fcn.0057e8e4
mov eax, dword [esp + 8]
call fcn.0056fa6c
lea edx, [esp + 0xf4]
mov eax, ebx
call fcn.005626e8
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.00573308
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.0055eefc
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x34]
call fcn.00570fec
mov edx, dword [esp + 0x80]
mov eax, esi
call fcn.0057e9e4
xor ecx, ecx
mov cl, byte [esp + 0xe9]
cmp ecx, 3
jne 0x563c3f
mov edx, str.DISTINCT
mov eax, ebx
call fcn.0055f480
cmp dword [esp + 0x1c], 0
je 0x563c69
mov edx, str.ORDER_BY
mov eax, ebx
call fcn.0055f480
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.0055f538
mov edx, dword [esp + 0x30]
mov eax, esi
call fcn.0057e9e4
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x1e4], ecx
cmp dword [esp + 0x28], 0
jne 0x563ca6
mov eax, dword [esp]
xor edx, edx
mov dl, byte [eax]
cmp edx, 5
jne 0x563ca6
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, ebx
call fcn.0055fb00
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0x34]
call fcn.00596c18
mov edx, dword [esp + 0x114]
mov eax, dword [esp + 0x34]
call fcn.00596c18
mov eax, dword [esp + 0x28]
add esp, 0x14c
pop ebp
pop edi
pop esi
pop ebx
ret