Function at 0x100013d0
Capabilities:
Check if file exists
Parse pe header

Disassembly:
sub esp, 0x244
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x1000145d
lea eax, [esp + 0x1c]
test eax, eax
je 0x1000145d
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], 0x80000000
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 4
call fcn.10003a50
mov ebp, eax
test ebp, ebp
jne 0x10001464
xor eax, eax
jmp 0x10001645
mov ecx, 0x5a4d
cmp cx, word [ebp]
jne 0x1000161e
mov esi, dword [ebp + 0x3c]
cmp esi, 0x500
jge 0x1000161e
cmp dword [esi + ebp], 0x4550
jne 0x1000161e
mov edx, 0x14c
cmp dx, word [esi + ebp + 4]
jne 0x1000161e
mov edi, dword [esi + ebp + 0x80]
mov ebx, ebp
call fcn.10001e40
mov ebx, eax
mov eax, 0xcccccccd
mul dword [esi + ebp + 0x84]
mov edi, edx
shr edi, 4
call fcn.10003b90
mov dword [esp + 0x10], eax
test eax, eax
je 0x1000161e
test edi, edi
jle 0x10001605
add ebx, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov edi, dword [ebx]
mov ebx, ebp
call fcn.10001e40
mov edi, eax
test edi, edi
je 0x100015ef
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001500
sub eax, edx
cmp eax, 0x3d
ja 0x100015ef
push 5
lea eax, [eax + edi - 4]
push str..dll
push eax
call fcn.1000427a
add esp, 0xc
test eax, eax
jne 0x100015ef
mov cl, byte [edi]
cmp cl, 0x6d
je 0x1000153a
cmp cl, 0x4d
jne 0x1000154d
mov al, byte [edi + 1]
cmp al, 0x73
je 0x100015ef
cmp al, 0x53
je 0x100015ef
xor edx, edx
mov eax, edi
test cl, cl
je 0x1000156c
mov cl, byte [eax]
inc eax
cmp cl, 0x2e
jne 0x1000155e
inc edx
cmp byte [eax], 0
jne 0x10001555
cmp edx, 1
ja 0x100015ef
push 0x208
call fcn.10003ea7
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100015ef
push 0x104
lea edx, [esp + 0x44]
push edx
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [eax - 1]
cmp ecx, 0x103
ja 0x100015df
xor edx, edx
mov word [esp + eax*2 + 0x40], dx
mov eax, dword [esp + 0x3c]
call fcn.10001040
test eax, eax
je 0x100015e6
lea ecx, [esp + 0x40]
push ecx
push 0x104
push ebx
call fcn.10004366
add esp, 0xc
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
test eax, eax
je 0x100015e7
mov esi, dword [esp + 0x14]
call fcn.10003c50
jmp 0x100015ec
xor eax, eax
mov word [esp + 0x40], ax
push ebx
call fcn.100042d8
add esp, 4
mov ebx, dword [esp + 0x18]
add ebx, 0x14
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], ebx
jne 0x100014e4
mov edx, dword [esp + 0x10]
cmp dword [edx + 4], 0
jne 0x1000161e
mov edi, edx
call fcn.10003bc0
mov dword [esp + 0x10], 0
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x10001641
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
test eax, eax
je 0x10001641
mov ecx, dword [esp + 0x20]
push ecx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10003ca2
add esp, 0x244
ret