Function at 0x43b530
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a313
mov eax, dword fs:[0]
push eax
mov eax, 0x2a00
call fcn.00460980
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0043cbc0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.0043cc80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.0043cee0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00421180
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.0041e3b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0x54
call fcn.0041e3b0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.0041e3b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add ecx, 0x74
call fcn.0041e3b0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
add ecx, 0x84
call fcn.0041e3b0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
add ecx, 0x94
call fcn.0041e3b0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
add ecx, 0xa4
call fcn.0041e3b0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
push eax
push 5
push str.RECV_TIMEOUT
push str.TIME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push eax
push 0xa
push str.QUERY_NUM
push str.QUERY
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2020], 1
jmp 0x43b66e
mov eax, dword [ebp - 0x2020]
add eax, 1
mov dword [ebp - 0x2020], eax
mov eax, dword [ebp - 0x2020]
cmp eax, dword [ebp - 0x1c]
jae 0x43b860
mov eax, dword [ebp - 0x2020]
push eax
push 0x48f680
push 0x40
lea ecx, [ebp - 0x2060]
push ecx
call fcn.0043bcb0
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push 0x2000
lea ecx, [ebp - 0x201c]
push ecx
push 0x48dd60
lea edx, [ebp - 0x2060]
push edx
push str.QUERY
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x43b85b
lea ecx, [ebp - 0x207c]
call fcn.00421180
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x208c]
call fcn.0043c8f0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2090]
push eax
lea ecx, [ebp - 0x208c]
push ecx
lea edx, [ebp - 0x207c]
push edx
lea eax, [ebp - 0x201c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0043bf90
test eax, eax
jne 0x43b742
push str.Param_info_error__does_not_match_
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.004211c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x208c]
call fcn.0043c920
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x207c]
call fcn.00406e10
jmp 0x43bc7f
lea ecx, [ebp - 0x20c0]
call fcn.0043bdd0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x207c]
call fcn.00406e30
push eax
lea ecx, [ebp - 0x20c0]
call fcn.004211c0
lea eax, [ebp - 0x208c]
push eax
lea ecx, [ebp - 0x20a4]
call fcn.0043c940
mov eax, dword [ebp - 0x2090]
mov dword [ebp - 0x2094], eax
lea eax, [ebp - 0x20c0]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0043cc10
lea ecx, [ebp - 0x207c]
call fcn.00406e30
push eax
lea ecx, [ebp - 0x2a0c]
call fcn.00406d80
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x208c]
push eax
lea ecx, [ebp - 0x2a0c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.0043ccb0
mov ecx, eax
call fcn.0043c940
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2a0c]
call fcn.00406e10
lea ecx, [ebp - 0x207c]
call fcn.00406e30
push eax
lea ecx, [ebp - 0x29f0]
call fcn.00406d80
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x29f0]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.0043cf10
mov ecx, dword [ebp - 0x2090]
mov dword [eax], ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x29f0]
call fcn.00406e10
lea ecx, [ebp - 0x208c]
call fcn.0043cb70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20c0]
call fcn.0043be40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x208c]
call fcn.0043c920
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x207c]
call fcn.00406e10
jmp 0x43b65f
mov dword [ebp - 0x20c4], str.cfdblib.ini
mov dword [ebp - 0x20c8], str.DBInfo
mov dword [ebp - 0x20cc], 0
mov eax, dword [ebp - 0x20c4]
push eax
push 0
push str.AliasCount
mov ecx, dword [ebp - 0x20c8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x20cc], eax
mov dword [ebp - 0x28d0], 1
jmp 0x43b8ba
mov eax, dword [ebp - 0x28d0]
add eax, 1
mov dword [ebp - 0x28d0], eax
mov eax, dword [ebp - 0x28d0]
cmp eax, dword [ebp - 0x20cc]
ja 0x43bc6f
mov eax, dword [ebp - 0x28d0]
push eax
push str.AliasName_d
push 0x400
lea ecx, [ebp - 0x24cc]
push ecx
call fcn.0043bcb0
add esp, 0x10
mov eax, dword [ebp - 0x20c4]
push eax
push 0x400
lea ecx, [ebp - 0x28cc]
push ecx
push 0x48dd60
lea edx, [ebp - 0x24cc]
push edx
mov eax, dword [ebp - 0x20c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x28cc]
push eax
lea ecx, [ebp - 0x29d4]
call fcn.00406d80
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x29d4]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.0041e4d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x29d4]
call fcn.00406e10
mov eax, dword [ebp - 0x28d0]
push eax
push str.DBName_d
push 0x400
lea ecx, [ebp - 0x24cc]
push ecx
call fcn.0043bcb0
add esp, 0x10
mov eax, dword [ebp - 0x20c4]
push eax
push 0x400
lea ecx, [ebp - 0x28cc]
push ecx
push 0x48dd60
lea edx, [ebp - 0x24cc]
push edx
mov eax, dword [ebp - 0x20c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x28cc]
push eax
lea ecx, [ebp - 0x29b8]
call fcn.00406d80
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x29b8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x54
call fcn.0041e4d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x29b8]
call fcn.00406e10
mov eax, dword [ebp - 0x28d0]
push eax
push str.DBUser_d
push 0x400
lea ecx, [ebp - 0x24cc]
push ecx
call fcn.0043bcb0
add esp, 0x10
mov eax, dword [ebp - 0x20c4]
push eax
push 0x400
lea ecx, [ebp - 0x28cc]
push ecx
push 0x48dd60
lea edx, [ebp - 0x24cc]
push edx
mov eax, dword [ebp - 0x20c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x28cc]
push eax
lea ecx, [ebp - 0x299c]
call fcn.00406d80
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x299c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.0041e4d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x299c]
call fcn.00406e10
mov eax, dword [ebp - 0x28d0]
push eax
push str.DBPwd_d
push 0x400
lea ecx, [ebp - 0x24cc]
push ecx
call fcn.0043bcb0
add esp, 0x10
mov eax, dword [ebp - 0x20c4]
push eax
push 0x400
lea ecx, [ebp - 0x28cc]
push ecx
push 0x48dd60
lea edx, [ebp - 0x24cc]
push edx
mov eax, dword [ebp - 0x20c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x28cc]
push eax
lea ecx, [ebp - 0x2980]
call fcn.00406d80
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2980]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x74
call fcn.0041e4d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2980]
call fcn.00406e10
mov eax, dword [ebp - 0x28d0]
push eax
push str.DBSvr_d
push 0x400
lea ecx, [ebp - 0x24cc]
push ecx
call fcn.0043bcb0
add esp, 0x10
mov eax, dword [ebp - 0x20c4]
push eax
push 0x400
lea ecx, [ebp - 0x28cc]
push ecx
push 0x48dd60
lea edx, [ebp - 0x24cc]
push edx
mov eax, dword [ebp - 0x20c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x28cc]
push eax
lea ecx, [ebp - 0x2964]
call fcn.00406d80
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2964]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x84
call fcn.0041e4d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2964]
call fcn.00406e10
mov eax, dword [ebp - 0x28d0]
push eax
push str.DBPort_d
push 0x400
lea ecx, [ebp - 0x24cc]
push ecx
call fcn.0043bcb0
add esp, 0x10
mov eax, dword [ebp - 0x20c4]
push eax
push 0x400
lea ecx, [ebp - 0x28cc]
push ecx
push 0x48dd60
lea edx, [ebp - 0x24cc]
push edx
mov eax, dword [ebp - 0x20c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x28cc]
push eax
lea ecx, [ebp - 0x2948]
call fcn.00406d80
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2948]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x94
call fcn.0041e4d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2948]
call fcn.00406e10
mov eax, dword [ebp - 0x28d0]
push eax
push str.DBType_d
push 0x400
lea ecx, [ebp - 0x24cc]
push ecx
call fcn.0043bcb0
add esp, 0x10
mov eax, dword [ebp - 0x20c4]
push eax
push 0x400
lea ecx, [ebp - 0x28cc]
push ecx
push 0x48dd60
lea edx, [ebp - 0x24cc]
push edx
mov eax, dword [ebp - 0x20c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x28cc]
push eax
lea ecx, [ebp - 0x292c]
call fcn.00406d80
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x292c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xa4
call fcn.0041e4d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x292c]
call fcn.00406e10
jmp 0x43b8ab
push str.success
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.004211c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 4