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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
and dword [esp + 0x24], eax
mov ebx, edx
and dword [esp + 0x20], eax
mov edx, ecx
push edi
push 6
mov dword [esp + 0x14], eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [edx]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x30]
mov esi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
cmp dword [esi + 0x2c], 0
jne 0x1811f5e9
cmp dword [esi + 0x38], 0
jne 0x1811f5e2
mov edi, edx
mov ecx, edi
call fcn.1811e998
mov dl, byte [esp + 0x38]
mov ecx, eax
mov dword [esp + 0xc], ecx
cmp dl, 0xc
jne 0x1811ef7d
mov eax, dword [ebx]
push 0
push dword [eax]
push dword [esp + 0x44]
push 0x6e
pop edx
call fcn.180f7767
mov ecx, dword [esp + 0x18]
mov dl, 0xe
add esp, 0xc
mov byte [esp + 0x38], dl
test dword [ebx + 8], 0x400
je 0x1811ef9c
lea eax, [esp + 0x38]
mov edx, ebx
push eax
mov ecx, edi
call fcn.1811ee9e
pop ecx
mov ebx, eax
jmp 0x1811f5b2
test dword [ebx + 8], 0x2000
je 0x1811f00c
lea eax, [esp + 0x38]
mov edx, ebx
push eax
mov ecx, edi
call fcn.1811ebd5
pop ecx
mov esi, dword [esp + 0xc]
movzx edx, byte [ebx + 4]
xor eax, eax
cmp byte [ebx + 4], 0x74
mov ecx, edi
setne al
push eax
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.1811df40
add esp, 0xc
test byte [ebx + 8], 0x20
je 0x1811f5ae
mov eax, dword [ebx]
mov ecx, dword [esp + 0x1c]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x34], eax
call fcn.1811ddaf
mov dword [esp + 0x28], eax
pop ecx
test eax, eax
jne 0x1811f4fb
push 7
pop ebx
jmp 0x1811f5b2
cmp dword [ebx + 0x2c], 0
je 0x1811f024
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.1811f8a9
pop ecx
jmp 0x1811f5db
movzx eax, byte [ebx + 4]
sub eax, 0x73
je 0x1811f352
sub eax, 1
je 0x1811f22d
sub eax, 1
je 0x1811f352
mov edx, dword [edi + 0x28]
push 0
push 0
push edx
lea eax, [edx + 1]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], eax
inc eax
push 0x6e
pop edx
mov dword [edi + 0x28], eax
call fcn.180f7767
mov dword [ebx + 0x14], eax
add esp, 0xc
mov eax, dword [ebx + 0x34]
mov ecx, ebx
jmp 0x1811f074
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x1811f06f
or dword [ecx + 8], 0x20
mov edx, esi
mov eax, dword [esp + 0x20]
mov ecx, edi
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x1a0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x54], 1
call fcn.18121ab8
pop ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x1811f5ae
mov ecx, dword [esp + 0xc]
push eax
push eax
push dword [esp + 0x38]
push 0x6e
pop edx
call fcn.180f7767
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebx + 0x38]
mov edx, ebx
and dword [ebx + 0x30], 0
mov ecx, edi
and dword [ebx + 0x38], 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x1a0]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x50]
push eax
call fcn.18121ab8
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x30], eax
mov dword [ebx + 0x30], esi
movzx eax, word [esi + 6]
pop ecx
cmp word [ebx + 6], ax
jle 0x1811f122
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x1811f132
mov ecx, dword [esp + 0x1c]
call fcn.181068fb
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x38], eax
call fcn.180f79a6
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x34], esi
call fcn.180f79a6
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
mov ebx, eax
call fcn.1811e9b8
pop ecx
mov ecx, dword [esp + 0xc]
push 0
push esi
push dword [esp + 0x28]
push 0x25
pop edx
call fcn.180f7767
add esp, 0xc
mov ecx, edi
call fcn.1810ac08
mov ecx, dword [esp + 0xc]
mov esi, eax
push 0
push esi
push dword [esp + 0x28]
push 0x7c
pop edx
call fcn.180f7767
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edi, eax
push 0
push esi
push ebx
push dword [esp + 0x3c]
push 0x1d
pop edx
call fcn.180f794f
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.1810ac27
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x24]
push esi
push ebx
push eax
push 0
push 0
push dword [esp + 0x44]
call fcn.1811d703
mov ecx, dword [esp + 0x34]
mov edx, ebx
call fcn.180f79e8
mov ebx, dword [esp + 0x48]
push 0
push edi
push ebx
push 7
pop edx
call fcn.180f7767
add esp, 0x34
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.180f79e8
xor edi, edi
lea eax, [ebx + 1]
push edi
push edi
push eax
push 0x72
pop edx
call fcn.180f7767
add esp, 0xc
push edi
push edi
push ebx
mov ecx, esi
push 0x72
pop edx
call fcn.180f7767
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov edi, dword [esp + 0x18]
jmp 0x1811efb8
xor eax, eax
mov edx, esi
mov dword [esp + 0x30], eax
mov ecx, edi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x1a0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
call fcn.18121ab8
pop ecx
mov ecx, eax
xor edx, edx
mov dword [esp + 0x10], ecx
mov dword [ebx + 0x38], edx
test ecx, ecx
jne 0x1811f5ae
mov dword [ebx + 0x30], edx
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
test ecx, ecx
je 0x1811f2b8
push edx
push edx
push ecx
mov ecx, dword [esp + 0x18]
push 0x16
pop edx
call fcn.180f7767
mov ecx, dword [ebx + 0x10]
add esp, 0xc
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x1811f2b8
push ecx
inc ecx
mov edx, 0x95
push ecx
push dword [ebx + 0xc]
mov ecx, dword [esp + 0x18]
call fcn.180f7767
add esp, 0xc
mov eax, dword [edi + 0x1a0]
mov edx, ebx
mov dword [esp + 0x24], eax
mov ecx, edi
lea eax, [esp + 0x38]
push eax
call fcn.18121ab8
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x30]
pop ecx
mov cx, word [ebx + 6]
mov dword [ebx + 0x30], esi
mov dx, word [esi + 6]
mov dword [esp + 0x2c], eax
call fcn.180e3002
movzx eax, ax
mov word [ebx + 6], ax
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x1811f32b
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x34]
call fcn.1810752e
test eax, eax
je 0x1811f32b
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x1811f32b
cdq
push edx
push eax
call fcn.180e3060
pop ecx
pop ecx
cmp word [esp + 0x20], ax
jle 0x1811f32b
mov word [ebx + 6], ax
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x1811efb8
mov edx, eax
mov ecx, esi
call fcn.180f7ea8
mov ecx, dword [esi + 0x88]
mov dword [eax + 8], ecx
jmp 0x1811efb8
cmp dl, 1
jne 0x1811f361
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
jmp 0x1811f399
mov edx, dword [edi + 0x28]
push 0
push 0
push edx
lea eax, [edx + 1]
mov dword [esp + 0x2c], edx
push 0x6e
pop edx
mov dword [edi + 0x28], eax
call fcn.180f7767
mov dword [ebx + 0x14], eax
add esp, 0xc
mov ecx, dword [ebx + 0x34]
mov eax, ebx
jmp 0x1811f38d
mov eax, ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x1811f388
or dword [eax + 8], 0x20
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], eax
mov edx, esi
xor eax, eax
mov byte [esp + 0x68], 1
mov dword [esp + 0x78], eax
mov ecx, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x1a0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x68]
push eax
call fcn.18121ab8
pop ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x1811f5ae
and dword [ebx + 0x30], eax
mov edx, ebx
mov eax, dword [ebx + 0x38]
and dword [ebx + 0x38], ecx
mov ecx, edi
cmp byte [ebx + 4], 0x75
mov dword [esp + 0x34], eax
sete al
inc al
mov byte [esp + 0x68], al
mov eax, dword [edi + 0x1a0]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x68]
push eax
call fcn.18121ab8
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x14], eax
pop ecx
test edx, edx
je 0x1811f41e
mov ecx, dword [esp + 0x1c]
call fcn.18107343
mov eax, dword [ebx + 0x30]
and dword [ebx + 0x2c], 0
cmp byte [ebx + 4], 0x73
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x30], esi
jne 0x1811f443
mov dx, word [esi + 6]
mov cx, word [ebx + 6]
call fcn.180e3002
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x1811f453
mov ecx, dword [esp + 0x1c]
call fcn.181068fb
and dword [ebx + 0xc], 0
and dword [ebx + 0x10], 0
cmp byte [esp + 0x38], 1
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x38], eax
je 0x1811efb4
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.180f79a6
mov ecx, esi
mov ebx, eax
call fcn.180f79a6
mov edx, dword [esp + 0x14]
mov edi, eax
mov ecx, dword [esp + 0x18]
push ebx
call fcn.1811e9b8
pop ecx
push 0
push ebx
push dword [esp + 0x28]
mov ecx, esi
push 0x25
pop edx
call fcn.180f7767
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov esi, dword [esi + 0x88]
push ebx
push edi
push eax
push 0
push 0
push dword [esp + 0x34]
call fcn.1811d703
mov ecx, dword [esp + 0x24]
mov edx, edi
call fcn.180f79e8
mov edi, dword [esp + 0x38]
push 0
push esi
push edi
push 7
pop edx
mov esi, ecx
call fcn.180f7767
add esp, 0x24
mov edx, ebx
mov ecx, esi
call fcn.180f79e8
push 0
push 0
push edi
jmp 0x1811f215
add eax, 0x14
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [esp + 0x30], eax
jle 0x1811f542
mov esi, dword [esp + 0x34]
push eax
mov edx, ebx
mov ecx, edi
call fcn.1811eadc
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x1811f52c
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
add esi, 4
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x30]
jl 0x1811f512
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x24]
and dword [esp + 0x28], 0
lea eax, [ebx + 0x14]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x34], eax
test eax, eax
js 0x1811f598
mov edx, eax
mov ecx, esi
call fcn.180f7ea8
mov edx, dword [esp + 0x34]
push 0xfffffffffffffff7
push edi
mov dword [eax + 8], ebx
inc dword [edi]
call fcn.180f7de4
mov eax, dword [esp + 0x2c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
or dword [eax], 0xffffffff
inc ecx
add eax, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
cmp ecx, 2
jl 0x1811f556
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x1811f546
mov ecx, edi
call fcn.1811de28
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1811f5d9
mov ecx, dword [esp + 0x1c]
mov edx, eax
push 1
call fcn.1811ccbd
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, str.LIMIT
jmp 0x1811f5ee
mov esi, str.ORDER_BY
movzx ecx, byte [ebx + 4]
call fcn.1811decb
push eax
push esi
push str._s_clause_should_come_after__s_not_before
push edx
call fcn.180e1fb6
xor ebx, ebx
add esp, 0x10
inc ebx
jmp 0x1811f5b2