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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x7839ee90
call sym.MFC80U.DLL_Ordinal_1176
cmp dword [ebp + 0xc], ebx
je 0x7839ee8b
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov dword [ebp + 8], ebx
call sym.MFC80U.DLL_Ordinal_3937
test eax, eax
je 0x7839f43a
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x7839ee8b
push edi
mov edi, dword [ebp + 8]
push dword [esi + 8]
lea eax, [edi - 1]
push eax
mov dword [ebp - 4], eax
call sym.MFC80U.DLL_Ordinal_2728
mov ecx, eax
cmp ecx, ebx
mov dword [ebp + 8], ecx
je 0x7839ee8b
mov eax, dword [esi]
cmp eax, 0xe
ja case.0x7839eed9.4
jmp dword [eax*4 + 0x7839f442]
mov eax, dword [esi + 4]
push dword [ebp - 4]
mov dword [eax + 0x20], 1
mov ecx, dword [esi + 4]
call sym.MFC80U.DLL_Ordinal_3962
test eax, eax
je 0x7839ef04
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
jmp 0x7839efc5
mov eax, dword [esi + 4]
cmp dword [eax + 0x7c], ebx
jne 0x7839ef4b
mov eax, dword [eax + 0x18]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.MFC80U.DLL_Ordinal_762
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 sub.MSVCR80.dll_memset
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]
lea eax, [eax + edi*4 - 4]
cmp dword [eax], ebx
jne 0x7839ef6f
push 0x10
call sym.MFC80U.DLL_Ordinal_762
mov ebx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x7c]
pop ecx
mov dword [eax + edi*4 - 4], ebx
jmp 0x7839ef71
mov ebx, dword [eax]
push dword [ebp + 0x10]
call fcn.783a1010
push dword [ebp + 0x10]
mov word [ebx], ax
call fcn.783a0fed
push dword [ebp + 0x10]
mov word [ebx + 2], ax
call fcn.783a0fca
push dword [ebp + 0x10]
mov word [ebx + 4], ax
call fcn.783a0fa7
push dword [ebp + 0x10]
mov word [ebx + 6], ax
call fcn.783a0f84
push dword [ebp + 0x10]
mov word [ebx + 8], ax
call fcn.783a0f61
and dword [ebx + 0xc], 0
mov word [ebx + 0xa], ax
mov eax, dword [ebp + 8]
mov dword [eax], 0x10
push dword [ebp + 8]
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 0x7839eff5
push dword [esi + 0x2c]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x60]
mov ecx, dword [esi + 4]
add ecx, 0x5c
jmp 0x7839f30f
push dword [ebp - 4]
mov ecx, dword [esi + 4]
call sym.MFC80U.DLL_Ordinal_3935
test eax, eax
je case.0x7839eed9.10
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
call sym.MFC80U.DLL_Ordinal_1236
mov ecx, dword [esi + 0x10]
push 0x3d
call sym.MFC80U.DLL_Ordinal_1248
push dword [ebp - 4]
mov ecx, dword [esi + 4]
call sym.MFC80U.DLL_Ordinal_3935
test eax, eax
je 0x7839f439
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x78]
mov ebx, dword [eax + edi*4 - 4]
lea eax, [edi - 1]
push eax
call sym.MFC80U.DLL_Ordinal_3936
test eax, eax
je 0x7839f056
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
jmp 0x7839f0aa
push dword [ebp + 0x10]
call fcn.783a1010
push dword [ebp + 0x10]
mov word [ebx], ax
call fcn.783a0fed
push dword [ebp + 0x10]
mov word [ebx + 2], ax
call fcn.783a0fca
push dword [ebp + 0x10]
mov word [ebx + 4], ax
call fcn.783a0fa7
push dword [ebp + 0x10]
mov word [ebx + 6], ax
call fcn.783a0f84
push dword [ebp + 0x10]
mov word [ebx + 8], ax
call fcn.783a0f61
and dword [ebx + 0xc], 0
mov word [ebx + 0xa], ax
mov eax, dword [ebp + 8]
mov dword [eax], 0x10
mov eax, dword [esi + 4]
test word [eax + 0x2c], 0x4000
jne 0x7839f439
mov ecx, dword [esi + 0x10]
push 0x3f
call sym.MFC80U.DLL_Ordinal_1248
push dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
call sym.MFC80U.DLL_Ordinal_1236
push dword [ebp + 8]
inc dword [esi + 0x28]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x38]
push 0
push ebx
push 0
push 0x17
shl edi, 4
movzx eax, word [eax + edi - 0xc]
push eax
movzx eax, word [esi + 0x28]
push 0xb
push 1
push eax
push dword [esi + 0x2c]
call sub.ODBC32.dll_SQLBindParameter
jmp 0x7839f439
push dword [ebp - 4]
mov ecx, dword [esi + 4]
call sym.MFC80U.DLL_Ordinal_3962
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 0xffffffef
add eax, 0x10
mov dword [ecx], eax
mov esi, dword [esi + 4]
cmp dword [esi + 0x84], ebx
je 0x7839f439
mov eax, dword [esi + 0x7c]
mov esi, dword [ebp + 0x10]
mov edi, dword [eax + edi*4 - 4]
push esi
call fcn.783a1010
push esi
mov word [edi], ax
call fcn.783a0fed
push esi
mov word [edi + 2], ax
call fcn.783a0fca
push esi
mov word [edi + 4], ax
call fcn.783a0fa7
push esi
mov word [edi + 6], ax
call fcn.783a0f84
push esi
mov word [edi + 8], ax
call fcn.783a0f61
mov word [edi + 0xa], ax
mov dword [edi + 0xc], ebx
jmp 0x7839f439
mov eax, dword [esi + 4]
cmp dword [eax + 0x80], ebx
je 0x7839f439
mov eax, dword [eax + 0x78]
mov ebx, dword [ebp + 0x10]
mov edi, dword [eax + edi*4 - 4]
push ebx
call fcn.783a1010
push ebx
mov word [edi], ax
call fcn.783a0fed
push ebx
mov word [edi + 2], ax
call fcn.783a0fca
push ebx
mov word [edi + 4], ax
call fcn.783a0fa7
push ebx
mov word [edi + 6], ax
call fcn.783a0f84
push ebx
mov word [edi + 8], ax
call fcn.783a0f61
and dword [edi + 0xc], 0
push 0x17
push 0x10
push 0xb
push dword [ebp + 8]
mov word [edi + 0xa], ax
push edi
jmp 0x7839f42f
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x3c]
mov eax, edi
shl eax, 4
lea ebx, [edx + eax - 0x10]
movzx eax, byte [ebx + 0xc]
push eax
lea eax, [edi - 1]
push eax
call sym.MFC80U.DLL_Ordinal_5824
mov ecx, dword [esi + 4]
lea eax, [edi - 1]
push eax
call sym.MFC80U.DLL_Ordinal_3936
test eax, eax
jne 0x7839f3d6
push dword [ebx + 8]
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebx]
call sym.MFC80U.DLL_Ordinal_1032
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x78]
mov esi, dword [ebp + 0x10]
mov edi, dword [eax + edi*4 - 4]
push esi
call fcn.783a1010
push esi
mov word [edi], ax
call fcn.783a0fed
push esi
mov word [edi + 2], ax
call fcn.783a0fca
push esi
mov word [edi + 4], ax
call fcn.783a0fa7
push esi
mov word [edi + 6], ax
call fcn.783a0f84
push esi
mov word [edi + 8], ax
call fcn.783a0f61
and dword [edi + 0xc], 0
mov word [edi + 0xa], ax
jmp 0x7839f439
mov eax, dword [esi + 4]
cmp dword [eax + 0x78], ebx
jne 0x7839f2b6
mov eax, dword [eax + 0x14]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.MFC80U.DLL_Ordinal_762
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 sub.MSVCR80.dll_memset
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 0x7839f2d4
push 0x10
call sym.MFC80U.DLL_Ordinal_762
pop ecx
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x78]
mov dword [ecx + edi*4 - 4], eax
push dword [ebp + 8]
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]
movzx ebx, ax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x54]
test eax, eax
jne 0x7839f309
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 0
push ebx
call dword [eax + 0x60]
mov ecx, dword [esi + 4]
add ecx, 0x40
push dword [ebp + 0x10]
call sym.MFC80U.DLL_Ordinal_862
mov dword [eax], edi
jmp 0x7839f439
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x3c]
shl edi, 4
push 0xc
lea edi, [eax + edi - 0x10]
call sym.MFC80U.DLL_Ordinal_762
cmp eax, ebx
pop ecx
je 0x7839f340
fldz
mov dword [eax + 8], ebx
fstp qword [eax]
jmp 0x7839f342
xor eax, eax
mov dword [edi], eax
mov dword [edi + 8], 0x10
jmp 0x7839f439
cmp dword [ecx], 0xffffffff
jne 0x7839f36f
push dword [ebp - 4]
mov ecx, dword [esi + 4]
call sym.MFC80U.DLL_Ordinal_5903
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], 2
jmp 0x7839f439
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x78]
mov edi, dword [eax + edi*4 - 4]
movzx eax, word [edi + 0xa]
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 eax, [ebp - 0x10]
call fcn.78365339
mov edi, dword [ebp + 0x10]
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x7839f439
mov eax, dword [esi + 0x18]
cmp eax, ebx
mov edi, dword [ebp + 0x10]
jne 0x7839f3bb
cmp dword [esi + 8], ebx
je 0x7839f3bf
cmp eax, edi
jne 0x7839f439
cmp dword [esi + 0x14], ebx
push dword [ebp - 4]
mov ecx, dword [esi + 4]
je 0x7839f3de
call sym.MFC80U.DLL_Ordinal_5903
mov dword [edi + 8], 2
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
jmp 0x7839f439
call sym.MFC80U.DLL_Ordinal_1413
mov eax, dword [ebp + 8]
mov dword [eax], 0x10
jmp 0x7839f439
mov eax, dword [ebp + 0x10]
cmp dword [eax + 8], 2
je 0x7839f439
push dword [ebp - 4]
mov ecx, dword [esi + 4]
call sym.MFC80U.DLL_Ordinal_5797
push dword [ebp - 4]
mov ecx, dword [esi + 4]
call sym.MFC80U.DLL_Ordinal_1413
jmp 0x7839f439
mov eax, dword [ebp + 0x10]
cmp dword [eax + 8], 2
je case.0x7839eed9.4
push dword [ebp - 4]
mov ecx, dword [esi + 4]
call sym.MFC80U.DLL_Ordinal_1413
push 0x17
push 0xc
push 0xb
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, esi
call sym.MFC80U.DLL_Ordinal_1893
pop edi
pop esi
pop ebx
leave
ret 0xc