Function at 0x100cd9a0
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x1015de90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101ad3b4]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10c]
cmp eax, 0x8b0
jne 0x100cdabb
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.100f6b80
add esp, 0xc
mov ecx, dword [ebp + 0x118]
push ecx
push 7
call fcn.100d0fd0
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100f7960
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100a96a0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100cddde
push 0
push 0
push 0
push 6
push eax
call fcn.100a9650
mov edi, eax
lea ecx, [edi + 1]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100cda55
sub eax, esi
mov ebx, eax
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100cda67
sub eax, esi
mov esi, eax
call fcn.100cd7d0
mov ecx, edx
mov edx, eax
or edx, ecx
je 0x100cda9d
mov edx, dword [ebp + 0x114]
sub edx, ebx
sub edx, 2
push edx
lea edx, [esi + edi + 2]
push ecx
push eax
call fcn.100cc500
add esp, 0xc
jmp 0x100cda9f
xor eax, eax
mov byte [edi], al
push edi
call fcn.100a9680
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
jmp 0x100cdde0
cmp eax, 0x8b5
jne 0x100cdb5b
mov byte [ebp], 0
push 0xff
push 0
lea ecx, [ebp + 1]
push ecx
call fcn.100f6b80
add esp, 0xc
mov edx, dword [ebp + 0x118]
push edx
push 7
call fcn.100d0fd0
add esp, 4
push eax
lea eax, [ebp]
push eax
call fcn.100f7960
add esp, 0xc
lea ecx, [ebp]
push ecx
push 0
push 0xf001f
call fcn.100a96a0
mov edi, eax
test edi, edi
je 0x100cddde
push 0
push 0
push 0
push 6
push edi
call fcn.100a9650
mov esi, eax
mov eax, dword [esi + 1]
mov ecx, dword [esi + 5]
mov edx, dword [ebp + 0x114]
add edx, 0xfffffff7
push edx
lea edx, [esi + 9]
push ecx
push eax
call fcn.100cc500
add esp, 0xc
mov byte [esi], al
push esi
call fcn.100a9680
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
jmp 0x100cdde0
cmp eax, 0x8b1
jne 0x100cdc34
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.100f6b80
add esp, 0xc
mov ecx, dword [ebp + 0x118]
push ecx
push 8
call fcn.100d0fd0
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100f7960
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100a96a0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100cddde
push 0
push 0
push 0
push 6
push eax
call fcn.100a9650
mov edi, eax
lea ecx, [edi + 1]
mov eax, ecx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100cdbd0
sub eax, esi
mov ebx, eax
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100cdbe2
sub eax, esi
mov esi, eax
call fcn.100cd7d0
mov ecx, eax
or ecx, edx
je 0x100cdc16
mov ecx, dword [ebp + 0x114]
sub ecx, ebx
sub ecx, 2
lea esi, [esi + edi + 2]
push esi
push edx
push eax
call fcn.100cc580
add esp, 0xc
jmp 0x100cdc18
xor eax, eax
mov byte [edi], al
push edi
call fcn.100a9680
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
jmp 0x100cdde0
cmp eax, 0x8b6
jne 0x100cdcb9
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.100f6b80
add esp, 0xc
mov ecx, dword [ebp + 0x118]
push ecx
push 8
call fcn.100d0fd0
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100f7960
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100a96a0
mov edi, eax
test edi, edi
je 0x100cddde
push 0
push 0
push 0
push 6
push edi
call fcn.100a9650
mov esi, eax
mov eax, dword [esi + 1]
mov edx, dword [esi + 5]
mov ecx, dword [ebp + 0x114]
add ecx, 0xfffffff7
lea ebx, [esi + 9]
push ebx
push edx
push eax
call fcn.100cc580
jmp 0x100cdb3f
cmp eax, 0x8b2
jne 0x100cde9e
mov ecx, dword [ebp + 0x114]
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x2c], eax
movzx edi, cx
and edi, 0xffffefff
mov dword [ebp - 0x28], edi
mov byte [ebp], 0
push 0xff
push 0
lea ecx, [ebp + 1]
push ecx
call fcn.100f6b80
add esp, 0xc
mov edx, dword [ebp + 0x118]
push edx
push 9
call fcn.100d0fd0
add esp, 4
push eax
lea eax, [ebp]
push eax
call fcn.100f7960
add esp, 0xc
lea ecx, [ebp]
push ecx
push 0
push 0xf001f
call fcn.100a96a0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100cddde
push 0
push 0
push 0
push 6
push eax
call fcn.100a9650
mov esi, eax
mov dword [ebp - 0x20], esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100cdd44
sub eax, edx
lea ecx, [eax + esi + 1]
mov dword [ebp - 0x24], ecx
mov eax, ecx
lea ebx, [eax + 1]
jmp 0x100cdd60
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100cdd60
sub eax, ebx
lea ebx, [eax + ecx + 1]
cmp edi, 4
jne 0x100cdd7c
lea edx, [ebx + 2]
mov dword [ebp - 0x18], edx
jmp 0x100cdd93
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100cdd81
sub eax, edx
lea eax, [eax + ebx + 1]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x118]
push ecx
push 6
call fcn.100d0fd0
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100f7960
add esp, 0xc
lea eax, [ebp]
push eax
push 0xf4248
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x100cde07
push esi
call fcn.100a9680
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.100f611a
add ebp, 0x104
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 0
push 6
push edi
call fcn.100a9650
mov esi, eax
mov dword [ebp - 0x1c], esi
mov eax, edi
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [ebp - 4], 0
push 0xf4240
lea edx, [esi + 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.100f9fd5
add esp, 4
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edx, ebx
mov ecx, dword [ebp - 0x20]
call fcn.100ccdb0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
jmp 0x100cde7b
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.100a9680
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
call fcn.100a9680
mov eax, 1
jmp 0x100cdde0
cmp eax, 0x8b4
jne 0x100cdece
xor ecx, ecx
mov esi, dword [ebp + 0x114]
mov eax, dword [ebp + 0x118]
cdq
or ecx, eax
or esi, edx
mov eax, ecx
or eax, esi
je 0x100cddde
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x100cdde0
cmp eax, 0x8b3
jne 0x100cdf80
mov byte [ebp], 0
push 0xff
push 0
lea ecx, [ebp + 1]
push ecx
call fcn.100f6b80
add esp, 0xc
mov edx, dword [ebp + 0x118]
push edx
push 0xa
call fcn.100d0fd0
add esp, 4
push eax
lea eax, [ebp]
push eax
call fcn.100f7960
add esp, 0xc
lea ecx, [ebp]
push ecx
push 0
push 0xf001f
call fcn.100a96a0
mov edi, eax
test edi, edi
je 0x100cddde
push 0
push 0
push 0
push 6
push edi
call fcn.100a9650
mov esi, eax
lea edx, [esi + 0xc]
push edx
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 0x100cdb44
cmp word [eax], 0x5a4d
jne 0x100cdb44
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100cdb44
mov edx, dword [ecx + 0x50]
mov dword [esi + 8], edx
jmp 0x100cdb44
cmp eax, 0x8b7
jne 0x100cddde
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.100f6b80
add esp, 0xc
mov ecx, dword [ebp + 0x118]
push ecx
push 0xb
call fcn.100d0fd0
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100f7960
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100a96a0
mov edi, eax
test edi, edi
je 0x100cddde
push 0
push 0
push 0
push 6
push edi
call fcn.100a9650
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x2c], ecx
lea edx, [esi + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esi], eax
mov dword [esi + 4], 0
jmp 0x100cdb44