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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0xf8
mov ecx, dword [esp + 0x10c]
xor eax, eax
mov ebx, eax
mov edx, dword [esp + 0x110]
mov ebp, edx
cmp ebx, dword [ebp]
jge 0x46afb7
lea ecx, [esp]
push ecx
mov edi, dword [ebp + 0xc]
lea esi, [ebx + ebx]
add edi, esi
push edi
push edi
push 0
call sub.OCI.dll_sqlnult
add esp, 0x10
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + esi]
cmp ecx, 1
je 0x46afef
cmp ecx, 8
je 0x46afc2
cmp ecx, 0x18
je 0x46afc2
cmp ecx, 2
je 0x46af3b
cmp ecx, 0x17
jne 0x46ade8
mov edi, 0xf
mov word [eax + ebx*2], di
mov ecx, dword [ebp + 8]
lea edi, [ebx + ebx]
add edi, edi
add dword [ecx + edi], 2
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx + esi]
jmp 0x46af5d
cmp ecx, 0x68
jne 0x46af34
mov dword [esp + 8], 0xc
xor eax, eax
mov ecx, 1
mov edi, 0x100
mov dword [esp + 0x2c], 0x4862a0
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], 0x4862c0
mov dword [esp + 0x28], 0x478228
mov dword [esp + 0x10], ecx
mov word [esp + 0x1a], di
mov dword [esp + 0x14], 0x46a
mov dword [esp + 0x20], 0x485080
mov dword [esp + 0x1c], eax
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0x486aa0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], 4
mov dword [esp + 0x98], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc8], eax
mov word [esp + 0xe8], ax
mov word [esp + 0xf0], ax
lea ecx, [esp + 0x78]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0xd8]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0xf0]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 8]
push 0x4862cc
push ecx
push 0x4862d8
push eax
call sub.OCI.dll_sqlcxt
push 4
mov ecx, dword [esp + 0x120]
push ecx
call fcn.00465918
add esp, 0x18
mov edi, dword [esp + 4]
mov dword [eax], edi
mov ecx, dword [ebp + 4]
lea edi, [ebx + ebx]
add edi, edi
mov dword [ecx + edi], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + edi], 4
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx + esi]
jmp 0x46af5d
lea edi, [ebx + ebx]
add edi, edi
jmp 0x46af5d
mov ecx, dword [ebp + 8]
lea edi, [ebx + ebx]
add edi, edi
mov dword [ecx + edi], 0x64
mov eax, dword [ebp + 0xc]
mov ecx, 6
mov word [eax + esi], cx
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx + esi]
cmp ecx, 0x68
je 0x46af8b
mov ecx, dword [esp + 0x114]
mov esi, dword [ebp + 8]
movzx ecx, word [ecx + 2]
imul ecx, dword [edi + esi]
push ecx
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00465918
add esp, 8
mov ecx, dword [ebp + 4]
mov dword [edi + ecx], eax
mov ecx, dword [esp + 0x114]
movzx esi, word [ecx + 2]
add esi, esi
push esi
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00465918
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [edi + ecx], eax
add ebx, 1
jmp 0x46ad76
add esp, 0xf8
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esp + 0x114]
mov edi, 0x5e
mov word [eax + ebx*2], di
mov ecx, dword [ecx + 0xc]
mov eax, dword [ebp + 8]
lea edi, [ebx + ebx]
add edi, edi
add ecx, 4
mov dword [eax + edi], ecx
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx + esi]
jmp 0x46af5d
mov ecx, dword [esp + 0x114]
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x46b01e
mov edi, 9
mov word [eax + ebx*2], di
mov ecx, dword [ebp + 8]
lea edi, [ebx + ebx]
add edi, edi
add dword [ecx + edi], 2
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx + esi]
jmp 0x46af5d
mov edi, 5
mov word [eax + ebx*2], di
mov ecx, dword [ebp + 8]
lea edi, [ebx + ebx]
add edi, edi
add dword [ecx + edi], 1
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx + esi]
jmp 0x46af5d