Function at 0x40d470
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59a708
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
mov eax, dword [ebp + 0x80]
push edi
push edi
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x635490]
push edi
push edi
push str.select__from__T_Carrier__order_by__carrier_code__ASC
push str.BASEDATA
call fcn.0058fa20
mov esi, eax
cmp esi, edi
jne 0x40d5a3
mov eax, dword [0x635490]
cmp eax, edi
je 0x40d52c
mov cl, byte [eax + 0x40]
test cl, cl
je 0x40d52c
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
push 0x602d64
push 0x601774
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x635490]
push str.runtime
push 0x601760
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x602d64
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x38], edi
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x601774
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x3c], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x40], 2
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x60175c
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63006c]
mov dword [esp + 0x40], 0xffffffff
call fcn.00458d40
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
mov byte [esp + 0x30], 4
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x40d65d
add ebp, 0x60
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 0x601170
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea ecx, [esp + 0x10]
push ecx
push str.carrier_code
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0xc]
mov ecx, esi
push edx
push str.carrier_name
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push eax
push edi
push 1
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::InsertItem
mov ecx, dword [esp + 0xc]
push ecx
push 1
push edi
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x14]
mov ecx, ebp
push edx
push 0
push 0
push 0
push 0
push 4
push 0
push edi
call sub.MFC42.DLL_CListCtrl::SetItem
mov ecx, esi
inc edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x40d5d4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x28
ret