Function at 0x43ab90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x18]
push ebx
mov ebx, dword [eax + 0x14]
push esi
push edi
push edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
call sym.postgres.exe_lc_collate_is_c
mov byte [ebp + 0xb], al
mov eax, dword [ebx + 0xc]
inc eax
add esp, 4
xor edi, edi
xor esi, esi
cmp byte [ebx + 0x12], 0
mov dword [ebp - 4], eax
je 0x43abff
mov eax, dword [ebx + 0x14]
push eax
call sym.postgres.exe_pg_detoast_datum_packed
mov edi, eax
mov al, byte [edi]
add esp, 4
cmp al, 1
jne 0x43abe5
movzx esi, byte [edi + 1]
sub esi, 2
jmp 0x43abf9
test al, 1
je 0x43abf1
movzx esi, al
shr esi, 1
dec esi
jmp 0x43abf9
mov esi, dword [edi]
shr esi, 2
sub esi, 4
add dword [ebp - 4], esi
mov eax, dword [ebp - 4]
mov ecx, dword [sym.postgres.exe_CurrentMemoryContext]
lea ebx, [eax + 4]
push ebx
push ecx
call sym.postgres.exe_MemoryContextAlloc
lea edx, [ebx*4]
mov ebx, dword [ebp - 0xc]
mov dword [eax], edx
mov ecx, dword [ebx + 0xc]
add esp, 8
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x43ac3f
push ecx
mov ecx, dword [ebx + 8]
add ecx, 4
push ecx
add eax, 4
push eax
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
test esi, esi
je 0x43ac60
test byte [edi], 1
je 0x43ac4b
inc edi
jmp 0x43ac4e
add edi, 4
mov edx, dword [ebx + 0xc]
push esi
lea eax, [edx + eax + 4]
push edi
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x18]
mov edx, dword [sym.postgres.exe_CurrentMemoryContext]
add ecx, ecx
add ecx, ecx
push ecx
push edx
call sym.postgres.exe_MemoryContextAlloc
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [sym.postgres.exe_CurrentMemoryContext]
add eax, eax
add eax, eax
push eax
push ecx
call sym.postgres.exe_MemoryContextAlloc
mov dword [ebx + 8], eax
mov edx, dword [esi + 0x18]
mov eax, dword [sym.postgres.exe_CurrentMemoryContext]
add edx, edx
add edx, edx
push edx
push eax
call sym.postgres.exe_MemoryContextAlloc
xor edx, edx
add esp, 0x18
mov dword [ebx + 0xc], eax
mov dword [ebx], 0
mov dword [ebp - 0x1c], edx
cmp dword [esi + 0x18], edx
jle 0x43ae9c
mov ecx, dword [esi + 0x1c]
mov al, byte [ecx + edx*4]
test al, al
jne 0x43acd4
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x43ace1
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
mov byte [ecx + edi + 3], al
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [esi + 4], eax
jle 0x43ae4e
mov dword [ebp - 0x18], eax
add eax, dword [esi]
movzx ecx, word [eax + 6]
mov dword [ebp - 0x20], ecx
cmp ecx, 0xa
jbe 0x43ad13
cmp byte [ebp + 0xb], 0
je 0x43ae2f
add ecx, 0xfff6
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 0x2c]
push edx
call sym.postgres.exe_pg_detoast_datum_packed
mov cl, byte [eax]
add esp, 4
cmp cl, 1
jne 0x43ad2f
movzx edi, byte [eax + 1]
sub edi, 2
jmp 0x43ad44
test cl, 1
je 0x43ad3c
movzx edi, cl
shr edi, 1
dec edi
jmp 0x43ad44
mov edi, dword [eax]
shr edi, 2
sub edi, 4
mov edx, dword [ebp - 0x10]
cmp edi, edx
jge 0x43ad4d
mov edx, edi
lea esi, [eax + 1]
test cl, 1
jne 0x43ad58
lea esi, [eax + 4]
mov ecx, dword [ebp - 0x14]
add ecx, 4
cmp edx, 4
jb 0x43ad77
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x43ad7b
sub edx, 4
add esi, 4
add ecx, 4
cmp edx, 4
jae 0x43ad63
test edx, edx
je 0x43adc4
movzx ebx, byte [esi]
movzx eax, byte [ecx]
sub eax, ebx
jne 0x43adb6
cmp edx, 1
jbe 0x43adc1
movzx eax, byte [ecx + 1]
movzx ebx, byte [esi + 1]
sub eax, ebx
jne 0x43adb6
cmp edx, 2
jbe 0x43adc1
movzx eax, byte [ecx + 2]
movzx ebx, byte [esi + 2]
sub eax, ebx
jne 0x43adb6
cmp edx, 3
jbe 0x43adc1
movzx eax, byte [ecx + 3]
movzx ecx, byte [esi + 3]
sub eax, ecx
mov ebx, dword [ebp - 8]
sar eax, 0x1f
or eax, 1
jmp 0x43adc6
mov ebx, dword [ebp - 8]
xor eax, eax
movzx ecx, word [ebp - 0x20]
dec ecx
cmp ecx, 4
ja case.default.0x43add0
jmp dword [ecx*4 + 0x43aea8]
test eax, eax
jg 0x43ae89
jmp 0x43ae2f
test eax, eax
jne 0x43ae89
cmp edi, dword [ebp - 0x10]
jl 0x43ae89
jmp 0x43ae2f
test eax, eax
js 0x43ae89
jmp 0x43ae2f
push 0x6afa10
push 0x1e3
push str.src_backend_access_spgist_spgtextproc.c
call sym.postgres.exe_elog_start
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + eax + 6]
push edx
push str.unrecognized_strategy_number:__d
push 0x14
call sym.postgres.exe_elog_finish
add esp, 0x18
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
inc ecx
add eax, 0x30
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
cmp ecx, dword [esi + 4]
jl 0x43acf2
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx]
mov edx, eax
sub edx, dword [esi + 0xc]
mov esi, dword [ebx + 8]
mov dword [esi + ecx*4], edx
lea edx, [eax*4 + 0x10]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push 0
push eax
mov dword [eax], edx
call sym.postgres.exe_datumCopy
mov ecx, dword [ebx]
mov edx, dword [ebx + 0xc]
add esp, 0xc
mov dword [edx + ecx*4], eax
inc dword [ebx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0xc]
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, dword [esi + 0x18]
jl 0x43acc1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret