Function at 0x100485a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x120
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x12c]
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
je 0x10048835
cmp byte [edi], bl
je 0x10048835
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
call fcn.1006ac60
add esp, 4
mov esi, eax
cmp dword [0x101b553c], ebx
je 0x1004874b
cmp esi, ebx
jne 0x10048736
mov ecx, dword [esp + 0x10]
push ecx
push edi
push ebp
push str.__s__eServINI___s___File_PRESENT___fsize___u_
push ebx
call fcn.1006ed90
add esp, 0x14
mov eax, dword [edi + 0x1a1c]
cmp eax, ebx
je 0x10048647
cmp dword [esp + 0x10], eax
jne 0x10048647
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 0x1a18]
jne 0x10048647
mov ecx, dword [esp + 0x14]
cmp ecx, dword [edi + 0x1a14]
je 0x1004881e
lea eax, [edi + 0x1a60]
mov dword [esp + 0x1c], eax
call fcn.100736f0
cmp dword [0x101b553c], ebx
je 0x1004866d
push ebp
push str.__s___Reading_Fresh_Values
push ebx
call fcn.1006ed90
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x104
lea edx, [edi + 0x104]
push edx
push 0x1014d5e3
push str.AdminEmailId
push str.Config
call esi
push edi
push 0x800
lea eax, [edi + 0x208]
push eax
push 0x1014d5e3
push str.EMailEventIds
push str.Config
call esi
push edi
push 0x1000
lea ecx, [edi + 0xa08]
push ecx
push 0x1014d5e3
push str.EMailEventIdsFromHosts
push str.Config
call esi
push edi
push 0x104
lea edx, [esp + 0x28]
push edx
push 0x1014d980
push str.EMailNotification
push str.Config
call esi
lea eax, [esp + 0x20]
push eax
call fcn.10128238
add esp, 4
push edi
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x1016036c
push str.SeparateEmailNotificationForEveryEvent
push str.Config
mov dword [edi + 0x1a08], eax
call esi
lea edx, [esp + 0x20]
push 0x1016036c
push edx
call fcn.10135887
add esp, 8
test eax, eax
jne 0x10048782
mov dword [edi + 0x1a0c], ebx
jmp 0x10048795
mov edx, dword [esp + 0x10]
push edx
push edi
push ebp
push str.__s__eServINI___s___File_ABSENT___fsize___u_
push ebx
call fcn.1006ed90
add esp, 0x14
cmp esi, ebx
je 0x1004861b
mov dword [edi + 0x1a1c], ebx
mov dword [edi + 0x1a08], ebx
mov dword [edi + 0x1a18], ebx
mov dword [edi + 0x1a14], ebx
mov byte [edi + 0x208], bl
mov byte [edi + 0xa08], bl
mov byte [edi + 0x104], bl
jmp 0x10048835
lea eax, [esp + 0x20]
push eax
call fcn.10128238
add esp, 4
mov dword [edi + 0x1a0c], eax
push edi
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x1016036c
push str.SimpleEMailNotification
push str.Config
call esi
lea edx, [esp + 0x20]
push 0x1016036c
push edx
call fcn.10135887
add esp, 8
test eax, eax
jne 0x100487cf
mov dword [edi + 0x1a10], ebx
jmp 0x100487e2
lea eax, [esp + 0x20]
push eax
call fcn.10128238
add esp, 4
mov dword [edi + 0x1a10], eax
cmp dword [0x101b553c], ebx
je 0x100487f1
mov esi, ebp
call fcn.100484a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [edi + 0x1a18], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x1a14], edx
mov edx, dword [ecx]
push edx
mov dword [edi + 0x1a1c], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x10048835
cmp dword [0x101b553c], ebx
je 0x10048835
push ebp
push str.__s___NO_CHANGE_eServ.INI
push ebx
call fcn.1006ed90
add esp, 0xc
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10127db1
add esp, 0x120
ret