Function at 0x3479e2ba
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x2c20
call fcn.347eae3e
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x2c1c], eax
mov eax, dword [esp + 0x2c2c]
mov ecx, dword [esp + 0x2c30]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c44]
mov dword [esp + 0x20], eax
or eax, 0xffffffff
push 0x41
lea edx, [esp + 0x154]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
push edx
push eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.MSO.dll_Ordinal_6877]
mov eax, dword [esp + 0x2c38]
mov ebx, dword [esp + 0x2c34]
push 0x80400000
lea ecx, [esp + 0x154]
push ecx
mov ecx, dword [0x347efae8]
lea edx, [esp + 0x18]
push edx
mov edx, dword [ecx + 0x60]
push eax
push ebx
call edx
mov esi, eax
xor ebp, ebp
cmp esi, ebp
jge 0x3479e358
mov dword [esp + 0x10], 0xffffffff
jmp 0x3479e599
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0xc]
push ecx
push edx
push eax
push 0x296
lea ecx, [esp + 0x1e8]
push ecx
call fcn.3479d3de
mov esi, eax
cmp esi, ebp
jl 0x3479e599
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x14]
push edx
push eax
push 0x296
lea ecx, [esp + 0x70c]
push ecx
call fcn.3479d57b
mov esi, eax
cmp esi, ebp
jl 0x3479e599
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x14]
push edx
push eax
push 0x34771ab0
lea ecx, [esp + 0x58]
push 0x40
push ecx
mov word [esp + 0x60], bp
call fcn.3478258a
add esp, 0x14
push ebp
push 0x80
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x347efae8]
push 0x80
lea ecx, [esp + 0xe0]
push ecx
mov ecx, dword [eax + 0x144]
push 0x34772398
push ebp
push edx
push ebx
call ecx
mov esi, eax
cmp esi, ebp
jl 0x3479e599
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
shr edx, 1
mov word [esp + edx*2 + 0xcc], bp
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0x1d8]
push edx
push ecx
push eax
lea edx, [esp + 0xdc]
push edx
push eax
push 0x34771bd0
lea eax, [esp + 0xc48]
push 0x1000
push eax
call fcn.3478258a
lea eax, [esp + 0xc50]
add esp, 0x24
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x3479e45a
push 1
push 0
sub eax, edx
mov edx, dword [esp + 0x2c40]
lea ecx, [esp + 0x1c]
push ecx
sar eax, 1
push 0
mov ebp, eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x120]
push edx
push ebx
call ecx
mov esi, eax
test esi, esi
jl 0x3479e599
mov ecx, dword [esp + 0x14]
push 0x70
push 0
lea edx, [ebp + ebp]
mov ebp, dword [esp + 0x2c40]
shr edx, 1
push edx
mov edx, dword [0x347efae8]
lea eax, [esp + 0xc38]
push eax
mov eax, dword [edx + 0x118]
push ecx
push ebp
push ebx
call eax
mov esi, eax
test esi, esi
jl 0x3479e599
mov edx, dword [esp + 0x14]
mov eax, dword [0x347efae8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + 0x128]
push 0x10
push 0x70
push 0
push 0
push edx
push ebp
push ebx
call ecx
mov esi, eax
test esi, esi
jl 0x3479e599
mov edx, dword [0x34774188]
mov eax, dword [0x3477418c]
mov ecx, dword [0x34774190]
mov ebp, dword [0x34774184]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
push eax
push edx
push ebx
call fcn.347b721b
mov esi, eax
test esi, esi
jl 0x3479e599
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push 0xffffb120
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x48]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x2c60]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push edx
push ebx
call fcn.34798702
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x3479e5ae
push eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x68]
push ebx
call ecx
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x3479e5c4
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x68]
push ebx
call eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x3479e5da
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push ebx
call edx
mov ecx, dword [esp + 0x2c2c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0x2c20
ret 0x14