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

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x68]
push ebp
push esi
mov esi, dword [esp + 0x6c]
mov ecx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
push edi
mov edi, dword [ebx + 0x34]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
cmp dword [edi + 0x30], eax
je 0x10032d6b
movzx eax, byte [ebx + 4]
call fcn.1000b2d0
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
mov edi, esi
call fcn.1001d580
add esp, 8
mov dword [esp + 0x74], 1
jmp 0x10033405
cmp dword [edi + 0x3c], eax
je 0x10032d81
movzx eax, byte [ebx + 4]
call fcn.1000b2d0
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x10032d54
mov eax, esi
call fcn.10017ea0
mov cl, byte [esp + 0x30]
mov ebp, eax
cmp cl, 0xc
jne 0x10032dba
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, dword [esp + 0x34]
push 0x39
mov esi, ebp
call fcn.10011470
add esp, 4
mov dl, 8
mov eax, ebp
call fcn.100079b0
mov esi, dword [esp + 0x70]
mov cl, 0xe
mov byte [esp + 0x30], cl
movzx eax, word [ebx + 6]
test eax, 0x200
je 0x10032dde
lea eax, [esp + 0x30]
push eax
push esi
mov eax, ebx
call fcn.1000b480
add esp, 8
mov dword [esp + 0x74], eax
jmp 0x10033405
test eax, 0x2000
je 0x10032dfa
lea ecx, [esp + 0x30]
push ecx
push ebx
mov eax, esi
call fcn.10032a10
add esp, 8
jmp 0x10033307
cmp dword [ebx + 0x30], 0
je 0x10032e17
mov edx, dword [esp + 0x78]
push edx
push ebx
push esi
call 0x1002c4a0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
movzx eax, byte [ebx + 4]
sub eax, 0x73
je 0x10033135
sub eax, 1
je 0x10033035
sub eax, 1
je 0x10033135
mov ecx, dword [esi + 0x44]
lea eax, [ecx + 2]
mov dword [esi + 0x44], eax
push 0x39
xor eax, eax
mov esi, ebp
mov dword [esp + 0x14], ecx
call fcn.10011470
mov dword [ebx + 0x10], eax
mov eax, ebx
call fcn.1000b180
or word [eax + 6], 0x10
mov esi, dword [esp + 0x14]
add eax, 6
push 1
mov edx, esi
lea eax, [esp + 0x4c]
call fcn.1000b140
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1d0]
lea edx, [esp + 0x4c]
push edx
push edi
push eax
mov dword [esp + 0x30], ecx
call fcn.10042940
add esp, 0x14
mov dword [esp + 0x74], eax
test eax, eax
jne 0x10033405
lea ecx, [esi + 1]
push 0x39
mov esi, ebp
call fcn.10011470
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x40]
mov esi, dword [esp + 0x74]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x48]
inc eax
push ecx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x1d0]
push ebx
push esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
call fcn.10042940
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x1c]
mov dword [ebx + 0x34], edi
mov dword [esp + 0x84], eax
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 0x1c]
add esp, 0x10
mov dword [esp + 0x20], edx
cmp ecx, edi
jb 0x10032f15
ja 0x10032f0f
mov edx, dword [ebx + 0x18]
cmp edx, eax
jbe 0x10032f15
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.10012ab0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 8
cmp byte [esp + 0x30], 9
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], eax
jne 0x10032f5b
mov eax, dword [ebx + 0x34]
mov ecx, ebx
test eax, eax
je 0x10032f4d
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x10032f44
mov ecx, dword [ecx]
push ecx
push 0
push esi
call fcn.10023780
add esp, 0xc
mov eax, ebp
call fcn.10011490
mov edi, eax
mov eax, ebp
mov dword [esp + 0x28], edi
call fcn.10011490
mov dword [esp + 0x24], eax
push edi
push ebx
mov eax, esi
call fcn.10017ef0
mov eax, edi
mov edi, dword [esp + 0x18]
push 0x6d
mov ecx, edi
mov esi, ebp
call fcn.10011470
mov eax, dword [esp + 0x7c]
call fcn.10009d70
push 0x66
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10011470
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
push 0
lea eax, [edi + 1]
push eax
push 0x45
push ebp
mov eax, esi
call fcn.10015fa0
mov edx, dword [esp + 0x90]
call fcn.10009d90
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov ecx, dword [ebx]
push edx
mov edx, dword [esp + 0x94]
push esi
lea eax, [esp + 0x58]
push eax
push 0
push 0
push edi
push ecx
push ebx
push edx
call fcn.10032350
add esp, 0x44
push esi
mov ecx, ebp
call fcn.10007900
mov eax, dword [esp + 0x30]
push 8
mov ecx, edi
mov esi, ebp
call fcn.10011470
mov eax, dword [esp + 0x30]
push eax
mov ecx, ebp
call fcn.10007900
push 0x3d
xor eax, eax
lea ecx, [edi + 1]
call fcn.10011470
push 0x3d
xor eax, eax
mov ecx, edi
call fcn.10011470
add esp, 0x14
jmp 0x10033303
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x30]
push eax
mov dword [edi + 0x40], ecx
mov edx, dword [esi + 0x1d0]
push edi
push esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], edx
call fcn.10042940
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x74], eax
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], ecx
cmp eax, ecx
jne 0x10033405
mov dword [ebx + 0x34], ecx
mov edx, dword [edi + 8]
mov dword [ebx + 8], edx
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, edx
cmp eax, ecx
je 0x100330ab
mov ecx, 0x2e
mov esi, ebp
call fcn.10011460
mov esi, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x1d0]
lea edx, [esp + 0x30]
push edx
push ebx
push esi
mov dword [esp + 0x24], ecx
call fcn.10042940
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x34], edi
mov ecx, dword [edi + 0x18]
add esp, 0xc
add dword [ebx + 0x18], ecx
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
adc dword [ebx + 0x1c], edx
mov edi, dword [edi + 0x3c]
test edi, edi
je 0x10033119
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.10009760
add esp, 8
test eax, eax
je 0x10033119
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x10033119
mov ecx, dword [ebx + 0x1c]
cdq
cmp ecx, edx
jb 0x10033119
ja 0x10033113
mov ecx, dword [ebx + 0x18]
cmp ecx, eax
jbe 0x10033119
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10033307
push eax
mov esi, ebp
call fcn.100079d0
add esp, 4
jmp 0x10033303
cmp cl, 1
jne 0x10033144
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
jmp 0x10033174
mov ecx, dword [esi + 0x44]
lea eax, [ecx + 1]
mov dword [esi + 0x44], eax
push 0x39
xor eax, eax
mov esi, ebp
mov dword [esp + 0x14], ecx
call fcn.10011470
mov dword [ebx + 0x10], eax
add esp, 4
mov eax, ebx
call fcn.1000b180
mov esi, dword [esp + 0x70]
add eax, 6
or word [eax], 0x10
mov edx, dword [esp + 0x10]
push 1
lea eax, [esp + 0x5c]
call fcn.1000b140
mov ecx, dword [esi + 0x1d0]
mov edx, eax
push edx
push edi
push esi
mov dword [esp + 0x2c], ecx
call fcn.10042940
xor ecx, ecx
add esp, 0x10
mov dword [esp + 0x74], eax
cmp eax, ecx
jne 0x10033405
mov edx, dword [ebx + 0x3c]
cmp byte [ebx + 4], 0x75
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0x40]
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], ecx
sete al
lea ecx, [esp + 0x58]
inc al
push ecx
mov byte [esp + 0x5c], al
mov eax, dword [esi + 0x1d0]
push ebx
push esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
call fcn.10042940
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.10012d50
mov ecx, dword [ebx + 0x34]
add esp, 0x14
cmp byte [ebx + 4], 0x73
mov dword [esp + 0x20], ecx
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x30], 0
jne 0x1003321d
mov edx, dword [edi + 0x18]
add dword [ebx + 0x18], edx
mov eax, dword [edi + 0x1c]
adc dword [ebx + 0x1c], eax
mov ecx, dword [ebx + 0x3c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.10012ab0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x3c], eax
mov al, byte [esp + 0x38]
xor edx, edx
add esp, 8
mov dword [ebx + 0x40], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
cmp al, 1
je 0x10033307
cmp al, 9
jne 0x10033276
mov eax, dword [ebx + 0x34]
mov ecx, ebx
cmp eax, edx
je 0x10033269
lea ecx, [ecx]
mov ecx, eax
mov eax, dword [ecx + 0x34]
cmp eax, edx
jne 0x10033260
mov eax, dword [ecx]
push eax
push edx
push esi
call fcn.10023780
add esp, 0xc
mov eax, ebp
call fcn.10011490
mov edi, eax
mov eax, ebp
call fcn.10011490
mov dword [esp + 0x28], eax
push edi
push ebx
mov eax, esi
call fcn.10017ef0
mov ecx, dword [esp + 0x18]
push 0x6d
mov eax, edi
mov esi, ebp
call fcn.10011470
mov eax, ebp
call fcn.10007940
mov ecx, dword [esp + 0x34]
push edi
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x88]
push 0
push 0
mov esi, eax
mov eax, dword [esp + 0x30]
push eax
push ecx
push ebx
push edx
call fcn.10032350
mov eax, dword [esp + 0x58]
push eax
mov ecx, ebp
call fcn.10007900
mov ecx, dword [esp + 0x44]
mov eax, esi
push 8
mov esi, ebp
call fcn.10011470
push edi
mov ecx, ebp
call fcn.10007900
mov ecx, dword [esp + 0x4c]
push 0x3d
xor eax, eax
call fcn.10011470
add esp, 0x40
mov esi, dword [esp + 0x70]
mov al, byte [ebx + 4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
cmp al, 0x74
setne cl
movzx eax, al
mov edi, esi
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
call fcn.10023720
add esp, 0xc
test byte [ebx + 6], 0x10
je 0x10033405
mov edx, dword [ebx]
mov eax, dword [edx]
mov edi, dword [esp + 0x14]
push 1
push eax
mov dword [esp + 0x78], eax
call fcn.10017e50
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1003335f
mov dword [esp + 0x74], 7
jmp 0x10033405
xor edi, edi
add eax, 0x14
cmp dword [esp + 0x70], edi
mov dword [esp + 0x28], eax
jle 0x1003339c
mov edi, edi
push edi
push ebx
push esi
call fcn.1002c360
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [ecx], eax
test eax, eax
jne 0x1003338e
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
mov dword [ecx], edx
inc edi
add ecx, 4
cmp edi, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
jl 0x10033370
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x1c]
xor edi, edi
add ebx, 0x10
lea esp, [esp]
mov esi, dword [ebx]
test esi, esi
jl 0x100333ed
mov eax, dword [esp + 0x70]
push eax
mov eax, esi
mov ecx, ebp
call fcn.10007970
mov eax, dword [esp + 0x28]
add esp, 4
push 0xfffffffffffffffa
call fcn.1000b2c0
push eax
push ebp
mov eax, esi
call fcn.10011740
mov dword [ebx], 0xffffffff
inc edi
add esp, 0xc
add ebx, 4
cmp edi, 2
jl 0x100333b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100333a0
mov edx, dword [esp + 0x24]
call fcn.1000b2a0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.1000b160
mov eax, dword [esp + 0x7c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret