Function at 0x1005e0e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e1ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push str.ManualMap:_Performing_image_copy
mov dword [ebp - 4], 0
call fcn.10062590
mov eax, dword [ebp + 8]
add esp, 4
test byte [eax + 0x178], 0x10
mov edi, dword [eax + 0x30]
je 0x1005e167
call fcn.1005c390
mov ecx, dword [ebp + 8]
mov esi, eax
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x1005e142
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x1005e150
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
push ebx
push 0
push edi
mov eax, dword [eax]
push ecx
push edx
mov ecx, esi
push dword [eax + 4]
call fcn.10078a00
jmp 0x1005e178
push dword [eax + 8]
lea ecx, [eax + 0xf0]
push edi
push 0
call fcn.10070280
mov esi, eax
test esi, esi
jns 0x1005e192
mov eax, str.ManualMap:_Failed_to_copy_image_headers._Status__0x_x
push esi
push eax
call fcn.10062590
add esp, 8
jmp 0x1005e2bf
mov ecx, dword [ebp + 8]
test byte [ecx + 0x178], 0x10
jne 0x1005e1cd
push 0
push edi
push 0
add ecx, 0xf0
push 2
call fcn.1006ff70
mov esi, eax
test esi, esi
jns 0x1005e1ca
mov eax, str.ManualMap:_Failed_to_set_header_memory_protection._Status__0x_x
push esi
push eax
call fcn.10062590
add esp, 8
jmp 0x1005e2bf
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x48]
mov dword [ebp - 0x18], eax
cmp ebx, eax
je 0x1005e2bd
nop
test dword [ebx + 0x24], 0xe0000000
je 0x1005e2b2
cmp dword [ebx + 0x10], 0
je 0x1005e2b2
cmp byte [ecx + 0xc], 0
mov edi, dword [ebx + 0xc]
je 0x1005e23b
mov eax, dword [ecx + 0x48]
mov esi, dword [ecx + 0x4c]
cmp eax, esi
je 0x1005e22a
nop word [eax + eax]
mov edx, dword [eax + 0xc]
cmp edi, edx
jb 0x1005e220
mov ecx, dword [eax + 8]
add ecx, edx
cmp edi, ecx
jb 0x1005e22e
add eax, 0x28
cmp eax, esi
jne 0x1005e210
mov ecx, dword [ebp + 8]
xor esi, esi
jmp 0x1005e240
mov ecx, dword [ebp + 8]
mov esi, dword [eax + 0x14]
add esi, dword [ecx + 8]
sub esi, edx
jmp 0x1005e23e
mov esi, dword [ecx + 8]
add esi, edi
test byte [ecx + 0x178], 0x10
je 0x1005e296
call fcn.1005c390
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
je 0x1005e265
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
jmp 0x1005e273
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebx + 0xc]
xor ecx, ecx
add edx, edi
push esi
adc ecx, eax
mov eax, dword [ebp - 0x10]
push 0
push dword [ebx + 0x10]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push dword [eax + 4]
call fcn.10078a00
jmp 0x1005e2a6
push esi
push dword [ebx + 0x10]
add ecx, 0xf0
push edi
call fcn.10070280
mov esi, eax
test esi, esi
js 0x1005e2fc
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
add ebx, 0x28
cmp ebx, eax
jne 0x1005e1e0
xor esi, esi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1005e2e7
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1005e2e7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x1005e2e7
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push esi
push dword [ebx + 0xc]
push str.ManualMap:_Failed_to_copy_image_section_at_offset_0x_x._Status__0x_x
call fcn.10062590
add esp, 0xc
jmp 0x1005e2bf