Function at 0x410b84
Capabilities:
Read .ini file
Read file via mapping

Disassembly:
push 0x388
mov eax, 0x46bb9c
call fcn.004517f7
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x380]
mov dword [ebp - 4], 1
call fcn.0040283c
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x410c93
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x378]
call fcn.00402773
mov byte [ebp - 4], 3
push dword [ebp + 8]
lea eax, [ebp - 0x378]
push str.GlobalEs_EventInfo__s
push eax
call fcn.0040314f
xor eax, eax
push 0xc4
mov word [ebp - 0xdc], ax
lea eax, [ebp - 0xda]
push ebx
push eax
call fcn.0044de40
mov edi, dword [ebp - 0x378]
add esp, 0x18
push edi
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x38c], eax
cmp eax, ebx
jne 0x410c34
lea ecx, [edi - 0x10]
call fcn.0040285d
mov ecx, dword [ebp - 0x380]
add ecx, 0xfffffff0
jmp 0x410e9a
mov esi, 0xc6
push esi
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x388], eax
cmp eax, ebx
je 0x410c7b
push esi
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.0044df20
add esp, 0xc
lea eax, [ebp - 0x56]
push eax
lea ecx, [ebp - 0x380]
call fcn.00402f6c
push dword [ebp - 0x388]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x38c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 2
call fcn.0040285d
mov edi, dword [ebp - 0x380]
push edi
call fcn.0040cbc6
pop ecx
test al, al
je 0x410e97
lea esi, [ebp - 0x374]
call fcn.0040318a
push 0x12c
lea eax, [ebp - 0x20c]
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.0044de40
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x178]
push 0x21
push eax
call fcn.0044e359
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push 8
push eax
call fcn.0044e359
add esp, 0x2c
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
mov dword [ebp - 0x20c], 1
call fcn.004033d1
test al, al
je 0x410e88
push 0xf1b4
call fcn.0042a554
mov esi, eax
pop ecx
mov dword [ebp - 0x388], esi
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x38c]
call fcn.00402773
mov byte [ebp - 4], 5
mov dword [ebp - 0x378], ebx
mov dword [ebp - 0x37c], 0xc9
mov dword [ebp - 0x384], esi
push dword [ebp - 0x37c]
lea eax, [ebp - 0x38c]
push 0x477a1c
push eax
call fcn.0040314f
add esp, 0xc
or ebx, 0xffffffff
cmp dword [ebp - 0x37c], 0xc9
jne 0x410d7c
mov ebx, 0x2bd
lea edi, [ebp - 0x394]
call fcn.00408353
mov esi, eax
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x390]
push str.DCEX.
push eax
mov byte [ebp - 4], 6
call fcn.004069c6
mov esi, dword [esi]
mov edi, dword [ebp - 0x38c]
mov eax, dword [eax]
add esp, 0xc
push esi
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x390]
test eax, eax
setg bl
add ecx, 0xfffffff0
call fcn.0040285d
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x394]
add ecx, 0xfffffff0
call fcn.0040285d
test bl, bl
je 0x410e2b
mov esi, 0x7cc
push esi
push 0
push dword [ebp - 0x384]
call fcn.0044de40
mov ecx, dword [ebp - 0x384]
mov eax, dword [ebp - 0x37c]
push 0xffffffffffffffff
push 0x4778d0
add eax, 0xffffff38
push 0x20
push ecx
mov word [ecx + 0x40], ax
call fcn.0044e359
add esp, 0x1c
inc dword [ebp - 0x378]
add dword [ebp - 0x384], esi
inc dword [ebp - 0x37c]
cmp dword [ebp - 0x37c], 0xe6
jle 0x410d4e
cmp byte [ebp + 0x10], 0
je 0x410e4e
and dword [ebp - 0x378], 0
push 0
push dword [ebp - 0x378]
lea esi, [ebp - 0x374]
push dword [ebp - 0x388]
call fcn.0040380c
mov ecx, esi
call fcn.00403384
push dword [ebp - 0x388]
call fcn.0042a55f
pop ecx
lea ecx, [edi - 0x10]
call fcn.0040285d
mov edi, dword [ebp - 0x380]
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 2
call fcn.00403358
lea ecx, [edi - 0x10]
call fcn.0040285d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
call fcn.0045187a
ret 0xc