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

Disassembly:
push 0x18
mov eax, 0x53a0fb
call fcn.0051d1de
mov esi, dword [ebp + 8]
push 1
push 0x38
push esi
call fcn.0042d577
neg eax
sbb eax, eax
neg eax
jne 0x41c70c
call fcn.0040cec8
push 0xffffffffffffffff
push dword [ebp + 0xc]
call fcn.0042d566
neg eax
sbb eax, eax
neg eax
je 0x41c707
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 0x1c], ebx
call fcn.0041ba4a
test eax, eax
je 0x41cc4a
mov ecx, dword [esi + 4]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
je 0x41c707
mov edi, dword [ebp - 0x1c]
push dword [esi + 8]
lea eax, [edi - 1]
push eax
mov dword [ebp - 0x18], eax
call fcn.0040e392
mov ecx, eax
xor eax, eax
cmp ecx, ebx
setne al
mov dword [ebp - 0x14], ecx
cmp eax, ebx
je 0x41c707
mov eax, dword [esi]
cmp eax, 0xe
ja case.0x41c771.4
jmp dword [eax*4 + 0x41cd16]
mov eax, dword [esi + 4]
mov dword [eax + 0x20], 1
mov eax, dword [esi + 4]
cmp dword [eax + 0x7c], ebx
jne 0x41c7c9
mov eax, dword [eax + 0x18]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040bee0
mov ecx, dword [esi + 4]
mov dword [ecx + 0x7c], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
shl ecx, 2
push ecx
push ebx
push dword [eax + 0x7c]
call fcn.0051db00
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
add esp, 0x10
mov dword [eax + 0x84], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x7c]
cmp dword [eax + edi*4 - 4], ebx
jne 0x41c7e7
push 0x10
call fcn.0040bee0
pop ecx
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x7c]
mov dword [ecx + edi*4 - 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x7c]
mov ebx, dword [eax + edi*4 - 4]
lea eax, [edi - 1]
push eax
call fcn.0040e51d
test eax, eax
je 0x41c806
mov eax, dword [ebp - 0x14]
or dword [eax], 0xffffffff
jmp 0x41c85a
mov ecx, dword [ebp + 0x10]
call fcn.0041bc7d
mov ecx, dword [ebp + 0x10]
mov word [ebx], ax
call fcn.0041bcb4
mov ecx, dword [ebp + 0x10]
mov word [ebx + 2], ax
call fcn.0041bce7
mov ecx, dword [ebp + 0x10]
mov word [ebx + 4], ax
call fcn.0041bd19
mov ecx, dword [ebp + 0x10]
mov word [ebx + 6], ax
call fcn.0041bd4c
mov ecx, dword [ebp + 0x10]
mov word [ebx + 8], ax
call fcn.0041bd7f
and dword [ebx + 0xc], 0
mov word [ebx + 0xa], ax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x10
push dword [ebp - 0x14]
movzx eax, word [esi + 8]
push 0
push ebx
push 0
push 0x17
push 0xb
push 0xb
push eax
push edi
push dword [esi + 0x2c]
call sub.ODBC32.dll_SQLBindParameter
movzx eax, ax
test ax, ax
je 0x41c88a
push dword [esi + 0x2c]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x58]
mov ecx, dword [esi + 4]
add ecx, 0x5c
push dword [ebp + 0x10]
call fcn.00430d8e
mov dword [eax], edi
jmp 0x41cc4a
push dword [ebp - 0x18]
mov ecx, dword [esi + 4]
call fcn.0040e51d
test eax, eax
jne 0x41cbdf
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x7c]
mov esi, dword [ebp + 0x10]
mov edi, dword [eax + edi*4 - 4]
mov ecx, esi
call fcn.0041bc7d
mov ecx, esi
mov word [edi], ax
call fcn.0041bcb4
mov ecx, esi
mov word [edi + 2], ax
call fcn.0041bce7
mov ecx, esi
mov word [edi + 4], ax
call fcn.0041bd19
mov ecx, esi
mov word [edi + 6], ax
call fcn.0041bd4c
mov ecx, esi
mov word [edi + 8], ax
call fcn.0041bd7f
mov word [edi + 0xa], ax
mov dword [edi + 0xc], ebx
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x10
jmp 0x41cc4a
mov eax, dword [esi + 4]
cmp dword [eax + 0x78], ebx
jne 0x41c958
mov eax, dword [eax + 0x14]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040bee0
mov ecx, dword [esi + 4]
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x14]
shl ecx, 2
push ecx
push ebx
push dword [eax + 0x78]
call fcn.0051db00
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x14]
add esp, 0x10
mov dword [eax + 0x80], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x78]
cmp dword [eax + edi*4 - 4], ebx
jne 0x41c976
push 0x10
call fcn.0040bee0
pop ecx
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x78]
mov dword [ecx + edi*4 - 4], eax
push dword [ebp - 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x78]
push 0x10
push dword [ecx + edi*4 - 4]
push 0xb
push edi
push dword [eax + 4]
call sub.ODBC32.dll_SQLBindCol
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
movzx eax, ax
push eax
mov dword [ebp + 0xc], eax
call dword [edx + 0x4c]
test eax, eax
jne 0x41c9af
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push ebx
push dword [ebp + 0xc]
call dword [eax + 0x58]
mov ecx, dword [esi + 4]
add ecx, 0x40
jmp 0x41c890
mov eax, dword [esi + 4]
cmp dword [eax + 0x80], ebx
je 0x41cc4a
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp + 0x10]
mov edi, dword [eax + edi*4 - 4]
call fcn.0041bc7d
mov ecx, dword [ebp + 0x10]
mov word [edi], ax
call fcn.0041bcb4
mov ecx, dword [ebp + 0x10]
mov word [edi + 2], ax
call fcn.0041bce7
mov ecx, dword [ebp + 0x10]
mov word [edi + 4], ax
call fcn.0041bd19
mov ecx, dword [ebp + 0x10]
mov word [edi + 6], ax
call fcn.0041bd4c
mov ecx, dword [ebp + 0x10]
mov word [edi + 8], ax
call fcn.0041bd7f
push 0x17
push 0x10
push 0xb
push dword [ebp - 0x14]
mov word [edi + 0xa], ax
mov dword [edi + 0xc], ebx
push edi
jmp 0x41cc40
cmp dword [ecx], 0xffffffff
jne 0x41ca4b
cmp dword [esi + 0x14], ebx
je 0x41ca3e
push dword [ebp - 0x18]
mov ecx, dword [esi + 4]
call fcn.0040e4d1
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x41cc4a
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x78]
mov edi, dword [eax + edi*4 - 4]
movzx eax, word [edi + 0xa]
push 0xffffffffffffffff
push eax
movzx eax, word [edi + 8]
push eax
movzx eax, word [edi + 6]
push eax
movzx eax, word [edi + 4]
push eax
movzx eax, word [edi + 2]
push eax
movsx eax, word [edi]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.0041bb5e
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x41ca46
push dword [ebp - 0x18]
mov ecx, dword [esi + 4]
call fcn.0040e433
test eax, eax
je case.0x41c771.10
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
call fcn.00402430
mov ecx, dword [esi + 0x10]
push 0x3d
call fcn.0040c680
push dword [ebp - 0x18]
mov ecx, dword [esi + 4]
call fcn.0040e433
test eax, eax
je 0x41cc4a
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x78]
mov ebx, dword [eax + edi*4 - 4]
lea eax, [edi - 1]
push eax
call fcn.0040e4a8
test eax, eax
je 0x41cb04
mov eax, dword [ebp - 0x14]
or dword [eax], 0xffffffff
jmp 0x41cb58
mov ecx, dword [ebp + 0x10]
call fcn.0041bc7d
mov ecx, dword [ebp + 0x10]
mov word [ebx], ax
call fcn.0041bcb4
mov ecx, dword [ebp + 0x10]
mov word [ebx + 2], ax
call fcn.0041bce7
mov ecx, dword [ebp + 0x10]
mov word [ebx + 4], ax
call fcn.0041bd19
mov ecx, dword [ebp + 0x10]
mov word [ebx + 6], ax
call fcn.0041bd4c
mov ecx, dword [ebp + 0x10]
mov word [ebx + 8], ax
call fcn.0041bd7f
and dword [ebx + 0xc], 0
mov word [ebx + 0xa], ax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x10
mov eax, dword [esi + 4]
test dword [eax + 0x2c], 0x4000
jne 0x41cc4a
mov ecx, dword [esi + 0x10]
push 0x3f
call fcn.0040c680
push dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
call fcn.00402430
push dword [ebp - 0x14]
inc dword [esi + 0x28]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x38]
push 0
push ebx
push 0
push 0x17
add edi, edi
movzx eax, word [eax + edi*8 - 0xc]
push eax
movzx eax, word [esi + 0x28]
push 0xb
push 1
push eax
push dword [esi + 0x2c]
call sub.ODBC32.dll_SQLBindParameter
jmp 0x41cc4a
mov eax, dword [esi + 0x18]
cmp eax, ebx
jne 0x41cbba
cmp dword [esi + 8], ebx
je 0x41cbc7
mov edi, dword [ebp + 0x10]
cmp eax, edi
jne 0x41cc4a
jmp 0x41cbca
mov edi, dword [ebp + 0x10]
push dword [ebp - 0x18]
mov ecx, dword [esi + 4]
cmp dword [esi + 0x14], ebx
je 0x41cbe7
call fcn.0040e4d1
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov eax, dword [ebp - 0x14]
or dword [eax], 0xffffffff
jmp 0x41cc4a
call fcn.0040e4f7
jmp 0x41c903
mov ecx, dword [ebp + 0x10]
xor eax, eax
push ebx
push eax
call fcn.0041bc07
test al, al
je 0x41cc4a
push dword [ebp - 0x18]
mov ecx, dword [esi + 4]
call fcn.0040e45c
push dword [ebp - 0x18]
mov ecx, dword [esi + 4]
call fcn.0040e4f7
jmp 0x41cc4a
mov ecx, dword [ebp + 0x10]
xor eax, eax
push ebx
push eax
call fcn.0041bc07
test al, al
je case.0x41c771.4
push dword [ebp - 0x18]
mov ecx, dword [esi + 4]
call fcn.0040e4f7
push 0x17
push 8
push 0xb
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041c262
call fcn.0051d283
ret 0xc
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x3c]
mov eax, edi
add eax, eax
lea ebx, [edx + eax*8 - 0x10]
movzx eax, byte [ebx + 0xc]
push eax
lea eax, [edi - 1]
push eax
call fcn.0040e3f7
mov ecx, dword [esi + 4]
lea eax, [edi - 1]
push eax
call fcn.0040e4a8
test eax, eax
jne 0x41cbdf
push dword [ebx + 8]
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebx]
call fcn.0041c023
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x78]
mov esi, dword [ebp + 0x10]
mov edi, dword [eax + edi*4 - 4]
mov ecx, esi
call fcn.0041bc7d
mov ecx, esi
mov word [edi], ax
call fcn.0041bcb4
mov ecx, esi
mov word [edi + 2], ax
call fcn.0041bce7
mov ecx, esi
mov word [edi + 4], ax
call fcn.0041bd19
mov ecx, esi
mov word [edi + 6], ax
call fcn.0041bd4c
mov ecx, esi
mov word [edi + 8], ax
call fcn.0041bd7f
and dword [edi + 0xc], 0
mov word [edi + 0xa], ax
jmp 0x41cc4a
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x3c]
push 8
pop esi
add edi, edi
push esi
lea edi, [eax + edi*8 - 0x10]
call fcn.0040bee0
pop ecx
cmp eax, ebx
je 0x41cd0a
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x41cd0c
xor eax, eax
mov dword [edi], eax
mov dword [edi + 8], esi
jmp 0x41cc4a