Function at 0x5df5e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x82aea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
mov ebx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x68], esi
test esi, esi
jne 0x5df63a
mov edx, dword [eax + 0x14]
push 0x30
push edx
call sym.postgres.exe_MemoryContextAlloc
mov ecx, dword [edi]
mov dword [ecx + 0x10], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, ebx
not ecx
add esp, 8
mov dword [ebp - 0x68], eax
mov dword [eax], ecx
mov esi, eax
cmp dword [esi], ebx
je 0x5df67b
lea ebx, [esi + 0x10]
push ebx
lea edx, [esi + 0xc]
push edx
lea eax, [esi + 8]
push eax
lea ecx, [esi + 7]
push ecx
mov ecx, dword [ebp - 0x64]
lea edx, [esi + 6]
push edx
lea eax, [esi + 4]
push eax
push 0
push ecx
call sym.postgres.exe_get_type_io_data
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov edx, dword [ebx]
push eax
lea ecx, [esi + 0x14]
push ecx
push edx
call sym.postgres.exe_fmgr_info_cxt
mov eax, dword [ebp - 0x64]
add esp, 0x2c
mov dword [esi], eax
movsx ecx, word [esi + 4]
mov al, byte [esi + 7]
mov dl, byte [esi + 6]
mov dword [ebp - 0x74], ecx
mov cl, byte [esi + 8]
mov byte [ebp - 0x70], al
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 0x60], cl
mov ecx, dword [sym.postgres.exe_CurrentMemoryContext]
mov byte [ebp - 0x80], dl
mov edx, dword [esi + 0xc]
push eax
push ecx
mov dword [ebp - 0x6c], edx
call sym.postgres.exe_MemoryContextStrdup
add esp, 8
mov dword [ebp - 0x7c], eax
mov edi, eax
xor ebx, ebx
mov al, byte [edi]
cmp al, 0x20
je 0x5df6ce
cmp al, 9
je 0x5df6ce
cmp al, 0xa
je 0x5df6ce
cmp al, 0xd
je 0x5df6ce
cmp al, 0xb
je 0x5df6ce
cmp al, 0xc
jne 0x5df6d1
inc edi
jmp 0x5df6b4
cmp byte [edi], 0x5b
mov dword [ebp - 0x50], edi
jne 0x5df8eb
inc edi
cmp ebx, 6
jl 0x5df72c
push 0
push 0x743584
push 0xe4
push str.src_backendutils_adt_arrayfuncs.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x5df72c
push 6
lea edx, [ebx + 1]
push edx
push str.number_of_array_dimensions___d__exceeds_the_maximum_allowed___d_
call sym.postgres.exe_errmsg
add esp, 0xc
push eax
push 0x105
call sym.postgres.exe_errcode
add esp, 4
push eax
call sym.postgres.exe_errfinish
add esp, 8
mov esi, edi
mov edi, edi
movzx eax, byte [esi]
push eax
call dword [sym.imp.MSVCR100.dll_isdigit]
add esp, 4
test eax, eax
jne 0x5df74b
mov al, byte [esi]
cmp al, 0x2d
je 0x5df74b
cmp al, 0x2b
jne 0x5df74e
inc esi
jmp 0x5df730
cmp esi, edi
jne 0x5df795
push 0
push 0x743584
push 0xea
push str.src_backendutils_adt_arrayfuncs.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x5df795
push str.missing_dimension_value
call sym.postgres.exe_errmsg
add esp, 4
push eax
push 0x2020082
call sym.postgres.exe_errcode
add esp, 4
push eax
call sym.postgres.exe_errfinish
add esp, 8
cmp byte [esi], 0x3a
jne 0x5df8de
push edi
mov byte [esi], 0
call dword [sym.imp.MSVCR100.dll_atoi]
lea edi, [esi + 1]
add esp, 4
mov dword [ebp + ebx*4 - 0x34], eax
mov dword [ebp - 0x50], edi
mov esi, edi
jmp 0x5df7c0
movzx ecx, byte [esi]
push ecx
call dword [sym.imp.MSVCR100.dll_isdigit]
add esp, 4
test eax, eax
jne 0x5df7db
mov al, byte [esi]
cmp al, 0x2d
je 0x5df7db
cmp al, 0x2b
jne 0x5df7de
inc esi
jmp 0x5df7c0
cmp esi, edi
jne 0x5df825
push 0
push 0x743584
push 0xf6
push str.src_backendutils_adt_arrayfuncs.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x5df825
push str.missing_dimension_value
call sym.postgres.exe_errmsg
add esp, 4
push eax
push 0x2020082
call sym.postgres.exe_errcode
add esp, 4
push eax
call sym.postgres.exe_errfinish
add esp, 8
mov edi, dword [ebp - 0x50]
cmp byte [esi], 0x5d
je 0x5df870
push 0
push 0x743584
push pe_nt_image_headers32
push str.src_backendutils_adt_arrayfuncs.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x5df870
push str.missing_____in_array_dimensions
call sym.postgres.exe_errmsg
add esp, 4
push eax
push 0x2020082
call sym.postgres.exe_errcode
add esp, 4
push eax
call sym.postgres.exe_errfinish
add esp, 8
push edi
mov byte [esi], 0
call dword [sym.imp.MSVCR100.dll_atoi]
inc esi
mov dword [ebp - 0x50], esi
mov esi, dword [ebp + ebx*4 - 0x34]
mov edi, eax
add esp, 4
cmp edi, esi
jge 0x5df8ce
push 0
push 0x743584
push 0x108
push str.src_backendutils_adt_arrayfuncs.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x5df8ce
push str.upper_bound_cannot_be_less_than_lower_bound
call sym.postgres.exe_errmsg
add esp, 4
push eax
push 0x15080082
call sym.postgres.exe_errcode
add esp, 4
push eax
call sym.postgres.exe_errfinish
add esp, 8
sub edi, esi
inc edi
mov dword [ebp + ebx*4 - 0x1c], edi
mov edi, dword [ebp - 0x50]
inc ebx
jmp 0x5df6b4
mov dword [ebp + ebx*4 - 0x34], 1
jmp 0x5df828
mov dword [ebp - 0x54], ebx
test ebx, ebx
jne 0x5df969
cmp byte [edi], 0x7b
je 0x5df939
push ebx
push 0x743584
push 0x114
push str.src_backendutils_adt_arrayfuncs.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x5df939
push str.array_value_must_start_with____or_dimension_information
call sym.postgres.exe_errmsg
add esp, 4
push eax
push 0x2020082
call sym.postgres.exe_errcode
add esp, 4
push eax
call sym.postgres.exe_errfinish
add esp, 8
mov esi, dword [ebp - 0x60]
lea edx, [ebp - 0x1c]
push esi
push edx
mov ecx, edi
call fcn.005d9690
add esp, 8
mov dword [ebp - 0x54], eax
mov ebx, eax
test eax, eax
jle 0x5dfad8
mov ecx, eax
mov eax, 1
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
jmp 0x5dfad8
push 1
push 0x72c520
push edi
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x5df9c1
push 0
push 0x743584
push 0x122
push str.src_backendutils_adt_arrayfuncs.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x5df9c1
push str.missing_assignment_operator
call sym.postgres.exe_errmsg
add esp, 4
push eax
push 0x2020082
call sym.postgres.exe_errcode
add esp, 4
push eax
call sym.postgres.exe_errfinish
add esp, 8
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x5df9c1
cmp al, 9
je 0x5df9c1
cmp al, 0xa
je 0x5df9c1
cmp al, 0xd
je 0x5df9c1
cmp al, 0xb
je 0x5df9c1
cmp al, 0xc
je 0x5df9c1
mov dword [ebp - 0x50], edi
cmp al, 0x7b
je 0x5dfa27
push 0
push 0x743584
push 0x12e
push str.src_backendutils_adt_arrayfuncs.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x5dfa27
push str.array_value_must_start_with____or_dimension_information
call sym.postgres.exe_errmsg
add esp, 4
push eax
push 0x2020082
call sym.postgres.exe_errcode
add esp, 4
push eax
call sym.postgres.exe_errfinish
add esp, 8
mov esi, dword [ebp - 0x60]
lea eax, [ebp - 0x4c]
push esi
push eax
mov ecx, edi
call fcn.005d9690
add esp, 8
cmp eax, ebx
je 0x5dfa80
push 0
push 0x743584
push 0x133
push str.src_backendutils_adt_arrayfuncs.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x5dfa80
push str.array_dimensions_incompatible_with_array_literal
call sym.postgres.exe_errmsg
add esp, 4
push eax
push 0x2020082
call sym.postgres.exe_errcode
add esp, 4
push eax
call sym.postgres.exe_errfinish
add esp, 8
xor edi, edi
test ebx, ebx
jle 0x5dfad8
mov ecx, dword [ebp + edi*4 - 0x1c]
cmp ecx, dword [ebp + edi*4 - 0x4c]
je 0x5dfad3
push 0
push 0x743584
push 0x139
push str.src_backendutils_adt_arrayfuncs.c
push 0x14
call sym.postgres.exe_errstart
add esp, 0x14
test al, al
je 0x5dfad3
push str.array_dimensions_incompatible_with_array_literal
call sym.postgres.exe_errmsg
add esp, 4
push eax
push 0x2020082
call sym.postgres.exe_errcode
add esp, 4
push eax
call sym.postgres.exe_errfinish
add esp, 8
inc edi
cmp edi, ebx
jl 0x5dfa86
lea edx, [ebp - 0x1c]
push edx
push ebx
call sym.postgres.exe_ArrayGetNItems
mov edi, eax
mov eax, dword [sym.postgres.exe_CurrentMemoryContext]
xor ebx, ebx
add esp, 8
cmp edi, ebx
jne 0x5dfb20
push 0x10
push eax
call sym.postgres.exe_MemoryContextAllocZero
mov ecx, dword [ebp - 0x64]
add esp, 8
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], 0x40
mov dword [eax + 0xc], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006a8ca2
mov esp, ebp
pop ebp
ret
lea edx, [edi*4]
push edx
push eax
call sym.postgres.exe_MemoryContextAlloc
mov ecx, dword [sym.postgres.exe_CurrentMemoryContext]
push edi
push ecx
mov ebx, eax
call sym.postgres.exe_MemoryContextAlloc
lea edx, [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x55]
push ecx
mov ecx, dword [ebp - 0x78]
push eax
push ebx
push edx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
push eax
push esi
mov esi, dword [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x5c]
push edx
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x50]
push edi
push ecx
add edx, 0x14
push eax
mov ecx, esi
call fcn.005d9d20
add esp, 0x44
cmp byte [ebp - 0x55], 0
je 0x5dfb9c
lea eax, [edi + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + esi*8 + 0x17]
and eax, 0xfffffff8
add dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], eax
jmp 0x5dfbb0
lea ecx, [esi*8 + 0x17]
and ecx, 0xfffffff8
add dword [ebp - 0x50], ecx
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x50]
mov eax, dword [sym.postgres.exe_CurrentMemoryContext]
push edx
push eax
call sym.postgres.exe_MemoryContextAllocZero
mov ecx, dword [ebp - 0x50]
mov esi, eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 4], eax
add eax, eax
lea edx, [ecx*4]
mov ecx, dword [ebp - 0x5c]
add eax, eax
push eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x1c]
mov dword [esi + 8], ecx
mov dword [esi], edx
mov edx, dword [ebp - 0x64]
push eax
lea ecx, [esi + 0x10]
push ecx
mov dword [esi + 0xc], edx
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0x6c]
mov ecx, dword [esi + 4]
push edx
lea eax, [ebp - 0x34]
push eax
lea edx, [esi + ecx*4 + 0x10]
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x74]
push 1
push eax
push ecx
push edx
push edi
mov edi, dword [ebp - 0x60]
push edi
push ebx
mov ecx, esi
call fcn.005ddf20
push ebx
call sym.postgres.exe_pfree
add esp, 0x40
push edi
call sym.postgres.exe_pfree
mov eax, dword [ebp - 0x7c]
push eax
call sym.postgres.exe_pfree
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.006a8ca2
mov esp, ebp
pop ebp
ret