Function at 0x100010f0
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x320
sub eax, 0
push ebx
push ebp
push esi
je 0x10001320
dec eax
jne 0x10001335
mov eax, dword [esp + 0x338]
mov ebp, 1
cmp eax, ebp
je 0x1000130d
mov cl, 0x72
mov bl, 0x65
mov byte [esp + 0xe], cl
mov byte [esp + 0x36], cl
mov dl, 0x61
mov al, 0x6c
mov cl, 0x5f
mov byte [esp + 0xc], 0x54
mov byte [esp + 0xd], bl
mov byte [esp + 0xf], 0x53
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], 0x66
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], 0x2e
mov byte [esp + 0x14], 0x64
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov byte [esp + 0x17], 0
mov byte [esp + 0x2c], 0x47
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0x6f
mov byte [esp + 0x2f], 0x62
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], al
mov byte [esp + 0x32], 0x5c
mov byte [esp + 0x33], 0x73
mov byte [esp + 0x34], 0x68
mov byte [esp + 0x35], dl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], cl
mov byte [esp + 0x39], 0x66
mov byte [esp + 0x3a], 0x69
mov byte [esp + 0x3b], al
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3e], 0x69
mov byte [esp + 0x3f], 0x6e
mov byte [esp + 0x40], 0x70
mov byte [esp + 0x41], 0x75
mov byte [esp + 0x42], 0x74
mov byte [esp + 0x43], cl
mov byte [esp + 0x44], 0x66
mov byte [esp + 0x45], al
mov byte [esp + 0x46], dl
mov byte [esp + 0x47], 0x67
mov byte [esp + 0x48], cl
mov byte [esp + 0x49], 0x25
mov byte [esp + 0x4a], 0x64
mov byte [esp + 0x4b], 0
mov byte [esp + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x230]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x22c]
push edx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
test esi, esi
je 0x100012c9
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x100012be
mov eax, dword [ebx]
test eax, eax
jne 0x100012ab
push edi
mov ecx, 0x3f
lea edi, [esp + 0x131]
mov byte [esp + 0x130], al
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x334]
push 0x100
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x134]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x10]
mov dword [ebx], ebp
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
pop edi
jne 0x100012a7
lea eax, [esp + 0x12c]
push eax
call fcn.10003f80
add esp, 4
jmp 0x100012b7
xor ebp, ebp
jmp 0x100012b7
cmp eax, 0x64
jne 0x100012b7
mov dword [ebx], ebp
call fcn.10001350
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x100012d7
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x320
ret 0xc
mov ecx, dword [esp + 0x330]
push ecx
call fcn.10001000
add esp, 4
test eax, eax
jne 0x100012f7
pop esi
pop ebp
pop ebx
add esp, 0x320
ret 0xc
call fcn.10001460
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x320
ret 0xc
call fcn.10001460
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x320
ret 0xc
mov edx, dword [esp + 0x330]
push edx
call fcn.100010a0
add esp, 4
call fcn.100022c0
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x320
ret 0xc