Function at 0x404a7b
Capabilities:
Reference sql statements

Disassembly:
sub eax, eax
mov word [ebp + 0x336b8], ax
mov al, 0xc
mov byte [ebp + 0x336ba], al
lea edi, [ebp + 0x336bb]
mov eax, 0x20202020
stosb byte es:[edi], al
mov ecx, 0xa
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
call fcn.00408d95
lea esi, [ebp + 0x337f0]
lea edi, [ebp + 0x439d0]
mov ecx, 0x55
rep movsd dword es:[edi], dword [esi]
mov esi, 0x409120
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x58]
push eax
add eax, 0x338f7
push eax
add eax, 0x10081
push eax
mov al, 3
call fcn.0040b469
test edx, 0x4414
bswap eax
mov dword [ebp + 0x439b8], eax
mov ax, 2
mov word [ebp + 0x33955], ax
mov ax, 3
mov word [ebp + 0x33953], ax
mov ax, 0x11
mov word [ebp + 0x33951], ax
mov esi, 0x4091d8
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x3394f]
push eax
movzx eax, word [eax + 2]
push eax
movzx eax, word [ebp + 0x33953]
push eax
movzx eax, word [ebp + 0x33955]
push eax
mov al, 4
call fcn.0040b263
test edx, 0x43ba
bswap eax
mov dword [ebp + 0x439b8], eax
mov ax, 2
mov word [ebp + 0x33955], ax
sub eax, eax
mov word [ebp + 0x3395b], ax
mov ax, 0x1e4
mov word [ebp + 0x33959], ax
mov ax, 5
mov word [ebp + 0x33957], ax
mov eax, 1
mov dword [ebp + 0x3396b], eax
mov esi, 0x4094c0
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x3396b]
push eax
lea eax, [ebp + 0x3394f]
push eax
add eax, 0xfffffd69
push eax
movzx eax, word [ebp + 0x33957]
push eax
movzx eax, word [ebp + 0x33959]
push eax
movzx eax, word [ebp + 0x3395b]
push eax
movzx eax, word [ebp + 0x33955]
push eax
mov al, 7
call fcn.0040b3d5
test edx, 0x4334
bswap eax
mov dword [ebp + 0x439b8], eax
mov ax, 2
mov word [ebp + 0x33955], ax
mov ax, 1
mov word [ebp + 0x3395b], ax
mov ax, 0x1c7
mov word [ebp + 0x33959], ax
mov ax, 2
mov word [ebp + 0x33957], ax
mov eax, 1
mov dword [ebp + 0x3396b], eax
mov esi, 0x4096c0
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x3396b]
push eax
lea eax, [ebp + 0x336e8]
push eax
add eax, 0xffffffd3
push eax
movzx eax, word [ebp + 0x33957]
push eax
movzx eax, word [ebp + 0x33959]
push eax
movzx eax, word [ebp + 0x3395b]
push eax
movzx eax, word [ebp + 0x33955]
push eax
mov al, 7
call fcn.0040b3d5
test edx, 0x42ae
bswap eax
mov dword [ebp + 0x439b8], eax
mov ax, 2
mov word [ebp + 0x33955], ax
mov ax, 2
mov word [ebp + 0x3395b], ax
mov ax, 0x1c7
mov word [ebp + 0x33959], ax
mov ax, 0x28
mov word [ebp + 0x33957], ax
mov eax, 1
mov dword [ebp + 0x3396b], eax
mov esi, 0x409380
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x3396b]
push eax
lea eax, [ebp + 0x336ea]
push eax
add eax, 0xffffffd3
push eax
movzx eax, word [ebp + 0x33957]
push eax
movzx eax, word [ebp + 0x33959]
push eax
movzx eax, word [ebp + 0x3395b]
push eax
movzx eax, word [ebp + 0x33955]
push eax
mov al, 7
call fcn.0040b3d5
test edx, 0x4228
bswap eax
mov dword [ebp + 0x439b8], eax
mov ax, 1
mov word [ebp + 0x33955], ax
mov ax, 1
mov word [ebp + 0x33953], ax
mov ax, 0x11
mov word [ebp + 0x33951], ax
mov esi, 0x4091d8
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x3394f]
push eax
movzx eax, word [eax + 2]
push eax
movzx eax, word [ebp + 0x33953]
push eax
movzx eax, word [ebp + 0x33955]
push eax
mov al, 4
call fcn.0040b263
test edx, 0x41ce
bswap eax
mov dword [ebp + 0x439b8], eax
mov ax, 1
mov word [ebp + 0x33955], ax
sub eax, eax
mov word [ebp + 0x3395b], ax
mov ax, 0x1e4
mov word [ebp + 0x33959], ax
mov ax, 5
mov word [ebp + 0x33957], ax
mov eax, 1
mov dword [ebp + 0x3396b], eax
mov esi, 0x4094c0
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x3396b]
push eax
lea eax, [ebp + 0x3394f]
push eax
add eax, 0xfffccacb
push eax
movzx eax, word [ebp + 0x33957]
push eax
movzx eax, word [ebp + 0x33959]
push eax
movzx eax, word [ebp + 0x3395b]
push eax
movzx eax, word [ebp + 0x33955]
push eax
mov al, 7
call fcn.0040b3d5
test edx, 0x4148
bswap eax
mov dword [ebp + 0x439b8], eax
mov ax, 0x18
mov word [ebp + 0x3395d], ax
mov ax, 5
mov word [ebp + 0x3395f], ax
mov ax, 1
mov word [ebp + 0x33961], ax
mov ax, 2
mov word [ebp + 0x33963], ax
mov ax, 0x7f
mov word [ebp + 0x33965], ax
mov esi, 0x40a2e0
lea edi, [ebp + 0x339b8]
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x4090e8
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x339b8]
push eax
movzx eax, word [eax - 0x53]
push eax
movzx eax, word [ebp + 0x33963]
push eax
movzx eax, word [ebp + 0x33961]
push eax
movzx eax, word [ebp + 0x3395f]
push eax
movzx eax, word [ebp + 0x3395d]
push eax
mov al, 6
call fcn.0040b5db
test edx, 0x40b3
bswap eax
mov dword [ebp + 0x439b8], eax
mov esi, 0x4090d8
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x3394f]
push eax
mov al, 1
call fcn.0040b41f
test edx, 0x408f
bswap eax
mov dword [ebp + 0x439b8], eax
call fcn.00408da4
cmp dword [ebp + 0x64], 0
jne 0x404e96
lea esi, [ebp + 0x336bd]
lea edi, [ebp + 0x33748]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov ax, word [ebp + 0x336bb]
mov word [ebp + 0x418], ax
ret