Function at 0x347832f8
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x20cc
call fcn.347eae3e
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x20c8], eax
mov edx, dword [0x347efae8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20e4]
mov ebp, dword [esi]
or eax, 0xffffffff
push edi
mov edi, dword [esp + 0x20e4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x50]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x198]
push ebp
call eax
test eax, eax
jl 0x34783669
mov eax, dword [esp + 0x24]
mov ecx, dword [esi]
mov edx, dword [0x347efae8]
and eax, 0xffffffef
push eax
mov eax, dword [edx + 0x19c]
push ecx
call eax
test eax, eax
jl 0x34783669
mov ecx, dword [edi + 0xc]
mov eax, dword [0x347efae8]
mov ebx, dword [esp + 0x20e0]
push 0x80400000
push ecx
mov ecx, dword [eax + 0x60]
lea edx, [esp + 0x20]
push edx
push ebp
push ebx
call ecx
mov edx, dword [esp + 0x24]
mov eax, dword [esi]
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x19c]
push eax
call edx
mov esi, eax
test esi, esi
jl 0x34783626
push 0
push 0x80
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0x347efae8]
push 0x80
lea edx, [esp + 0x68]
push edx
mov edx, dword [ecx + 0x144]
push 0x34772398
push 0
push eax
push ebx
call edx
mov esi, eax
xor eax, eax
cmp esi, eax
jl 0x34783626
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x28]
shr ecx, 1
mov word [esp + ecx*2 + 0x54], ax
mov word [esp + 0xd8], ax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x208]
add edx, 2
push edx
call ecx
test eax, eax
mov dword [esp + 0x1c], eax
je 0x34783626
mov edx, dword [edi + 0x28]
add edx, 2
shr edx, 1
push edx
push eax
mov eax, dword [edi + 0x24]
push eax
call dword [sym.imp.MSO.dll_Ordinal_6877]
mov eax, dword [edi + 0x14]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x34783448
sub eax, edx
sar eax, 1
mov eax, dword [edi + 0xc]
jne 0x34783484
mov ecx, dword [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
push eax
push 0x34771940
lea eax, [esp + 0xec]
push 0x1000
push eax
call fcn.3478258a
add esp, 0x1c
jmp 0x347834b1
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0x1c]
push edx
push ecx
push eax
push eax
push ecx
push eax
lea ecx, [esp + 0x6c]
push ecx
push eax
push 0x347718b0
lea edx, [esp + 0xfc]
push 0x1000
push edx
call fcn.3478258a
add esp, 0x2c
lea eax, [esp + 0xd8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x347834bb
mov ecx, dword [0x347efae8]
sub eax, edx
mov edx, dword [ecx + 0x120]
push 1
sar eax, 1
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
push ebx
call edx
mov esi, eax
test esi, esi
jl 0x34783614
mov eax, dword [esp + 0x20]
push 0x70
push 0
lea ecx, [eax + eax]
mov eax, dword [esp + 0x1c]
shr ecx, 1
push ecx
mov ecx, dword [0x347efae8]
lea edx, [esp + 0xe4]
push edx
mov edx, dword [ecx + 0x118]
push eax
push ebp
push ebx
call edx
mov esi, eax
test esi, esi
jl 0x34783614
mov ecx, dword [esp + 0x14]
mov edx, dword [0x347efae8]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x128]
push 0x10
push 0x70
push 0
push 0
push ecx
push ebp
push ebx
call eax
mov esi, eax
test esi, esi
jl 0x34783614
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x84]
push 0
push 0x80000000
push ecx
push ebx
call eax
cmp eax, 0xfffff9bd
je 0x34783614
mov edx, dword [0x34774188]
mov eax, dword [0x3477418c]
mov ecx, dword [0x34774184]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x4c]
mov edi, dword [esp + 0x30]
push eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x34774190]
push edi
push ebx
mov dword [esp + 0x50], ecx
call fcn.347b721b
mov esi, eax
test esi, esi
jl 0x34783614
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
push 0xffffb121
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
push edi
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x40]
push eax
push ecx
push ebp
push ebx
call fcn.34798afc
mov esi, eax
mov edx, dword [esp + 0x1c]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x20c]
push edx
call ecx
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x3478363c
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x68]
push ebx
call eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x34783652
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push ebx
call edx
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x34783667
push eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x68]
push ebx
call ecx
mov eax, esi
mov ecx, dword [esp + 0x20d8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0x20cc
ret 0xc