Function at 0x56da40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0
push 0
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
push 0x21
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x18], 0
mov esi, dword [eax + 8]
call fcn.0057f450
add esp, 0x14
test eax, eax
jne 0x56e0e4
push ebx
mov ebx, dword [esi + 0x18]
mov ecx, dword [ebx + 0x74]
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x56dabf
push 0
lea eax, [ecx*8 + 4]
push eax
push dword [ebx + 0x78]
push dword [ebx]
call fcn.00586540
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x56dacd
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.005644f0
mov eax, dword [edi + 0x38]
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov edx, dword [ebx]
mov dword [ebp - 4], eax
xor eax, eax
test edx, edx
jle 0x56db4b
lea ecx, [ebx + 0x30]
nop word [eax + eax]
test byte [ecx], 0x20
jne 0x56db3f
inc eax
add ecx, 0x50
cmp eax, edx
jl 0x56db30
jmp 0x56db4b
lea eax, [eax + eax*4]
add eax, eax
mov eax, dword [ebx + eax*8 + 0x38]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [edx + 0x48]
lea eax, [ebx + 1]
mov dword [edx + 0x48], eax
cmp byte [edi + 4], 0x73
jne 0x56db75
cmp dword [ebp - 4], ecx
mov dword [ebp - 0x18], eax
setne cl
inc eax
mov dword [edx + 0x48], eax
lea ecx, [ecx*2 + 6]
jmp 0x56db82
cmp dword [ebp - 4], ecx
setne cl
lea ecx, [ecx*2 + 5]
inc dword [edx + 0x4c]
mov eax, dword [edx + 0x4c]
mov byte [ebp - 0x44], cl
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x43], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x56dbc7
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0x6d
push esi
call fcn.0056e710
mov edx, dword [ebp + 8]
add esp, 0x14
jmp 0x56dbfe
mov edi, dword [ebp - 8]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp - 0xc]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [ebp - 0x14]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [ebp + 0xc]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp - 4], 0
je 0x56dcda
push 1
push edi
push edx
call fcn.00572bf0
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov edx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 2
mov dword [ebp - 0x20], eax
cmp dword [ecx + 0x58], edx
jg 0x56dc40
push 0
push eax
push ebx
push 0x6a
push esi
call fcn.0056e710
add esp, 0x14
mov edx, eax
jmp 0x56dc75
mov edi, dword [ebp - 0x20]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [ebp + 0xc]
mov word [eax + ecx*4], 0x6a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x56dc97
mov ecx, dword [ebp - 0x14]
push ecx
push 0xfffffffffffffffa
push eax
call fcn.0056c510
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x34], eax
jmp 0x56dd2a
test edx, edx
jns 0x56dc9f
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
je 0x56dcc7
push 0xfffffffffffffffa
push ecx
push eax
push esi
call fcn.005b6720
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [ebp - 0x34], eax
jmp 0x56dd2a
test ecx, ecx
je 0x56dcd2
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [ebp - 4]
mov dword [ebp - 0x34], eax
jmp 0x56dd2a
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x56dcf8
push 0
push dword [ebp - 0x14]
push ebx
push 0x6a
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56dd2a
mov edx, dword [ebp - 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x6a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x56dd90
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x56dd50
push 0
push 0
push ecx
push 0x6a
push esi
call fcn.0056e710
add esp, 0x14
mov edx, eax
jmp 0x56dd89
mov edi, dword [ebp - 0x18]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0xc]
mov word [eax + ecx*4], 0x6a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x14], edx
or dword [edi + 8], 0x20
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x44]
push ecx
push eax
push dword [ebp + 8]
mov dword [edi + 0x2c], 0
mov dword [eax + 0x34], 0
call fcn.0059bd50
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ecx + 0x34], edi
test eax, eax
jne 0x56e0bc
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [ebp + 0xc], edx
cmp dword [eax + 0x58], edx
jg 0x56dde4
mov edx, dword [ebp - 0x10]
push 0
push edx
push ebx
push 0x38
push esi
call fcn.0056e710
add esp, 0x14
mov dword [ebp + 0xc], eax
jmp 0x56de16
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x10]
mov word [eax + ecx*4], 0x38
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x56de35
push 0
push 0
push dword [ebp - 8]
push 0x7b
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56de6b
mov edx, dword [ebp - 8]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x7b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x56dec2
mov edx, dword [eax]
mov eax, dword [esi + 0x18]
inc edx
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x56de92
push dword [ebp - 0xc]
push edx
push ebx
push 0x5f
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56ded1
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0xc]
mov word [eax + ecx*4], 0x5f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x56ded1
push dword [ebp - 0xc]
push ebx
push 0x79
push esi
call fcn.005a3710
add esp, 0x10
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x56deee
push 0
push 0
push ebx
push 0x74
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56df21
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x74
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x20], ecx
mov ebx, dword [ecx + 0x74]
lea eax, [ebx + 1]
mov dword [ecx + 0x74], eax
lea eax, [ebx - 1]
test ebx, eax
jne 0x56df54
push 0
lea eax, [ebx*8 + 4]
push eax
push dword [ecx + 0x78]
push dword [ecx]
call fcn.00586540
mov ecx, dword [ebp - 0x20]
add esp, 0x10
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x56df62
mov dword [eax + ebx*4], 0xffffffff
or edx, 0xffffffff
sub edx, ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
test ebx, ebx
jle 0x56dfbf
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x56df90
push 1
push edx
push ebx
push 0x41
push esi
call fcn.0056e710
mov edx, dword [ebp - 0x18]
add esp, 0x14
jmp 0x56dfbf
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x41
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
push edx
push dword [ebp + 0x10]
push 0
push 0
push dword [ebp - 8]
push dword [edi]
push edi
push ebx
call fcn.0057c740
mov eax, dword [ebp - 0x28]
add esp, 0x24
test eax, eax
je 0x56dff2
push dword [ebp - 0x10]
push eax
push 0x43
push esi
call fcn.005a3710
add esp, 0x10
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x56e00d
mov eax, dword [ebp - 0x18]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
test byte [edi + 8], 8
je 0x56e02a
push str.recursive_aggregate_queries_not_supported
push ebx
call fcn.00587f40
add esp, 8
jmp 0x56e045
lea eax, [ebp - 0x44]
mov dword [edi + 0x30], 0
push eax
push edi
push ebx
call fcn.0059bd50
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, dword [ebp + 0xc]
cmp dword [eax + 0x58], ecx
jg 0x56e065
push 0
push edx
push 0
push 0xd
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x56e098
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x56e0b3
mov eax, dword [ebp - 0x10]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
jmp 0x56e0bf
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x56e0d1
push eax
push dword [ebx]
call fcn.005692b0
add esp, 8
mov eax, dword [ebp - 4]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x3c], eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret