Function at 0x10052c40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x100c6040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100babb8
push str.DataCustomEventEntry.txt
call fcn.1008f91a
add esp, 8
test eax, eax
je 0x100531bc
push ebx
push esi
push edi
push eax
call fcn.1008fb8f
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 4
mov edi, 1
mov dword [ebp - 0x88], 6
xor ebx, ebx
push edi
lea eax, [ebp - 0x84]
push str.DS_dLevelMin_Normal
push eax
call fcn.10011430
add esp, 0xc
lea eax, [ebp - 0x84]
push str.DataCustomEventEntry.txt
push 0
push eax
push str.DevilSquare
call esi
push edi
mov dword [ebx + 0x1086b594], eax
lea eax, [ebp - 0x84]
push str.DS_dLevelMax_Normal
push eax
call fcn.10011430
add esp, 0xc
lea eax, [ebp - 0x84]
push str.DataCustomEventEntry.txt
push 0
push eax
push str.DevilSquare
call esi
push edi
mov dword [ebx + 0x1086b598], eax
lea eax, [ebp - 0x84]
push str.DS_dLevelMin_MGDLRF
push eax
call fcn.10011430
add esp, 0xc
lea eax, [ebp - 0x84]
push str.DataCustomEventEntry.txt
push 0
push eax
push str.DevilSquare
call esi
push edi
mov dword [ebx + 0x1086b5c4], eax
lea eax, [ebp - 0x84]
push str.DS_dLevelMax_MGDLRF
push eax
call fcn.10011430
add esp, 0xc
lea eax, [ebp - 0x84]
push str.DataCustomEventEntry.txt
push 0
push eax
push str.DevilSquare
call esi
inc edi
mov dword [ebx + 0x1086b5c8], eax
sub dword [ebp - 0x88], 1
lea ebx, [ebx + 8]
jne 0x10052c90
mov eax, dword [0x1086b594]
mov dword [0x80b1ad], eax
mov eax, dword [0x1086b598]
mov dword [0x80b1ba], eax
mov eax, dword [0x1086b59c]
mov dword [0x80b1c7], eax
mov eax, dword [0x1086b5a0]
mov dword [0x80b1d4], eax
mov eax, dword [0x1086b5a4]
mov dword [0x80b1e1], eax
mov eax, dword [0x1086b5a8]
mov dword [0x80b1ee], eax
mov eax, dword [0x1086b5ac]
mov dword [0x80b1fb], eax
mov eax, dword [0x1086b5b0]
mov dword [0x80b208], eax
mov eax, dword [0x1086b5b4]
mov dword [0x80b215], eax
mov eax, dword [0x1086b5b8]
mov dword [0x80b222], eax
mov eax, dword [0x1086b5bc]
mov dword [0x80b22f], eax
mov eax, dword [0x1086b5c0]
mov dword [0x80b23c], eax
mov eax, dword [0x1086b5c4]
mov dword [0x80b25d], eax
mov eax, dword [0x1086b5c8]
mov dword [0x80b26a], eax
mov eax, dword [0x1086b5cc]
mov dword [0x80b277], eax
mov eax, dword [0x1086b5d0]
mov dword [0x80b284], eax
mov eax, dword [0x1086b5d4]
mov dword [0x80b291], eax
mov eax, dword [0x1086b5d8]
mov dword [0x80b29e], eax
mov eax, dword [0x1086b5dc]
mov dword [0x80b2ab], eax
mov eax, dword [0x1086b5e0]
mov dword [0x80b2b8], eax
mov eax, dword [0x1086b5e4]
mov dword [0x80b2c5], eax
mov eax, dword [0x1086b5e8]
mov dword [0x80b2d2], eax
mov eax, dword [0x1086b5ec]
push 0x10053280
mov dword [0x80b2df], eax
mov eax, dword [0x1086b5f0]
push 0x80bc74
push 0xe9
mov dword [0x80b2ec], eax
call fcn.10085ba0
push 0x100babb8
push str.DataCustomEventEntry.txt
call fcn.1008f91a
add esp, 0x14
test eax, eax
je 0x100531c6
push eax
call fcn.1008fb8f
add esp, 4
mov dword [ebp - 0x88], 7
mov edi, 1
xor ebx, ebx
nop dword [eax]
push edi
lea eax, [ebp - 0x84]
push str.BC_dLevelMin_Normal
push eax
call fcn.10011430
add esp, 0xc
lea eax, [ebp - 0x84]
push str.DataCustomEventEntry.txt
push 0
push eax
push str.BloodCastle
call esi
push edi
mov dword [ebx + 0x1086b524], eax
lea eax, [ebp - 0x84]
push str.BC_dLevelMax_Normal
push eax
call fcn.10011430
add esp, 0xc
lea eax, [ebp - 0x84]
push str.DataCustomEventEntry.txt
push 0
push eax
push str.BloodCastle
call esi
push edi
mov dword [ebx + 0x1086b528], eax
lea eax, [ebp - 0x84]
push str.BC_dLevelMin_MGDLRF
push eax
call fcn.10011430
add esp, 0xc
lea eax, [ebp - 0x84]
push str.DataCustomEventEntry.txt
push 0
push eax
push str.BloodCastle
call esi
push edi
mov dword [ebx + 0x1086b55c], eax
lea eax, [ebp - 0x84]
push str.BC_dLevelMax_MGDLRF
push eax
call fcn.10011430
add esp, 0xc
lea eax, [ebp - 0x84]
push str.DataCustomEventEntry.txt
push 0
push eax
push str.BloodCastle
call esi
inc edi
mov dword [ebx + 0x1086b560], eax
sub dword [ebp - 0x88], 1
lea ebx, [ebx + 8]
jne 0x10052ea0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x88]
push eax
push 0x40
push 0x17d
push 0x807c1a
call esi
mov eax, dword [0x1086b524]
mov dword [0x807c1a], eax
mov eax, dword [0x1086b528]
mov dword [0x807c27], eax
mov eax, dword [0x1086b52c]
mov dword [0x807c34], eax
mov eax, dword [0x1086b530]
mov dword [0x807c41], eax
mov eax, dword [0x1086b534]
mov dword [0x807c4e], eax
mov eax, dword [0x1086b538]
mov dword [0x807c5b], eax
mov eax, dword [0x1086b53c]
mov dword [0x807c68], eax
mov eax, dword [0x1086b540]
mov dword [0x807c75], eax
mov eax, dword [0x1086b544]
mov dword [0x807c82], eax
mov eax, dword [0x1086b548]
mov dword [0x807c8f], eax
mov eax, dword [0x1086b54c]
mov dword [0x807c9c], eax
mov eax, dword [0x1086b550]
mov dword [0x807ca9], eax
mov eax, dword [0x1086b554]
mov dword [0x807cb6], eax
mov eax, dword [0x1086b558]
mov dword [0x807cc3], eax
mov eax, dword [0x1086b55c]
mov dword [0x807ce4], eax
mov eax, dword [0x1086b560]
mov dword [0x807cf1], eax
mov eax, dword [0x1086b564]
mov dword [0x807cfe], eax
mov eax, dword [0x1086b568]
mov dword [0x807d0b], eax
mov eax, dword [0x1086b56c]
mov dword [0x807d18], eax
mov eax, dword [0x1086b570]
mov dword [0x807d25], eax
mov eax, dword [0x1086b574]
mov dword [0x807d32], eax
mov eax, dword [0x1086b578]
mov dword [0x807d3f], eax
mov eax, dword [0x1086b57c]
mov dword [0x807d4c], eax
mov eax, dword [0x1086b580]
mov dword [0x807d59], eax
mov eax, dword [0x1086b584]
mov dword [0x807d66], eax
mov eax, dword [0x1086b588]
mov dword [0x807d73], eax
mov eax, dword [0x1086b58c]
push 0x100531e0
mov dword [0x807d80], eax
mov eax, dword [0x1086b590]
push 0x9b28b3
push 0xe9
mov dword [0x807d8d], eax
call fcn.10085ba0
add esp, 0xc
cmp dword [0x1028adcc], 0
je 0x10053180
push 0x10052bd0
push 0x9b265a
push 0xe8
call fcn.10085ba0
push 0x10052bd0
push 0x9b265a
push 0xe8
call fcn.10085ba0
add esp, 0x18
lea eax, [ebp - 0x88]
push eax
push 0x40
push 1
push 0x80b355
call esi
lea eax, [ebp - 0x88]
mov byte [0x80b355], 6
push eax
push dword [ebp - 0x88]
push 1
push 0x80b355
call esi
lea eax, [ebp - 0x88]
push eax
push 0x40
push 1
push 0x80b450
call esi
lea eax, [ebp - 0x88]
mov byte [0x80b450], 6
push eax
push dword [ebp - 0x88]
push 1
push 0x80b450
call esi
lea eax, [ebp - 0x88]
push eax
push 0x40
push 1
push 0x80b57d
call esi
lea eax, [ebp - 0x88]
mov byte [0x80b57d], 6
push eax
push dword [ebp - 0x88]
push 1
push 0x80b57d
call esi
push 0x10052be0
push 0x9b22c0
push 0xe8
call fcn.10085ba0
push 0x10052be0
push 0x9b232e
push 0xe8
call fcn.10085ba0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008c0ce
mov esp, ebp
pop ebp
ret
push str.EventEntry.txt_not_found_
call fcn.10085d30
push str.EventEntry.txt_not_found_
call fcn.10085d30
int3