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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
test byte [edi], 1
je 0x10005d8f
mov ecx, esi
call fcn.1000ccb0
test eax, eax
jne 0x10005d8f
mov eax, 0xc00000bb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [edi + 8]
xor edx, edx
mov ecx, 0x10000000
mov dword [ebp - 0x10], eax
call fcn.1000b0a0
test eax, eax
je 0x10005dc2
mov eax, dword [0x1000003c]
lea ecx, [eax + 0x10000000]
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10005dd9
cmp eax, 0x20b
je 0x10005dc7
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, 0x10b
je 0x10005dd9
cmp eax, 0x20b
je 0x10005dd9
xor ebx, ebx
jmp 0x10005ddc
mov ebx, dword [ecx + 0x50]
sub esp, 8
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
mov ecx, esi
push ebx
call fcn.1000cd30
test eax, eax
js 0x100060f4
push 0
push 0
lea ecx, [edi + 0x8c]
lea edx, [ebp - 8]
call fcn.1000cb50
test eax, eax
js 0x100060f4
mov ecx, dword [ebp - 8]
mov eax, ecx
push dword [ebp - 4]
cdq
push edx
push eax
xor edx, edx
call fcn.1000c5c0
mov edx, dword [ebp - 4]
push ecx
push ebx
push dword [ebp - 8]
mov ecx, esi
call fcn.1000ce00
mov ecx, dword [ebp - 8]
mov ebx, eax
call fcn.1000cb30
test ebx, ebx
jns 0x10005e58
push ecx
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.1000cd50
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [edi + 0x74]
lea eax, [ebp - 0x24]
sub esp, 8
mov edx, ebx
mov ecx, esi
push eax
call fcn.1000cde0
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x10005e89
push ecx
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.1000cd50
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
lea eax, [ebx + 5]
sub ecx, 0x10000000
mov byte [ebp - 0x3c], 0xe9
add ecx, 0x10005d00
mov edx, ebx
sub ecx, eax
lea eax, [ebp - 0x3c]
push ecx
push 5
mov dword [ebp - 0x3b], ecx
mov ecx, esi
push eax
call fcn.1000ce20
mov ebx, eax
test ebx, ebx
js 0x10005e42
mov esi, dword [edi + 0xa9c]
mov ebx, esi
shl ebx, 7
test ebx, ebx
je 0x10005f23
mov ecx, dword [edi + 0xa98]
test esi, esi
je 0x10005f23
add ecx, 4
mov eax, dword [ecx + 0x30]
add eax, dword [ecx + 0x10]
add ebx, eax
mov eax, dword [ecx]
test eax, eax
jne 0x10005ee8
xor edx, edx
jmp 0x10005eeb
lea edx, [eax - 0xc]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x10005ef5
add eax, 0xfffffff4
mov edi, dword [eax]
add edi, 4
add edi, dword [edx]
mov edx, dword [ecx + 4]
add edi, ebx
test edx, edx
je 0x10005f08
add edx, 0xfffffff4
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x10005f12
add eax, 0xfffffff4
mov ebx, dword [eax]
add ecx, 0x40
add ebx, 4
add ebx, dword [edx]
add ebx, edi
sub esi, 1
jne 0x10005ed6
mov ecx, dword [ebp + 0xc]
mov edx, 1
push ebx
mov ecx, dword [ecx]
call fcn.100059b0
mov dword [ebp + 8], eax
test eax, eax
jne 0x10005f48
mov eax, 0xc0000001
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [eax + 0x68]
mov edi, eax
mov esi, dword [ebp - 0x10]
mov ecx, 0x2a4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov dword [eax + 0x68], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0x74], eax
mov al, byte [ebp - 0x20]
mov byte [ecx + 0x78], al
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], 5
mov ecx, dword [ebp + 8]
test ebx, ebx
je 0x100060e5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xa9c]
mov dword [ecx + 0xa08], eax
mov dword [ecx + 0xa0c], 0
mov ecx, dword [ebp + 8]
mov esi, dword [edx + 0xa98]
mov dword [ebp - 0x10], esi
mov eax, dword [ecx + 0xa08]
lea ebx, [ecx + 0xa10]
shl eax, 7
add eax, ebx
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 0xa9c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100060e5
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x28], eax
lea eax, [esi + 4]
push eax
lea eax, [ebx + 8]
mov dword [ebx + 0x30], 0
push eax
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
call fcn.10006100
lea eax, [esi + 8]
push eax
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10006100
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0x2c]
cdq
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x68], eax
lea eax, [esi + 0x24]
push eax
lea eax, [ebx + 0x48]
mov dword [ebx + 0x70], 0
push eax
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
call fcn.10006100
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10006100
cmp dword [esi + 0x30], 0
je 0x100060cf
mov edi, dword [esi + 0x34]
mov dword [ebp - 0xc], edi
test edi, edi
je 0x100060cf
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x908
sub ecx, eax
mov dword [ebx + 0x78], edi
mov eax, ecx
mov dword [ebx + 0x7c], 0
cdq
mov ecx, edi
mov dword [ebx + 0x70], eax
mov eax, edi
mov dword [ebx + 0x74], edx
and eax, 0xfffffffc
mov edx, dword [esi + 0x30]
mov esi, dword [ebp + 0xc]
mov edi, esi
mov dword [ebp - 0x1c], esi
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
lea esi, [eax + edx]
mov edi, dword [ebp - 0x1c]
and ecx, 3
add edi, eax
mov eax, dword [ebp - 0xc]
rep movsb byte es:[edi], byte [esi]
add dword [ebp + 0xc], eax
mov esi, dword [ebp - 0x10]
add esi, 0x40
sub ebx, 0xffffff80
sub dword [ebp - 0x14], 1
mov dword [ebp - 0x10], esi
jne 0x10005fd7
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100060f2
push ecx
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8