Function at 0x47d114
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x98
pushal
mov esi, eax
mov word [esp + 0x5e], cx
mov ebp, edx
jmp 0x47d12e
cmp cx, 0x66
je 0x47d139
jmp 0x47d142
mov eax, dword [esi + 0x11]
cmp dword [eax + 0xd], 0
je 0x47d126
jmp 0x47d142
cmp ebp, 1
jne 0x47d671
mov ebx, dword [ebx + 0x2a7]
mov dword [esp + 0x46], ebx
cmp ebx, 0
pushfd
movzx edi, cx
popfd
je 0x47d581
mov eax, edi
cmp eax, 0x67
jne 0x47d174
mov eax, esi
mov ecx, str.Setting_Connection_timeout_for
mov dl, 1
call fcn.0047d67c
jmp 0x47d581
cmp eax, 0x6c
jne 0x47d2ad
mov eax, ebp
cmp eax, 1
jne 0x47d197
mov eax, esi
mov ecx, str.Setting_Transaction_Isolation_to_Read_Uncommitted_on
mov dl, 1
call fcn.0047d67c
jmp 0x47d581
cmp eax, 2
jne 0x47d1af
mov eax, esi
mov ecx, str.Setting_Transaction_Isolation_to_Read_Committed_on
mov dl, 1
call fcn.0047d67c
jmp 0x47d581
cmp eax, 8
jne 0x47d1c7
mov eax, esi
mov ecx, str.Setting_Transaction_Isolation_to_Serializable_on
mov dl, 1
call fcn.0047d67c
jmp 0x47d581
mov dword [esp + 0x42], str.Setting_unknown_Transaction_Isolation_level__
mov edx, ebx
mov dword [esp + 0x4a], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x42]
cmp ecx, 0
je 0x47d1fa
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x47d1ff
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x6c]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47d21c
push dword [esp + 0x4a]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov eax, ebp
lea ebx, [esp + 0x70]
mov ecx, 0xa
call fcn.0047499c
mov dword [esp + 0x3e], ebx
mov edx, dword [esp + 0x46]
mov dword [esp + 0x4e], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x3e]
cmp ecx, 0
je 0x47d267
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x47d26c
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x84]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47d28c
push dword [esp + 0x4e]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov eax, esi
mov ebx, dword [esp + 0x46]
mov ecx, str.__on
mov dl, 1
call fcn.0047d67c
jmp 0x47d581
cmp eax, 0x66
jne 0x47d2dd
cmp ebp, 1
jne 0x47d2ca
mov eax, esi
mov ecx, str.Setting_Auto_Commit_ON_for
mov dl, 1
call fcn.0047d67c
jmp 0x47d581
mov eax, esi
mov ecx, str.Setting_Auto_Commit_OFF_for
mov dl, 1
call fcn.0047d67c
jmp 0x47d581
cmp eax, 0x6a
jne 0x47d3bf
mov dword [esp + 0x3a], str.Setting_translation_DLL_to
mov edx, ebx
mov dword [esp + 0x52], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x3a]
cmp ecx, 0
je 0x47d319
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x47d31e
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x88]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47d33e
push dword [esp + 0x52]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov dword [esp + 0x36], ebp
mov edx, dword [esp + 0x46]
mov dword [esp + 0x56], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x36]
cmp ecx, 0
je 0x47d379
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x47d37e
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x8c]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47d39e
push dword [esp + 0x56]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov eax, esi
mov ebx, dword [esp + 0x46]
mov ecx, 0x59f078
mov dl, 1
call fcn.0047d67c
jmp 0x47d581
mov dword [esp + 0x32], str.Setting_Connection_Information
mov edx, ebx
mov dword [esp + 0x5a], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x32]
cmp ecx, 0
je 0x47d3f2
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x47d3f7
mov ebx, 0
mov eax, edx
lea edx, [esp + 0x90]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47d417
push dword [esp + 0x5a]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
movzx eax, word [esp + 0x5e]
lea ebx, [esp + 0x94]
mov dword [esp + 0x26], ebx
mov ecx, 0xa
call fcn.00474a14
mov dword [esp + 0x2e], ebx
mov edx, dword [esp + 0x46]
mov dword [esp + 0x60], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x2e]
cmp ecx, 0
je 0x47d46c
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x47d471
mov ebx, 0
mov eax, edx
lea edx, [esp + 0xa8]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47d491
push dword [esp + 0x60]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov dword [esp + 0x2a], str._to
mov edx, dword [esp + 0x46]
mov dword [esp + 0x64], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x2a]
cmp ecx, 0
je 0x47d4d0
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x47d4d5
mov ebx, 0
mov eax, edx
lea edx, [esp + 0xac]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47d4f5
push dword [esp + 0x64]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov eax, ebp
mov ebx, dword [esp + 0x26]
mov ecx, 0xa
call fcn.0047499c
mov dword [esp + 0x22], ebx
mov edx, dword [esp + 0x46]
mov dword [esp + 0x68], edx
mov eax, edx
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov ecx, dword [esp + 0x22]
cmp ecx, 0
je 0x47d540
mov eax, ecx
call fcn.00420750
mov ebx, eax
jmp 0x47d545
mov ebx, 0
mov eax, edx
lea edx, [esp + 0xb0]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47d565
push dword [esp + 0x68]
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov eax, esi
mov ebx, dword [esp + 0x46]
mov ecx, str._for
mov dl, 1
call fcn.0047d67c
push ebp
push edi
mov eax, dword [esi + 0xd]
push eax
call dword [0x59fa04]
cmp ebx, 0
je 0x47d671
mov edx, 0x59f0b0
mov esi, ebx
call fcn.0040fbf0
mov edi, eax
sub edi, dword [0x52169c]
mov eax, esi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47d5cb
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47d5d0
mov ebx, 0
mov eax, esi
mov ecx, edx
lea ebp, [esp + 0xb4]
mov edx, ebp
call fcn.0051a40c
mov eax, esi
mov edx, ebp
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, edi
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, esi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x47d63c
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x47d641
mov ebx, 0
mov eax, esi
mov edx, ebp
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, esi
mov edx, ebp
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47d671
push esi
call sub.KERNEL32.dll_FlushFileBuffers
popal
add esp, 0x98
ret