Function at 0x10013be0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
cmp eax, 0x8b0
jne 0x10013ccf
mov byte [ebp - 0x114], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
push eax
push 7
call fcn.100178b0
add esp, 4
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.10019e60
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
push 0
push 0xf001f
call fcn.10006010
mov ebx, eax
test ebx, ebx
je 0x10013ff1
push 0
push 0
push 0
push 6
push ebx
call fcn.10005e90
mov esi, eax
lea edx, [esi + 1]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [ebp + 0x10]
sub eax, ecx
sub eax, 2
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [ecx + esi + 2]
push ecx
push edx
call fcn.10014380
add esp, 0xc
mov byte [esi], al
push esi
call fcn.10005f40
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x8b5
jne 0x10013d60
mov byte [ebp - 0x224], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x223]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp + 0x14]
push edx
push 7
call fcn.100178b0
add esp, 4
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.10019e60
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0xf001f
call fcn.10006010
mov edi, eax
test edi, edi
je 0x10013ff1
push 0
push 0
push 0
push 6
push edi
call fcn.10005e90
mov esi, eax
mov eax, dword [esi + 1]
mov ecx, dword [esi + 5]
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff7
push edx
lea edx, [esi + 9]
push edx
push ecx
push eax
call fcn.10014270
add esp, 0x10
mov byte [esi], al
jmp 0x10014241
cmp eax, 0x8b1
jne 0x10013e28
mov byte [ebp - 0x338], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x337]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
push eax
push 8
call fcn.100178b0
add esp, 4
push eax
lea ecx, [ebp - 0x338]
push ecx
call fcn.10019e60
add esp, 0xc
lea edx, [ebp - 0x338]
push edx
push 0
push 0xf001f
call fcn.10006010
mov ebx, eax
test ebx, ebx
je 0x10013ff1
push 0
push 0
push 0
push 6
push ebx
call fcn.10005e90
mov esi, eax
lea edx, [esi + 1]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [ebp + 0x10]
sub eax, ecx
sub eax, 2
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [ecx + esi + 2]
push ecx
push edx
call fcn.10014960
add esp, 0xc
mov byte [esi], al
push esi
call fcn.10005f40
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x8b6
jne 0x10013eb9
mov byte [ebp - 0x448], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x447]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp + 0x14]
push edx
push 8
call fcn.100178b0
add esp, 4
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.10019e60
add esp, 0xc
lea ecx, [ebp - 0x448]
push ecx
push 0
push 0xf001f
call fcn.10006010
mov edi, eax
test edi, edi
je 0x10013ff1
push 0
push 0
push 0
push 6
push edi
call fcn.10005e90
mov esi, eax
mov eax, dword [esi + 1]
mov ecx, dword [esi + 5]
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff7
push edx
lea edx, [esi + 9]
push edx
push ecx
push eax
call fcn.100142e0
add esp, 0x10
mov byte [esi], al
jmp 0x10014241
cmp eax, 0x8b2
jne 0x100140c6
mov eax, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x570], ecx
and eax, 0xffff
and ah, 0xef
mov dword [ebp - 0x588], eax
mov byte [ebp - 0x560], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x55f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
push eax
push 9
call fcn.100178b0
add esp, 4
push eax
lea ecx, [ebp - 0x560]
push ecx
call fcn.10019e60
add esp, 0xc
lea edx, [ebp - 0x560]
push edx
push 0
push 0xf001f
call fcn.10006010
mov dword [ebp - 0x56c], eax
test eax, eax
je 0x10013ff1
push 0
push 0
push 0
push 6
push eax
call fcn.10005e90
mov esi, eax
mov dword [ebp - 0x460], esi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ecx + esi + 1]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ecx + ebx + 1]
mov dword [ebp - 0x574], edx
cmp dword [ebp - 0x588], 4
jne 0x10013f86
add edx, 2
mov dword [ebp - 0x580], edx
jmp 0x10013f9c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + edx + 1]
mov dword [ebp - 0x580], eax
mov ecx, dword [ebp + 0x14]
push ecx
push 6
call fcn.100178b0
add esp, 4
push eax
lea edx, [ebp - 0x560]
push edx
call fcn.10019e60
add esp, 0xc
lea eax, [ebp - 0x560]
push eax
push 0xf4248
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x564], eax
test eax, eax
jne 0x10014006
push esi
call fcn.10005f40
mov ecx, dword [ebp - 0x56c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 0
push 6
push eax
call fcn.10005e90
mov edi, eax
mov dword [ebp - 0x57c], edi
mov eax, dword [ebp - 0x564]
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [ebp - 4], 0
push 0xf4240
lea edx, [edi + 8]
push edx
push ebx
call fcn.1001a5d3
add esp, 4
push eax
mov eax, dword [ebp - 0x588]
push eax
mov ecx, dword [ebp - 0x570]
push ecx
mov edx, dword [ebp - 0x580]
push edx
mov eax, dword [ebp - 0x574]
push eax
push esi
call fcn.10014990
add esp, 0x20
mov dword [ebp - 0x584], eax
jmp 0x1001408e
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.10005f40
mov eax, dword [ebp - 0x56c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.10005f40
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x8b4
jne 0x100140fe
xor ecx, ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
cdq
or ecx, eax
or esi, edx
mov edx, ecx
or edx, esi
je 0x10013ff1
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x8b3
jne 0x100141b5
mov byte [ebp - 0x69c], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x69b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
push eax
push 0xa
call fcn.100178b0
add esp, 4
push eax
lea ecx, [ebp - 0x69c]
push ecx
call fcn.10019e60
add esp, 0xc
lea edx, [ebp - 0x69c]
push edx
push 0
push 0xf001f
call fcn.10006010
mov edi, eax
test edi, edi
je 0x10013ff1
push 0
push 0
push 0
push 6
push edi
call fcn.10005e90
mov esi, eax
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 8], 0
mov ecx, eax
or ecx, edx
je 0x10014241
cmp word [eax], 0x5a4d
jne 0x10014241
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10014241
mov edx, dword [ecx + 0x50]
mov dword [esi + 8], edx
jmp 0x10014241
cmp eax, 0x8b7
jne 0x10013ff1
mov byte [ebp - 0x7bc], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x7bb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
push eax
push 0xb
call fcn.100178b0
add esp, 4
push eax
lea ecx, [ebp - 0x7bc]
push ecx
call fcn.10019e60
add esp, 0xc
lea edx, [ebp - 0x7bc]
push edx
push 0
push 0xf001f
call fcn.10006010
mov edi, eax
test edi, edi
je 0x10013ff1
push 0
push 0
push 0
push 6
push edi
call fcn.10005e90
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x7c0], ecx
lea edx, [esi + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
push esi
call fcn.10005f40
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10