Function at 0x515c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
xor ebp, ebp
cmp ecx, ebp
je 0x515c9a
call fcn.00515b10
cmp dword [edi + 0xc], ebp
mov dword [edi + 8], ebp
je 0x515cc5
push str.CRegionManager::Read
push 0x10c
push str.Region.cpp
call fcn.004bdd70
mov eax, dword [edi + 0xc]
push eax
call fcn.004be3b0
add esp, 0x10
mov dword [edi + 0xc], ebp
mov esi, dword [esp + 0x22c]
lea ecx, [esp + 0x1c]
push ecx
push 0x5db08c
push esi
mov dword [edi], ebp
call fcn.004c0e10
mov eax, dword [esp + 0x28]
add esp, 0xc
xor ebx, ebx
cmp eax, ebp
jle 0x515f0b
nop
lea edx, [esp + 0x124]
push edx
push 0x5daa04
push esi
call fcn.004c0e10
lea eax, [esp + 0xf0]
push eax
push ebp
push esi
call fcn.004c4580
lea ecx, [esp + 0xfc]
push ecx
call fcn.004c0cd0
lea edx, [esp + 0xac]
push edx
push 0x5eb81c
push esi
mov dword [esp + 0xbc], eax
call fcn.004c0e10
mov eax, dword [esp + 0xb8]
add esp, 0x28
sub eax, ebp
je 0x515dad
dec eax
jne 0x515eef
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push str._f_f_f_f
push esi
call fcn.004c0e10
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x5c]
add esp, 0x18
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
jmp 0x515eef
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push str._f_f_f
push esi
call fcn.004c0e10
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x8c], edx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x34]
push ecx
push str._f_f_f
push esi
call fcn.004c0e10
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x88], edx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x48]
push ecx
push str._f_f_f
push esi
call fcn.004c0e10
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], edx
mov dword [esp + 0xa8], edx
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0x5c]
push ecx
push str._f_f_f
push esi
call fcn.004c0e10
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
add esp, 0x50
mov dword [esp + 0x54], edx
mov dword [esp + 0x84], edx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x90], ecx
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0xa8]
call fcn.00530310
lea eax, [esp + 0x90]
push eax
mov ecx, edi
call fcn.00515a50
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x515cf0
lea ecx, [esp + 0x124]
push ecx
push 0x5daa04
push esi
call fcn.004c0e10
add esp, 0xc
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x218
ret 8