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

Disassembly:
mov eax, dword [0x67a8e4]
sub esp, 0x168
push esi
mov esi, ecx
test dword [esi + 0xb0], eax
jne 0x4cd436
push 0
push str.._libmysql
call fcn.00478db0
add esp, 8
mov dword [esi + 0xb4], eax
test eax, eax
jne 0x4cd06a
push str.mysql.so_not_found__n
call fcn.0040cc80
add esp, 4
xor eax, eax
pop esi
add esp, 0x168
ret
push edi
mov ecx, 0x2c
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0
mov dword [esp + 0xbc], str.mysql_server_init
rep stosd dword es:[edi], eax
mov dword [esp + 0xc0], str.mysql_server_end
mov dword [esp + 0xc4], str.mysql_num_rows
mov dword [esp + 0xc8], str.mysql_num_fields
mov dword [esp + 0xcc], str.mysql_eof
mov dword [esp + 0xd0], str.mysql_fetch_field_direct
mov dword [esp + 0xd4], str.mysql_fetch_fields
mov dword [esp + 0xd8], str.mysql_row_tell
mov dword [esp + 0xdc], str.mysql_field_tell
mov dword [esp + 0xe0], str.mysql_field_count
mov dword [esp + 0xe4], str.mysql_affected_rows
mov dword [esp + 0xe8], str.mysql_insert_id
mov dword [esp + 0xec], str.mysql_errno
mov dword [esp + 0xf0], str.mysql_error
mov dword [esp + 0xf4], str.mysql_sqlstate
mov dword [esp + 0xf8], str.mysql_info
mov dword [esp + 0xfc], str.mysql_init
mov dword [esp + 0x100], str.mysql_real_connect
mov dword [esp + 0x104], str.mysql_select_db
mov dword [esp + 0x108], str.mysql_query
mov dword [esp + 0x10c], str.mysql_send_query
mov dword [esp + 0x110], str.mysql_real_query
mov dword [esp + 0x114], str.mysql_stmt_init
mov dword [esp + 0x118], str.mysql_stmt_prepare
mov dword [esp + 0x11c], str.mysql_stmt_execute
mov dword [esp + 0x120], str.mysql_stmt_fetch
mov dword [esp + 0x124], str.mysql_stmt_store_result
mov dword [esp + 0x128], str.mysql_stmt_param_count
mov dword [esp + 0x12c], str.mysql_stmt_close
mov dword [esp + 0x130], str.mysql_stmt_reset
mov dword [esp + 0x134], str.mysql_stmt_free_result
mov dword [esp + 0x138], str.mysql_stmt_errno
mov dword [esp + 0x13c], str.mysql_stmt_error
mov dword [esp + 0x140], str.mysql_stmt_sqlstate
mov dword [esp + 0x144], str.mysql_stmt_row_tell
mov dword [esp + 0x148], str.mysql_stmt_num_rows
mov dword [esp + 0x14c], str.mysql_commit
mov dword [esp + 0x150], str.mysql_rollback
mov dword [esp + 0x154], str.mysql_autocommit
mov dword [esp + 0x158], str.mysql_close
mov dword [esp + 0x15c], str.mysql_options
mov dword [esp + 0x160], str.mysql_store_result
mov dword [esp + 0x164], str.mysql_fetch_row
mov dword [esp + 0x168], str.mysql_free_result
mov dword [esp + 0x16c], 0x59ddd8
xor edi, edi
mov eax, dword [esp + edi + 0xbc]
test eax, eax
je 0x4cd295
cmp byte [eax], 0
je 0x4cd295
mov ecx, dword [esi + 0xb4]
push eax
push ecx
call fcn.00478df0
add esp, 8
mov dword [esp + edi + 8], eax
add edi, 4
cmp edi, 0xb4
jl 0x4cd271
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x30], edx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x3c], edx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x48], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x54], edx
mov edx, dword [esp + 0x68]
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x5c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x60], edx
mov edx, dword [esp + 0x74]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0x68], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x6c], edx
mov edx, dword [esp + 0x80]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x84]
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x78], edx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x90]
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x84], edx
mov edx, dword [esp + 0x98]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x8c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x90], edx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0xa8]
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], edx
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov dword [esi + 0xa0], eax
mov eax, dword [esp + 0xb4]
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
mov ecx, dword [0x67a8e4]
mov eax, dword [esi + 0xb0]
pop edi
or eax, ecx
mov dword [esi + 0xb0], eax
mov eax, 1
pop esi
add esp, 0x168
ret