Function at 0x4768f0
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x60
pushal
mov edi, eax
mov si, bx
mov dword [esp + 0x5e], ecx
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x2a7]
mov dword [esp + 0x26], eax
mov ebx, dword [esp + 0x26]
cmp ebx, 0
pushfd
movzx ebp, si
popfd
je 0x476b99
mov dword [esp + 0x3e], str.Getting
mov edx, ebx
mov dword [esp + 0x46], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x3e]
cmp ecx, 0
je 0x47694f
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x476954
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x64]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x476971
push dword [esp + 0x46]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov eax, ebp
cmp eax, 7
jne 0x4769e8
mov dword [esp + 0x3a], str.Concurrency
mov edx, dword [esp + 0x26]
mov dword [esp + 0x4a], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x3a]
cmp ecx, 0
je 0x4769b7
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x4769bc
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x68]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x4769d9
push dword [esp + 0x4a]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
jmp 0x476b87
cmp eax, 6
jne 0x476a53
mov dword [esp + 0x36], str.Cursor_Type
mov edx, dword [esp + 0x26]
mov dword [esp + 0x4e], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x36]
cmp ecx, 0
je 0x476a22
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x476a27
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x6c]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x476a44
push dword [esp + 0x4e]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
jmp 0x476b87
cmp eax, 4
jne 0x476abe
mov dword [esp + 0x32], str.Asynchronous_calling
mov edx, dword [esp + 0x26]
mov dword [esp + 0x52], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x32]
cmp ecx, 0
je 0x476a8d
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x476a92
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x70]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x476aaf
push dword [esp + 0x52]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
jmp 0x476b87
cmp eax, 9
jne 0x476b26
mov dword [esp + 0x2e], str.number_of_rows_to_fetch
mov edx, dword [esp + 0x26]
mov dword [esp + 0x56], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x2e]
cmp ecx, 0
je 0x476af8
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x476afd
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x74]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x476b1a
push dword [esp + 0x56]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
jmp 0x476b87
mov dword [esp + 0x2a], str.Statement_Option
mov edx, dword [esp + 0x26]
mov dword [esp + 0x5a], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x2a]
cmp ecx, 0
je 0x476b5b
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x476b60
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x78]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x476b7d
push dword [esp + 0x5a]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov eax, edi
mov ebx, dword [esp + 0x26]
mov ecx, 0x59ed80
mov dl, 1
call fcn.0047cc4c
push dword [esp + 0x5e]
push ebp
mov eax, dword [edi + 4]
push eax
call dword [0x59f9d4]
mov word [esp + 0x62], ax
cmp ebx, 0
je 0x476c9c
mov edx, 0x59ed88
mov ebp, ebx
call fcn.0040fbf0
sub eax, dword [0x52169c]
mov dword [esp + 0x42], eax
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x476bed
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x476bf2
mov ebx, 0
mov eax, ebp
mov ecx, edx
lea edx, [esp + 0x7c]
mov dword [esp + 0x22], edx
call fcn.0051a40c
mov eax, ebp
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, dword [esp + 0x42]
mov ebx, 0x64
cdq
idiv ebx
push edx
push eax
push str._ld._02ld_secs
push 0x5218a0
call fcn.004dbfa0
add esp, 0x10
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x476c67
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x476c6c
cmp word [esp + 0x62], 2
je 0x476ca4
jmp 0x476cae
mov ebx, 0
mov eax, ebp
mov edx, dword [esp + 0x22]
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, ebp
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x476c9c
push ebp
call sub.KERNEL32.dll_FlushFileBuffers
cmp byte [edi + 0x14], 0
jne 0x476c5d
jmp 0x476cae
cmp si, 4
jne 0x47690a
popal
add esp, 0x60
ret