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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x454
push ebx
xor ebx, ebx
push ebp
push esi
sub eax, ebx
push edi
je 0x10001392
dec eax
jne 0x100013a7
cmp dword [esp + 0x470], 1
je 0x1000137b
mov al, 0x6c
or ecx, 0xffffffff
mov byte [esp + 0x1d], al
mov byte [esp + 0x21], al
lea edi, [esp + 0x1c]
xor eax, eax
mov byte [esp + 0x1c], 0x47
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], 0x62
mov byte [esp + 0x20], 0x61
mov byte [esp + 0x22], 0x5c
mov byte [esp + 0x23], bl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x264]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x14], 0x54
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x15], 0x53
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
mov byte [esp + 0x16], 0x56
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x18], bl
lea edx, [esp + 0x264]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x10], 0x5f
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov byte [esp + 0x11], 0x25
and ecx, 3
mov byte [esp + 0x12], 0x64
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
mov byte [esp + 0x13], bl
lea edx, [esp + 0x264]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
xor eax, 0x2694
lea ecx, [esp + 0x364]
push eax
lea eax, [esp + 0x268]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x364]
push edx
push ebx
push 0xf001f
call fcn.10002f40
mov esi, eax
cmp esi, ebx
je 0x100012c2
push ebx
push ebx
push ebx
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
cmp ebp, ebx
je 0x100012ac
mov eax, dword [ebp]
cmp eax, ebx
jne 0x10001294
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x468]
push 0x100
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x68]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x64]
mov dword [ebp], 1
push edx
call fcn.10004d10
add esp, 4
jmp 0x100012a5
cmp eax, 0x64
jne 0x100012a5
mov dword [ebp], 1
call fcn.100013c0
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x454
ret 0xc
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x165]
mov byte [esp + 0x164], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x10], 0x25
mov byte [esp + 0x11], 0x78
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
call ebp
inc eax
lea ecx, [esp + 0x164]
not eax
push eax
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x30]
lea eax, [esp + 0x170]
push edx
push eax
call fcn.10004340
add esp, 0x14
lea ecx, [esp + 0x24]
push ecx
push ebx
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1000135a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x454
ret 0xc
mov edx, dword [esp + 0x468]
push edx
call fcn.10001000
add esp, 4
test eax, eax
jne 0x1000137b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret 0xc
call fcn.10001e80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x454
ret 0xc
mov eax, dword [esp + 0x468]
push eax
call fcn.100010a0
add esp, 4
call fcn.10002db0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x454
ret 0xc