Function at 0x10013a70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d77e5
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
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
test byte [0x10268890], 1
mov ebx, dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
jne 0x10013ae1
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 - 0x220]
mov edi, 0x10268778
call fcn.10015f30
push str._rpc_user_getToken
lea ecx, [ebp - 0x100]
push ecx
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 0x10013b4c
or dword [0x10268890], 1
mov ecx, edi
mov byte [ebp - 4], 5
call ebx
mov ecx, 0x10268804
mov byte [ebp - 4], 6
call ebx
push 0x101d8be0
call fcn.101cebcb
add esp, 4
mov byte [ebp - 4], 4
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]
test byte [0x10268890], 1
mov dword [ebp - 0x244], eax
jne 0x10013ba7
or dword [0x10268890], 1
mov ecx, 0x10268778
mov byte [ebp - 4], 7
call ebx
mov ecx, 0x10268804
mov byte [ebp - 4], 8
call ebx
push 0x101d8be0
call fcn.101cebcb
add esp, 4
mov byte [ebp - 4], 4
lea esi, [ebp - 0x190]
mov edi, 0x10268778
call fcn.10015fd0
xor edi, edi
push edi
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 9
call fcn.10028070
mov edx, dword [ebp - 0x244]
mov bl, 0xa
push edx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.10027030
lea eax, [ebp - 0x48]
push eax
push str.hospitalId
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xb
call fcn.1002b110
mov ecx, eax
call fcn.1002ab40
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.100283b0
mov ecx, esi
mov esi, dword [sym.imp.szutils.dll_public:_char_const____thiscall_TCommon::TString::GetAnsi_void_]
call esi
push eax
lea ecx, [ebp - 0x48]
call fcn.10028920
lea ecx, [ebp - 0x48]
push ecx
push str.tockenSecret
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xc
call fcn.1002b110
mov ecx, eax
call fcn.1002ab40
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.100283b0
mov ebx, 0xf
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xd
call esi
mov ecx, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x50], 0
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10013c70
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100031c0
lea edx, [ebp - 0x240]
push edx
lea edi, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.10013660
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
push 0
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.10001020
mov edi, 0x10
add esp, 8
mov esi, eax
cmp dword [ebp - 0x58], edi
jb 0x10013cc5
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
cmp dword [ebp - 0x3c], edi
jb 0x10013ce9
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
test esi, esi
je 0x10013d55
cmp dword [ebp - 0x18], edi
jb 0x10013d0d
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 9
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 - 0x190]
call esi
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 0x2711
jmp 0x10013ee2
push 0
lea ecx, [ebp - 0x230]
call fcn.10028070
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10013950
lea ecx, [ebp - 0x230]
test al, al
jne 0x10013de0
mov byte [ebp - 4], 0xd
call fcn.100283b0
cmp dword [ebp - 0x18], edi
jb 0x10013d98
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 9
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 - 0x190]
call esi
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 0x2712
jmp 0x10013ee2
push str.code
call fcn.1002b110
mov ecx, eax
call fcn.10026b30
lea ecx, [ebp - 0x230]
test al, al
je 0x10013e0f
mov byte [ebp - 4], 0xd
call fcn.100283b0
cmp dword [ebp - 0x18], edi
jb 0x10013d98
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x10013d8f
push str.code
call fcn.1002b110
mov ecx, eax
call fcn.10028c80
mov esi, eax
lea ecx, [ebp - 0x230]
test esi, esi
je 0x10013e71
mov byte [ebp - 4], 0xd
call fcn.100283b0
lea ecx, [ebp - 0x2c]
call fcn.10003000
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 9
call fcn.100283b0
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0x190]
call edi
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0xffffffff
call edi
mov eax, esi
jmp 0x10013ee2
push str.result
call fcn.1002b110
mov ecx, eax
call fcn.100289a0
push eax
mov ecx, 0x10268638
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString_const____thiscall_TCommon::TString::operator_char_const__]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x230]
mov dword [0x10268380], eax
mov byte [ebp - 4], 0xd
call fcn.100283b0
lea ecx, [ebp - 0x2c]
call fcn.10003000
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 9
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 - 0x190]
call esi
lea ecx, [ebp - 0x100]
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