Function at 0x46e0e8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x1e0
mov ebx, dword [esp + 0x1f4]
mov edi, dword [ebx + 0x5f4]
mov esi, dword [ebx + 0x5f0]
mov eax, dword [esp + 0x1f8]
mov ebp, dword [esp + 0x1fc]
mov edx, dword [ebx + 0x5fc]
mov ecx, dword [ebx + 0x5f8]
cmp eax, 3
jne 0x46e2e4
mov dword [esp + 0xf0], 0xc
mov dword [esp + 0x160], edi
mov edx, 0x100
mov dword [esp + 0xf4], 4
mov word [esp + 0x102], dx
xor eax, eax
mov dword [esp + 0x114], 0x4862a0
mov dword [esp + 0x104], eax
mov dword [esp + 0x170], eax
mov dword [esp + 0x118], 0x4862c0
mov dword [esp + 0xf8], 0xa
mov dword [esp + 0x180], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0xfc], 0x78c
mov dword [esp + 0x108], 0x485080
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x10c], 0x486aa0
mov word [esp + 0x1d0], ax
mov word [esp + 0x1d8], ax
mov dword [esp + 0x168], esi
mov dword [esp + 0x178], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1b8], eax
mov word [esp + 0x1d4], ax
mov word [esp + 0x1dc], ax
lea ecx, [esp + 0x160]
mov dword [esp + 0x140], 0x64
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x144], 2
lea ebx, [esp + 0x170]
mov dword [esp + 0x148], 1
mov dword [esp + 0x120], ebx
lea esi, [esp + 0x180]
mov dword [esp + 0x124], esi
lea edi, [esp + 0x190]
mov dword [esp + 0x128], edi
lea edx, [esp + 0x1a0]
mov dword [esp + 0x12c], edx
lea edx, [esp + 0x1b0]
mov dword [esp + 0x130], edx
lea edx, [esp + 0x1c0]
mov dword [esp + 0x134], edx
lea edx, [esp + 0x1d0]
mov dword [esp + 0x138], edx
lea edx, [esp + 0x1d8]
mov dword [esp + 0x13c], edx
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
lea edx, [esp + 0xf0]
push 0x4862cc
push edx
push 0x4862d8
push eax
call sub.OCI.dll_sqlcxt
add esp, 0x10
mov eax, dword [0x486aac]
test eax, eax
jl 0x46e4b8
jmp 0x46e44a
cmp eax, 4
jne 0x46e457
mov dword [esp], 0xc
mov dword [esp + 0x70], edx
mov ebx, 0x100
mov dword [esp + 4], 4
mov word [esp + 0x12], bx
xor eax, eax
mov dword [esp + 0x24], 0x4862a0
mov dword [esp + 0x14], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x28], 0x4862c0
mov dword [esp + 8], 0xa
mov dword [esp + 0x90], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xc], 0x7ad
mov dword [esp + 0x18], 0x485080
mov dword [esp + 0xb0], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x1c], 0x486aa0
mov word [esp + 0xe0], ax
mov word [esp + 0xe8], ax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc8], eax
mov word [esp + 0xe4], ax
mov word [esp + 0xec], ax
lea edx, [esp + 0x70]
mov dword [esp + 0x50], 0x64
mov dword [esp + 0x2c], edx
mov dword [esp + 0x54], 2
lea ecx, [esp + 0x80]
mov dword [esp + 0x58], 1
mov dword [esp + 0x30], ecx
lea esi, [esp + 0x90]
mov dword [esp + 0x34], esi
lea edi, [esp + 0xa0]
mov dword [esp + 0x38], edi
lea edx, [esp + 0xb0]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0xc0]
mov dword [esp + 0x40], edx
lea edx, [esp + 0xd0]
mov dword [esp + 0x44], edx
lea edx, [esp + 0xe0]
mov dword [esp + 0x48], edx
lea edx, [esp + 0xe8]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea edx, [esp]
push 0x4862cc
push edx
push 0x4862d8
push eax
call sub.OCI.dll_sqlcxt
add esp, 0x10
mov eax, dword [0x486aac]
test eax, eax
jl 0x46e4b8
xor eax, eax
add esp, 0x1e0
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [ebp + 0xc], 2
mov eax, 3
mov dword [ebp], eax
push eax
push ebx
call fcn.004658d4
add esp, 8
mov dword [ebp + 8], eax
mov edx, dword [ebx + 0x618]
mov ecx, dword [edx + 0x1c]
test ecx, 0x4000000
jne 0x46e49e
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x46e49c
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x46e490
jmp 0x46e4a5
push eax
call sub.OCI.dll_lxsulen
pop ecx
mov dword [ebp + 4], eax
mov eax, 0xffffffff
add esp, 0x1e0
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [ebp + 0xc], 1
mov edx, dword [0x486aac]
mov dword [ebp], edx
mov eax, 0xffffffff
mov dword [ebp + 8], 0x486ab2
movzx ecx, word [0x486ab0]
mov dword [ebp + 4], ecx
add esp, 0x1e0
pop ebx
pop ebp
pop esi
pop edi
ret