Function at 0x424050
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x439279
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0xc], ebp
call fcn.0041e8d0
lea eax, [esp + 0x14]
xor ebx, ebx
push 0x104
push eax
push ebx
mov dword [esp + 0x334], ebx
mov dword [ebp], 0x43c4f8
mov dword [ebp + 0x60], 0x43c4f4
mov dword [ebp + 0x240], 0x43c4f0
mov dword [ebp + 0x420], 0x43c4ec
mov dword [ebp + 0x430], 0x43c4e8
mov dword [ebp + 0x440], 0x43c4e4
mov dword [ebp + 0x450], 0x43c4e0
mov dword [ebp + 0x460], 0x43c4dc
mov dword [ebp + 0x608], ebx
mov dword [ebp + 0x604], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x424295
lea ecx, [esp + 0x14]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
cmp eax, ebx
je 0x424295
push edi
mov byte [eax + 1], bl
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x11c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.DicomLib.ini
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x11c]
mov ecx, edx
push eax
and ecx, 3
push 0x258
push str.Timeout
rep movsb byte es:[edi], byte [esi]
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [ebp + 0x52c]
call fcn.00426070
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x220]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x220]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.DCMDict.HLB
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.DCMDict.HL
or ecx, 0xffffffff
push 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x32c], 1
pop edi
je 0x42423d
push ebx
push 1
mov ecx, eax
call fcn.00428340
mov esi, eax
jmp 0x42423f
xor esi, esi
lea eax, [esp + 0x21c]
mov ecx, esi
push eax
mov byte [esp + 0x32c], bl
call fcn.004289f0
test eax, eax
je 0x424265
push 1
push esi
mov ecx, ebp
call fcn.0041edd0
jmp 0x424295
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004283d0
test eax, eax
je 0x424281
push 1
push esi
mov ecx, ebp
call fcn.0041edd0
jmp 0x424295
cmp esi, ebx
je 0x424295
mov ecx, esi
call fcn.00428370
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x320]
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x320
ret