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

Disassembly:
sub esp, 0xd8
push ebx
push esi
push 0x51e29c
push str.regions.mul
call fcn.004a61a0
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
jne 0x4d119d
push str.regions.mul
push str.RegionManager::readRegionsIntoMemory:_cannot_open_file__s._n
call fcn.004de1c0
add esp, 8
pop esi
pop ebx
add esp, 0xd8
ret
push str.RegionManager::readRegionsIntoMemory:____._n
call fcn.004de1c0
push esi
push 1
lea eax, [esp + 0x14]
push 2
push eax
mov dword [esp + 0x1c], ebx
call fcn.004a67b0
add esp, 0x14
cmp eax, 1
je 0x4d11d4
push esi
call fcn.004a6830
add esp, 4
pop esi
pop ebx
add esp, 0xd8
ret
mov eax, dword [esp + 8]
push ebp
cmp ax, 0xface
push edi
jae 0x4d14a3
push ebx
push ebx
push esi
call fcn.004a6750
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x5a]
add esp, 0xc
rep stosd dword es:[edi], eax
mov word [esp + 0x78], bx
mov word [esp + 0x76], bx
mov byte [esp + 0x7a], bl
xor ebp, ebp
push esi
push 1
lea ecx, [esp + 0x88]
push 0x28
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0xb0]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0xb2]
push 2
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0xb4]
push 2
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0xb6]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0xb8]
push 2
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0xba]
push 2
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0xbc]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0xc0]
push 4
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
lea ecx, [esp + 0x80]
push 0x28
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.004ee660
mov ax, word [esp + 0xb6]
mov cx, word [esp + 0xb8]
mov dx, word [esp + 0xba]
mov word [esp + 0x4a], ax
mov ax, word [esp + 0xbc]
mov word [esp + 0x4c], cx
mov cx, word [esp + 0xbe]
mov word [esp + 0x50], ax
movsx eax, word [esp + 0x48]
mov word [esp + 0x4e], dx
mov dx, word [esp + 0xc0]
mov eax, dword [eax*4 + 0xd01344]
add esp, 0xc
cmp eax, ebx
mov word [esp + 0x46], cx
mov word [esp + 0x48], dx
je 0x4d1390
push eax
call fcn.004ed4d0
add esp, 4
push 0x66
call fcn.004ed8ee
mov edx, eax
add esp, 4
cmp edx, ebx
je 0x4d13e4
mov ecx, 0xa
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [edx + 0x34]
mov word [edx + 0x2a], bx
mov word [edx + 0x28], bx
mov word [edx + 0x2e], bx
mov word [edx + 0x2c], bx
mov word [edx + 0x32], bx
mov word [edx + 0x30], bx
rep stosd dword es:[edi], eax
mov word [edx + 0x60], bx
mov word [edx + 0x5e], bx
mov word [edx + 0x5c], bx
mov byte [edx + 0x62], bl
mov word [edx + 0x64], bx
mov edi, edx
jmp 0x4d13e6
xor edi, edi
movsx ecx, word [esp + 0x3c]
lea edx, [esp + 0x14]
push 0x28
push edx
push edi
mov dword [ecx*4 + 0xd01344], edi
call fcn.004ee660
mov ax, word [esp + 0x4a]
push 0x28
mov word [edi + 0x28], ax
mov cx, word [esp + 0x50]
mov word [edi + 0x2a], cx
mov dx, word [esp + 0x52]
mov word [edi + 0x2c], dx
mov ax, word [esp + 0x54]
mov word [edi + 0x2e], ax
mov cx, word [esp + 0x56]
mov word [edi + 0x30], cx
mov dx, word [esp + 0x58]
lea eax, [esp + 0x5e]
lea ecx, [edi + 0x34]
push eax
push ecx
mov word [edi + 0x32], dx
call fcn.004ee660
mov dx, word [esp + 0x8e]
mov word [edi + 0x5c], dx
mov ax, word [esp + 0x90]
mov word [edi + 0x5e], ax
mov cl, byte [esp + 0x92]
mov byte [edi + 0x62], cl
mov ecx, dword [0xd8364c]
movsx eax, word [esp + 0x54]
mov edx, dword [esp + 0x62]
add eax, ecx
push edx
push eax
call fcn.00402d20
add esp, 0x20
inc ebp
cmp ebp, 0x2000
jl 0x4d120c
push esi
call fcn.004a6830
add esp, 4
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xd8
ret
jne 0x4d1773
xor ebp, ebp
push esi
push 1
lea ecx, [esp + 0x88]
push 0x28
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0xb0]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0xb2]
push 2
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0xb4]
push 2
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0xb6]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0xb8]
push 2
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0xba]
push 2
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0xbc]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0xbe]
push 4
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0xc2]
push 0x28
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0xea]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0xec]
push 2
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0xee]
push eax
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
movsx edx, word [esp + 0xa8]
mov eax, dword [edx*4 + 0xd01344]
cmp eax, ebx
je 0x4d1640
push eax
call fcn.004ed4d0
add esp, 4
push 0x66
call fcn.004ed8ee
mov edx, eax
add esp, 4
cmp edx, ebx
je 0x4d1694
mov ecx, 0xa
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [edx + 0x34]
mov word [edx + 0x2a], bx
mov word [edx + 0x28], bx
mov word [edx + 0x2e], bx
mov word [edx + 0x2c], bx
mov word [edx + 0x32], bx
mov word [edx + 0x30], bx
rep stosd dword es:[edi], eax
mov word [edx + 0x60], bx
mov word [edx + 0x5e], bx
mov word [edx + 0x5c], bx
mov byte [edx + 0x62], bl
mov word [edx + 0x64], bx
mov edi, edx
jmp 0x4d1696
xor edi, edi
movsx eax, word [esp + 0xa8]
lea ecx, [esp + 0x80]
push 0x28
push ecx
push edi
mov dword [eax*4 + 0xd01344], edi
call fcn.004ee660
mov dx, word [esp + 0xb6]
push 0x28
mov word [edi + 0x28], dx
mov ax, word [esp + 0xbc]
mov word [edi + 0x2a], ax
mov cx, word [esp + 0xbe]
mov word [edi + 0x2c], cx
mov dx, word [esp + 0xc0]
mov word [edi + 0x2e], dx
mov ax, word [esp + 0xc2]
mov word [edi + 0x30], ax
mov cx, word [esp + 0xc4]
lea edx, [esp + 0xca]
lea eax, [edi + 0x34]
push edx
push eax
mov word [edi + 0x32], cx
call fcn.004ee660
mov cx, word [esp + 0xfa]
mov word [edi + 0x5c], cx
mov dx, word [esp + 0xfc]
mov word [edi + 0x5e], dx
mov al, byte [esp + 0xfe]
mov byte [edi + 0x62], al
mov eax, dword [0xd8364c]
movsx edx, word [esp + 0xc0]
mov ecx, dword [esp + 0xce]
add edx, eax
push ecx
push edx
call fcn.00402d20
add esp, 0x20
inc ebp
cmp ebp, 0x2000
jl 0x4d14ab
push esi
call fcn.004a6830
add esp, 4
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xd8
ret
xor ebp, ebp
push esi
push 1
lea eax, [esp + 0x1c]
push 0x28
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0x44]
push 2
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0x46]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0x48]
push 2
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0x4a]
push 2
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0x4c]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0x4e]
push 2
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0x50]
push 2
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0x52]
push 4
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0x56]
push 0x28
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0x7e]
push 2
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0x80]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea eax, [esp + 0x82]
push 2
push eax
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea ecx, [esp + 0x84]
push eax
push ecx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
push esi
push eax
lea edx, [esp + 0x85]
push 2
push edx
call fcn.004a67b0
add esp, 0x10
cmp eax, 1
jne 0x4d19b3
movsx eax, word [esp + 0x3c]
mov eax, dword [eax*4 + 0xd01344]
cmp eax, ebx
je 0x4d1920
push eax
call fcn.004ed4d0
add esp, 4
push 0x66
call fcn.004ed8ee
mov edx, eax
add esp, 4
cmp edx, ebx
je 0x4d1974
mov ecx, 0xa
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [edx + 0x34]
mov word [edx + 0x2a], bx
mov word [edx + 0x28], bx
mov word [edx + 0x2e], bx
mov word [edx + 0x2c], bx
mov word [edx + 0x32], bx
mov word [edx + 0x30], bx
rep stosd dword es:[edi], eax
mov word [edx + 0x60], bx
mov word [edx + 0x5e], bx
mov word [edx + 0x5c], bx
mov byte [edx + 0x62], bl
mov word [edx + 0x64], bx
mov ecx, edx
jmp 0x4d1976
xor ecx, ecx
movsx edx, word [esp + 0x3c]
lea eax, [esp + 0x14]
push eax
mov dword [edx*4 + 0xd01344], ecx
call fcn.004d1050
movsx edx, word [esp + 0x3c]
mov eax, dword [0xd8364c]
mov ecx, dword [esp + 0x4a]
add edx, eax
push ecx
push edx
call fcn.00402d20
add esp, 8
inc ebp
cmp ebp, 0x2000
jl 0x4d1775
push esi
call fcn.004a6830
add esp, 4
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xd8
ret