Function at 0x10014420
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d7716
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x10263fdc]
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 eax, dword [ebp + 8]
xor ebx, ebx
test byte [0x10268890], 1
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], ecx
jne 0x1001449e
or dword [0x10268890], 1
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
mov ecx, 0x10268778
call esi
mov ecx, 0x10268804
mov byte [ebp - 4], 1
call esi
push 0x101d8be0
call fcn.101cebcb
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x218]
mov edi, 0x10268778
call fcn.10015f30
push str._login_queryLoginStatus
lea edx, [ebp - 0x188]
push edx
mov ecx, eax
mov dword [ebp - 4], 2
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString___thiscall_TCommon::TString::operator_wchar_t_const__]
mov ecx, esi
mov byte [ebp - 4], 4
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
test byte [0x10268890], 1
jne 0x10014511
or dword [0x10268890], 1
mov byte [ebp - 4], 5
mov ecx, edi
mov edi, dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
call edi
mov ecx, 0x10268804
mov byte [ebp - 4], 6
call edi
push 0x101d8be0
call fcn.101cebcb
add esp, 4
mov byte [ebp - 4], 4
jmp 0x10014517
mov edi, dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
mov ecx, 0x10268778
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
push ebx
push str.SCAppID
push str.SCSign
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0xf8]
mov esi, eax
call edi
mov ecx, dword [ebp - 0x21c]
push esi
mov byte [ebp - 4], 7
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::GetUnicode_void_]
push eax
lea eax, [ebp - 0xf8]
push str.objectId_shospitalId_d
push eax
call dword [sym.imp.szutils.dll_public:_int___cdecl_TCommon::TString::Format_wchar_t_const__]
mov edi, 0xf
add esp, 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 8
call dword [sym.imp.szutils.dll_public:_char_const____thiscall_TCommon::TString::GetUTF8_void_]
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x10014593
sub ecx, edi
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.100031c0
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 9
call dword [sym.imp.szutils.dll_public:_char_const____thiscall_TCommon::TString::GetAnsi_void_]
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x100145d0
sub ecx, edi
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.100031c0
lea ecx, [ebp - 0x2c]
push ecx
push 1
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x48]
call fcn.10001020
mov edi, 0x10
add esp, 8
mov esi, eax
cmp dword [ebp - 0x34], edi
jb 0x10014610
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov byte [ebp - 4], 8
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0x10014633
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp esi, ebx
je 0x1001468e
cmp dword [ebp - 0x18], edi
jb 0x10014656
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call esi
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 0x2711
jmp 0x10014729
mov edx, dword [ebp - 0x220]
lea ecx, [ebp - 0x2c]
call fcn.10013950
test al, al
jne 0x100146e7
cmp dword [ebp - 0x18], edi
jb 0x100146b2
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call esi
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 0x2712
jmp 0x10014729
cmp dword [ebp - 0x18], edi
jb 0x100146f9
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call esi
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 0xffffffff
call esi
xor eax, eax
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.101ce9e2
mov esp, ebp
pop ebp
ret