Function at 0x343386b6
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x46c
mov eax, dword [0x342226fc]
xor eax, ebp
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x74]
push ebx
push esi
push edi
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp + 0x78]
xor esi, esi
push 0x34
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x370]
mov ebx, ecx
push esi
push eax
mov dword [ebp - 0x308], ebx
mov dword [ebp - 0x374], esi
call sub.msvcr80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x2f4]
push eax
mov dword [ebp - 0x2f4], esi
mov dword [ebp - 0x2e4], 1
mov dword [ebp - 0x2ec], esi
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2e8], esi
mov dword [ebp - 0x2d8], esi
mov dword [ebp - 0x2f0], 0x4000
call fcn.3424fbd5
mov edi, eax
cmp edi, esi
jl 0x34338c02
or dword [ebx], 0xffffffff
or dword [ebp - 0x370], 0xffffffff
push 0x48
lea eax, [ebp - 0x408]
push esi
push eax
mov dword [ebp - 0x3c0], 0x10
call sub.msvcr80.dll_memset
mov ebx, dword [ebp - 0x2d4]
add esp, 0xc
push 9
pop ecx
push dword [ebp - 0x2d8]
lea eax, [ebp - 0x408]
mov dword [ebp - 0x304], eax
xor eax, eax
lea edi, [ebp - 0x398]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x70]
push ebx
lea eax, [ebp - 0x304]
push 0x34338d98
mov dword [ebp - 0x400], 0x34338010
mov dword [ebp - 0x3f8], 0x3422f737
mov dword [ebp - 0x398], 0x34338e08
mov dword [ebp - 0x390], 0x816
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x314], 0xff
mov dword [ebp - 0x310], edi
call dword [sym.imp.MSO.dll_Ordinal_6877]
push 1
push 0x82
lea eax, [ebp - 0xd0]
push eax
push edi
push dword [ebp + 0x6c]
mov dword [ebp - 0x2e0], 0x32
mov word [ebp - 0x4c], 0x5b
call fcn.342058dd
mov edi, eax
cmp edi, esi
jl 0x34338c08
push 2
push 0x28
lea eax, [ebp - 0x33c]
push eax
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
call fcn.342058dd
mov edi, eax
cmp edi, esi
jl 0x34338c08
push 0x12
push 4
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x33c]
push dword [ebp + 0x6c]
call fcn.342018bf
mov edi, eax
cmp edi, esi
jl 0x34338c08
push 1
push 0x38
lea eax, [ebp - 0x374]
push eax
push esi
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
call fcn.34203056
mov edi, eax
cmp edi, esi
jl 0x34338c08
cmp dword [ebp - 0x36c], esi
je 0x34338c08
push esi
push SysReAllocString
push dword [ebp - 0x370]
push dword [ebp + 0x6c]
call fcn.34205d4e
mov edi, eax
cmp edi, esi
jl 0x34338c08
mov dword [ebp - 0x2d8], esi
lea eax, [ebp - 0x3c0]
push eax
push 1
lea eax, [ebp - 0x2fc]
push eax
push 0x84
lea eax, [ebp - 0x4a]
push eax
push dword [ebp - 0x364]
push dword [ebp - 0x370]
push dword [ebp + 0x6c]
call fcn.342034df
mov edi, eax
cmp edi, esi
jl 0x34338c02
shr dword [ebp - 0x2fc], 1
mov ecx, dword [ebp - 0x2fc]
mov ebx, dword [ebp - 0x2f8]
add ecx, ecx
cmp ebx, esi
mov word [ebp + ecx - 0x4a], si
je 0x34338967
mov eax, ebx
lea edi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x34338922
sub eax, edi
lea edx, [ebp - 0x300]
push edx
push dword [ebp - 0x30c]
sar eax, 1
add eax, eax
push eax
push ebx
push ecx
lea eax, [ebp - 0x4a]
push eax
call sym.acecore.dll_Ordinal_177
mov edi, eax
cmp edi, esi
jl 0x34338c02
cmp dword [ebp - 0x300], esi
jne 0x34338967
mov dword [ebp - 0x2d8], 1
cmp dword [ebp - 0x2d8], esi
jne 0x34338977
cmp ebx, esi
jne 0x34338ba4
lea eax, [ebp - 0x4c]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp - 0x2fc]
push esi
push 0x18
mov dword [ebp + 0x48], eax
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x4a]
push eax
push dword [ebp + 0x70]
mov dword [ebp + 0x44], 0x43
push dword [ebp + 0x6c]
call fcn.34203056
mov edi, eax
cmp edi, esi
jl 0x34338c02
cmp dword [ebp - 0x3a8], 0x12
jne 0x34338a4e
mov ebx, 0x100
push ebx
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSO.dll_Ordinal_6877]
push ebx
lea eax, [ebp - 0x2d0]
push eax
push 0x342c6078
call dword [sym.imp.MSO.dll_Ordinal_6873]
lea eax, [ebp - 0x2d0]
push eax
call dword [sym.imp.MSO.dll_Ordinal_295]
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [ebp + eax*2 - 0x2d0]
push eax
push esi
push esi
push dword [ebp - 0x3a4]
push dword [ebp - 0x33c]
push dword [ebp + 0x6c]
call fcn.342721e1
mov edi, eax
cmp edi, esi
jl 0x34338c02
push ebx
lea eax, [ebp - 0x2d0]
push eax
push 0x34274dd8
call dword [sym.imp.MSO.dll_Ordinal_6873]
lea eax, [ebp - 0x2d0]
push eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], ebx
call dword [sym.imp.MSO.dll_Ordinal_295]
dec eax
dec eax
mov dword [ebp + 0x5c], eax
jmp 0x34338a57
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x58], esi
mov dword [ebp + 0x5c], esi
cmp dword [ebp - 0x2dc], esi
je 0x34338a7f
push dword [0x3437bc50]
push 0x3421cbb8
push dword [ebp - 0x2dc]
call fcn.3424fbd5
test eax, eax
je 0x34338adc
test byte [ebp + 0x7c], 1
jne 0x34338adc
lea eax, [ebp - 0x398]
push eax
push dword [ebp - 0x2f4]
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x2d4]
push eax
mov eax, dword [ebp - 0x2e8]
add eax, eax
push eax
push dword [ebp - 0x2ec]
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp + 0x54]
push eax
push dword [ebp - 0x33c]
lea ebx, [ebp - 0x2e0]
push dword [ebp + 0x6c]
lea eax, [ebp + 0x40]
call fcn.3424fbd5
mov edi, eax
cmp edi, esi
jl 0x34338c02
cmp dword [ebp - 0x2dc], esi
je 0x34338afe
push dword [0x3437bc50]
push 0x3421cbf8
push dword [ebp - 0x2dc]
call fcn.3424fbd5
test eax, eax
je 0x34338b3e
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0x33c]
lea ebx, [ebp - 0x2e0]
push dword [ebp + 0x6c]
lea eax, [ebp + 0x54]
lea ecx, [ebp + 0x40]
call fcn.3424fbd5
mov edi, eax
cmp edi, esi
jl 0x34338c02
cmp dword [ebp - 0x2dc], esi
je 0x34338b60
push dword [0x3437bc50]
push 0x3421cc0c
push dword [ebp - 0x2dc]
call fcn.3424fbd5
test eax, eax
je 0x34338b9c
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x40]
push eax
push dword [ebp - 0x33c]
lea edx, [ebp - 0x2f0]
push dword [ebp + 0x6c]
lea ebx, [ebp - 0x2e0]
lea ecx, [ebp - 0xd0]
call fcn.3424fbd5
mov edi, eax
cmp edi, esi
jl 0x34338c02
cmp dword [ebp - 0x2d8], esi
jne 0x34338bbf
push esi
push 1
push dword [ebp - 0x370]
push dword [ebp + 0x6c]
call fcn.34205d4e
mov edi, eax
cmp edi, esi
je 0x343388c9
cmp edi, 0xfffff9bd
jne 0x34338bc9
xor edi, edi
cmp edi, esi
jl 0x34338c02
cmp dword [ebp - 0x2f8], esi
je 0x34338c65
cmp dword [ebp - 0x2d8], esi
jne 0x34338c65
push esi
push esi
push esi
push 0xffffdf8e
push esi
push esi
push dword [ebp - 0x2f8]
mov edi, 0xfffffa1d
push dword [ebp + 0x6c]
call fcn.342100f1
mov ebx, dword [ebp - 0x2d4]
cmp dword [ebp - 0x370], 0xffffffff
je 0x34338c1f
push dword [ebp - 0x370]
push dword [ebp + 0x6c]
call sym.acecore.dll_Ordinal_108
cmp dword [ebp - 0x2ec], esi
je 0x34338c32
push dword [ebp - 0x2ec]
call sub.MSO.dll_Ordinal_652
cmp ebx, esi
je 0x34338c3c
push ebx
call sub.MSO.dll_Ordinal_652
cmp dword [ebp - 0x2f4], esi
je 0x34338c4f
push dword [ebp - 0x2f4]
call fcn.3420c910
mov ecx, dword [ebp + 0x60]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.341f1b18
add ebp, 0x64
leave
ret 0x14
test byte [ebp + 0x7c], 1
jne 0x34338c7b
cmp dword [ebp - 0x2f8], esi
jne 0x34338cc3
cmp dword [ebp - 0x2dc], esi
jne 0x34338cc3
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2d4]
push eax
mov eax, dword [ebp - 0x2e8]
add eax, eax
push eax
push dword [ebp - 0x2ec]
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0x33c]
lea eax, [ebp - 0x2f0]
push dword [ebp + 0x6c]
lea ebx, [ebp - 0x2e0]
call fcn.3424fbd5
mov edi, eax
cmp edi, esi
jl 0x34338c02
cmp dword [ebp - 0x2e4], esi
jne 0x34338c02
mov eax, dword [ebp - 0x2e0]
mov ebx, dword [ebp - 0x2d4]
mov esi, 0x34338e64
lea edi, [ebp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
pop ecx
mov esi, 0x34338e50
lea edi, [ebp + 0x4c]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + eax]
cmp dword [ebp - 0x2f0], edi
mov dword [ebp - 0x2e8], eax
jae 0x34338d21
shl eax, 2
push eax
push ebx
call sub.MSO.dll_Ordinal_817
test eax, eax
jne 0x34338d1f
mov edi, 0xfffffc0d
xor esi, esi
jmp 0x34338c08
mov ebx, eax
add edi, ebx
lea esi, [ebp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x2e8]
mov esi, dword [ebp - 0x2e0]
lea eax, [edi + edi - 0x64]
push eax
lea eax, [ebx + 0x64]
push eax
add esi, 7
lea eax, [ebx + esi*2]
push eax
call sub.msvcr80.dll_memcpy
lea eax, [esi + edi - 0x32]
lea edi, [ebx + eax*2]
lea esi, [ebp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
push dword [ebp - 0x308]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x70
add eax, 9
lea edi, [ebx + eax*2]
push 8
mov esi, 0x34338e00
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x314]
push eax
push ebx
movsw word es:[edi], word [esi]
push dword [ebp - 0x33c]
push dword [ebp + 0x6c]
call sym.acecore.dll_Ordinal_158
mov edi, eax
jmp 0x34338d18