Function at 0x10014aa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d75e1
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x10263fdc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x10268890], 1
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], ecx
jne 0x10014b38
or dword [0x10268890], 1
mov ecx, 0x10268778
mov dword [ebp - 4], 0
call ebx
mov ecx, 0x10268804
mov byte [ebp - 4], 1
call ebx
push 0x101d8be0
call fcn.101cebcb
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x21c]
mov edi, 0x10268778
call fcn.10015f30
push str._companyRPC_dataSign
lea edx, [ebp - 0x18c]
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_]
mov eax, dword [ebp - 0x238]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0xfc]
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
mov byte [ebp - 4], 5
test byte [0x10268890], 1
jne 0x10014bbc
or dword [0x10268890], 1
mov ecx, edi
mov byte [ebp - 4], 6
call ebx
mov ecx, 0x10268804
mov byte [ebp - 4], 7
call ebx
push 0x101d8be0
call fcn.101cebcb
add esp, 4
mov byte [ebp - 4], 5
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 0
push str.SCAppID
push str.SCSign
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
lea ecx, [ebp - 0x22c]
mov esi, eax
call fcn.10028070
mov bl, 8
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10027030
lea ecx, [ebp - 0x2c]
push ecx
push str.hospitalId
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 9
call fcn.1002b110
mov ecx, eax
call fcn.1002ab40
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.100283b0
mov edx, dword [ebp - 0x240]
push edx
lea ecx, [ebp - 0x2c]
call fcn.10027030
lea eax, [ebp - 0x2c]
push eax
push str.certType
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0xa
call fcn.1002b110
mov ecx, eax
call fcn.1002ab40
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.100283b0
mov ecx, dword [ebp - 0x234]
mov esi, dword [sym.imp.szutils.dll_public:_char_const____thiscall_TCommon::TString::GetAnsi_void_]
call esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.10028920
lea ecx, [ebp - 0x2c]
push ecx
push str.certId
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0xb
call fcn.1002b110
mov ecx, eax
call fcn.1002ab40
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.100283b0
mov ecx, dword [ebp - 0x23c]
call esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.10028920
lea edx, [ebp - 0x2c]
push edx
push str.token
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0xc
call fcn.1002b110
mov ecx, eax
call fcn.1002ab40
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.100283b0
push 0x1024f954
lea ecx, [ebp - 0x2c]
call fcn.10028920
lea eax, [ebp - 0x2c]
push eax
push str.fileName
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0xd
call fcn.1002b110
mov ecx, eax
call fcn.1002ab40
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.100283b0
lea ecx, [ebp - 0xfc]
call esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.10028920
lea ecx, [ebp - 0x2c]
push ecx
push str.data
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0xe
call fcn.1002b110
mov ecx, eax
call fcn.1002ab40
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.100283b0
mov ebx, 0xf
xor edi, edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x50], 0
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], bl
call esi
mov ecx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x34], 0
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10014d73
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.100031c0
lea edx, [ebp - 0x22c]
push edx
lea edi, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.10013660
add esp, 4
lea ecx, [ebp - 0x50]
push ecx
push 0
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.10001020
mov edi, 0x10
add esp, 8
mov esi, eax
cmp dword [ebp - 0x58], edi
jb 0x10014dc8
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
cmp dword [ebp - 0x20], edi
jb 0x10014deb
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
test esi, esi
je 0x10014e57
cmp dword [ebp - 0x3c], edi
jb 0x10014e0f
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 5
call fcn.100283b0
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0xfc]
call esi
lea ecx, [ebp - 0x18c]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 0x2711
jmp 0x10014f12
mov edx, dword [ebp - 0x230]
lea ecx, [ebp - 0x50]
call fcn.10013950
test al, al
jne 0x10014ec0
cmp dword [ebp - 0x3c], edi
jb 0x10014e7b
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 5
call fcn.100283b0
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0xfc]
call esi
lea ecx, [ebp - 0x18c]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 0x2712
jmp 0x10014f12
cmp dword [ebp - 0x3c], edi
jb 0x10014ed2
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 5
call fcn.100283b0
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0xfc]
call esi
lea ecx, [ebp - 0x18c]
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 - 0x14]
xor ecx, ebp
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret