Function at 0x4b99a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5119f2
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x55f43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x16c], ecx
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 0
mov dword [ebp - 0x158], 0x40
mov byte [ebp - 0x54], 0
push 0x3f
push 0
lea eax, [ebp - 0x53]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x40
lea ecx, [ebp - 0x54]
push ecx
push 0x53a589
push 0x53a780
push 0x53a78c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_7832]
push 0x53a798
lea eax, [ebp - 0x15c]
push eax
call fcn.004625f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4b9a6f
mov edx, dword [ebp + 8]
mov dword [edx], 1
jmp 0x4b9b1c
push 0x53a79c
lea eax, [ebp - 0x15c]
push eax
call fcn.004625f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4b9a98
mov edx, dword [ebp + 8]
mov dword [edx], 2
jmp 0x4b9b1c
push str.tcpclient
lea eax, [ebp - 0x15c]
push eax
call fcn.004625f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4b9b13
mov edx, dword [ebp + 8]
mov dword [edx], 3
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x28
mov eax, dword [ebp + 8]
add eax, 0x118
push eax
push 0x53a7ac
push 0x53a7b0
push 0x53a7bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x53a7c8
push 0x53a7d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
jmp 0x4b9b1c
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x53a7e0
push 0x53a7f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10c], eax
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x53a7fc
push 0x53a814
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x114], eax
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x14
lea eax, [ebp - 0x54]
push eax
push 0x53a58a
push 0x53a820
push 0x53a82c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x174], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x174]
push eax
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_7832]
push str.diag
lea ecx, [ebp - 0x15c]
push ecx
call fcn.004625f0
add esp, 8
movzx edx, al
test edx, edx
je 0x4b9c10
mov eax, dword [ebp + 8]
mov dword [eax + 4], 1
jmp 0x4b9c41
push str.string
lea ecx, [ebp - 0x15c]
push ecx
call fcn.004625f0
add esp, 8
movzx edx, al
test edx, edx
je 0x4b9c37
mov eax, dword [ebp + 8]
mov dword [eax + 4], 2
jmp 0x4b9c41
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x53a848
push 0x53a858
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x144], eax
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x53a864
push 0x53a874
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x148], eax
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x53a880
push 0x53a898
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14c], eax
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x14
lea eax, [ebp - 0x54]
push eax
push 0x53a58b
push 0x53a8a4
push 0x53a8b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x164]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_7832]
push str.failstop
lea ecx, [ebp - 0x15c]
push ecx
call fcn.004625f0
add esp, 8
movzx edx, al
test edx, edx
je 0x4b9d60
mov eax, dword [ebp + 8]
mov dword [eax + 0x150], 1
jmp 0x4b9dc1
push str.failcontinue
lea ecx, [ebp - 0x15c]
push ecx
call fcn.004625f0
add esp, 8
movzx edx, al
test edx, edx
je 0x4b9d8a
mov eax, dword [ebp + 8]
mov dword [eax + 0x150], 2
jmp 0x4b9dc1
push str.failask
lea ecx, [ebp - 0x15c]
push ecx
call fcn.004625f0
add esp, 8
movzx edx, al
test edx, edx
je 0x4b9db4
mov eax, dword [ebp + 8]
mov dword [eax + 0x150], 3
jmp 0x4b9dc1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x150], 0
mov byte [ebp - 0x154], 0
push 0xff
push 0
lea edx, [ebp - 0x153]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x100
lea eax, [ebp - 0x154]
push eax
push 0x53a595
push 0x53a8e4
push 0x53a8fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x154]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x19c
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x100
lea edx, [ebp - 0x54]
push edx
push 0x53a596
push 0x53a908
push 0x53a920
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1a0
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x100
lea ecx, [ebp - 0x54]
push ecx
push 0x53a597
push 0x53a92c
push 0x53a940
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1a4
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x100
lea eax, [ebp - 0x54]
push eax
push 0x53a5a6
push 0x53a94c
push 0x53a960
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x1a8
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov edx, dword [ebp + 8]
add edx, 0x1a8
push edx
push 0x53a5a7
call fcn.00458560
add esp, 8
movzx eax, al
test eax, eax
je 0x4b9f0e
push str.ASR_DIAG_USB_Device
mov ecx, dword [ebp + 8]
add ecx, 0x1a8
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x100
lea ecx, [ebp - 0x54]
push ecx
push 0x53a5b5
push 0x53a980
push 0x53a998
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x184]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x1ac
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov edx, dword [ebp + 8]
add edx, 0x1ac
push edx
push 0x53a5b6
call fcn.00458560
add esp, 8
movzx eax, al
test eax, eax
je 0x4b9fb7
push str.mdiagusb
mov ecx, dword [ebp + 8]
add ecx, 0x1ac
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x100
lea ecx, [ebp - 0x54]
push ecx
push 0x53a5b7
push 0x53a9b0
push 0x53a9bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1b0], eax
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 1
push str.isDeleteIcl
push 0x53a9d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1b4], eax
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0xc8
push str.HoldIclLogFilesCount
push 0x53a9f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1b8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00501b98
mov esp, ebp
pop ebp
ret 4