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

Disassembly:
push ebp
lea ebp, [esp - 0x908]
sub esp, 0x908
push 0xffffffffffffffff
push 0x1007a62e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp + 0x904], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x2c], 0x400
mov eax, 1
shl eax, 0
mov byte [ebp + eax + 0x8f0], 0x76
mov ecx, 1
imul ecx, ecx, 6
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 7
jae 0x10012f74
jmp 0x10012f79
call fcn.1005a87f
mov edx, dword [ebp - 0x28]
mov byte [ebp + edx + 0x8f0], 0
mov eax, 1
imul eax, eax, 3
mov byte [ebp + eax + 0x8f0], 0x66
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx + 0x8f0], 0x76
mov edx, 1
imul edx, edx, 0
mov byte [ebp + edx + 0x8f0], 0x73
mov eax, 1
shl eax, 2
mov byte [ebp + eax + 0x8f0], 0x62
mov ecx, 1
imul ecx, ecx, 5
mov byte [ebp + ecx + 0x8f0], 0x68
mov edx, 1
shl edx, 0
mov byte [ebp + edx + 0x8f8], 0x66
mov eax, 1
shl eax, 1
mov byte [ebp + eax + 0x8f8], 0x62
mov ecx, 1
imul ecx, ecx, 7
mov byte [ebp + ecx + 0x8f8], 0x6d
mov edx, 1
imul edx, edx, 6
mov byte [ebp + edx + 0x8f8], 0x6a
mov eax, 1
shl eax, 2
mov byte [ebp + eax + 0x8f8], 0x6e
mov ecx, 1
imul ecx, ecx, 3
mov byte [ebp + ecx + 0x8f8], 0x68
mov edx, 1
imul edx, edx, 0
mov byte [ebp + edx + 0x8f8], 0x76
mov eax, 1
imul eax, eax, 5
mov byte [ebp + eax + 0x8f8], 0x6a
mov ecx, 1
shl ecx, 3
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 9
jae 0x10013065
jmp 0x1001306a
call fcn.1005a87f
mov edx, dword [ebp - 0x24]
mov byte [ebp + edx + 0x8f8], 0
mov byte [ebp + 0x4f0], 0
push 0x3ff
push 0
lea eax, [ebp + 0x4f1]
push eax
call fcn.1005ec70
add esp, 0xc
lea ecx, [ebp]
call fcn.10022510
lea ecx, [ebp + 0x8f8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp + 0x8f8]
push edx
lea ecx, [ebp]
call fcn.10022530
lea eax, [ebp + 0xc0]
push eax
lea ecx, [ebp]
call fcn.100226b0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
call fcn.100058d0
push eax
lea ecx, [ebp - 0x14]
call fcn.10004cb0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc0]
call fcn.10005960
lea ecx, [ebp - 0x14]
call fcn.100040e0
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 0x910]
push edx
lea eax, [ebp + 0x8f0]
push eax
push 0x1007d770
push 0x400
lea ecx, [ebp + 0x4f0]
push ecx
call fcn.1005bf44
add esp, 0x14
lea ecx, [ebp + 0x60]
call fcn.10022510
lea edx, [ebp + 0x4f0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp + 0x4f0]
push eax
lea ecx, [ebp + 0x60]
call fcn.10022530
lea ecx, [ebp + 0xd8]
push ecx
lea ecx, [ebp + 0x60]
call fcn.100226b0
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x44]
call fcn.100058d0
push eax
lea ecx, [ebp - 0x18]
call fcn.10004cb0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xd8]
call fcn.10005960
lea ecx, [ebp - 0x18]
call fcn.100040e0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
push str.Global_s
push 0x400
lea ecx, [ebp + 0x4f0]
push ecx
call fcn.1005bf44
add esp, 0x10
lea edx, [ebp + 0x4f0]
push edx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x100131ee
mov byte [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
call fcn.10004ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10004ee0
mov al, byte [ebp - 0x10]
jmp 0x100132a2
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
push 4
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10013235
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0xe], 0
lea ecx, [ebp - 0x18]
call fcn.10004ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10004ee0
mov al, byte [ebp - 0xe]
jmp 0x100132a2
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp + 0xf0]
push edx
call fcn.1005e620
add esp, 0xc
push 0x20
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp + 0xf0]
push ecx
call fcn.1005ce9b
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1001326e
mov byte [ebp - 0xd], 1
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0xf], cl
lea ecx, [ebp - 0x18]
call fcn.10004ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10004ee0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x904]
xor ecx, ebp
call fcn.1005c9a6
add ebp, 0x908
mov esp, ebp
pop ebp
ret