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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62c7ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], ecx
push 0x46c
push str.dbcore.cpp
mov eax, dword [ebp - 0x50]
push eax
call fcn.00575350
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 8], 0
jne 0x4d49dd
push 0x46e
push str.dbcore.cpp
call fcn.005c3050
test eax, eax
je 0x4d49dd
int3
xor edx, edx
test edx, edx
jne 0x4d49c0
mov ecx, dword [ebp - 0x50]
add ecx, 0xa4
call fcn.00565322
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x3c], 0
je 0x4d4a14
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x14], 0
jbe 0x4d4a14
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x1c], 0
je 0x4d4a14
mov ecx, dword [ebp - 0x50]
call fcn.004dacdd
mov ecx, dword [ebp - 0x50]
call fcn.004d7d4a
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x94], 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00565079
add esp, 4
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
je 0x4d4a6c
push 3
mov ecx, dword [ebp - 0x2c]
call fcn.004dc7e0
mov dword [ebp - 0x54], eax
jmp 0x4d4a73
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xec]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00565079
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xec], 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xf0]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.00565079
add esp, 4
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xf0], 0
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x78], 0
je 0x4d4b39
mov dword [ebp - 0x18], 0
jmp 0x4d4ae2
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx + 0x80]
jae 0x4d4b0d
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x78]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00565079
add esp, 4
jmp 0x4d4ad9
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x78]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00565079
add esp, 4
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x80], 0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x7c], 0
je 0x4d4bab
mov dword [ebp - 0x1c], 0
jmp 0x4d4b54
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x84]
jae 0x4d4b7f
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x7c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.00565079
add esp, 4
jmp 0x4d4b4b
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.00565079
add esp, 4
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x7c], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x84], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xf4]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00565079
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xf4], 0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 4], 0
je 0x4d4bfb
push 1
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 4]
push eax
call sub.odbc32.dll_SQLFreeStmt
mov word [ebp - 0x14], ax
xor ecx, ecx
test ecx, ecx
jne 0x4d4bd9
mov edx, dword [ebp - 0x50]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0xbc], 0
je 0x4d4c2f
push 1
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xbc]
push edx
call sub.odbc32.dll_SQLFreeStmt
mov word [ebp - 0x14], ax
xor eax, eax
test eax, eax
jne 0x4d4c07
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xbc], 0
push 0xf
call fcn.005db6aa
mov dword [ebp - 4], 0
push 0
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 8]
add ecx, 0x20
call fcn.0055a97b
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x4d4c74
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 8]
add ecx, 0x20
call fcn.0055a7e1
jmp 0x4d4c93
mov ecx, dword [0x684b38]
and ecx, 0x20
test ecx, ecx
je 0x4d4c93
push str.WARNING:_CRecordset_not_found_in_m_pDatabase__m_listRecordsets._n
push 0x66c9b4
call fcn.0053fb15
add esp, 8
jmp 0x4d4cd0
mov dword [ebp - 4], 0xffffffff
push 0xf
call fcn.005db7dc
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x90], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xc4], 1
mov edx, dword [ebp - 0x50]
mov dword [edx + 0xc8], 1
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xe4], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xd0], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0xcc], 0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xe0], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x50]
mov dword [eax + 0xa8], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0xe8], 0
mov edx, dword [ebp - 0x50]
mov word [edx + 0x30], 0xffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret