Function at 0x46ec70
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file size
Read file via mapping

Disassembly:
sub esp, 0x34c
push ebx
push ebp
push esi
push edi
or ebx, 0xffffffff
push str.shell32.dll
mov dword [esp + 0x3c], ebx
call fcn.0044abc0
mov ebp, eax
xor esi, esi
add esp, 4
cmp ebp, esi
je 0x46ee31
push str.SHGetFolderPathW
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x46ee25
push esi
call dword [0x6fc3fc]
lea eax, [esp + 0x154]
push eax
push esi
push esi
push 0x24
push esi
call edi
test eax, eax
jne 0x46ee1f
lea ecx, [esp + 0x154]
push ecx
call fcn.00609a4e
add esp, 4
cmp word [esp + eax*2 + 0x152], 0x5c
je 0x46ecfe
lea edx, [esp + 0x154]
push 0x6c91c0
push edx
call fcn.00609a6b
add esp, 8
call fcn.0044bfc0
test eax, eax
je 0x46ed16
lea eax, [esp + 0x154]
push str.Sysnative
push eax
jmp 0x46ed23
lea ecx, [esp + 0x154]
push str.System32
push ecx
call fcn.00609a6b
mov edx, 0x129
mov eax, 0x13c
mov word [esp + 0x22], dx
mov word [esp + 0x2a], dx
mov word [esp + 0x1c], ax
mov word [esp + 0x24], ax
mov edx, 0x13e
mov eax, 0x13f
add esp, 8
mov word [esp + 0x24], dx
mov word [esp + 0x30], dx
mov word [esp + 0x1e], ax
mov word [esp + 0x2e], ax
mov word [esp + 0x32], ax
lea edx, [esp + 0x10]
lea eax, [esp + 0x54]
mov ecx, 0x116
push edx
push eax
mov word [esp + 0x18], cx
mov word [esp + 0x1a], 0x12e
mov word [esp + 0x1e], 0x125
mov word [esp + 0x20], 0x138
mov word [esp + 0x28], cx
mov word [esp + 0x2e], 0x12f
mov word [esp + 0x30], cx
mov word [esp + 0x32], 0x12a
mov word [esp + 0x34], 0x123
mov word [esp + 0x3c], si
call fcn.00609a95
lea ecx, [esp + 0x5c]
push ecx
call fcn.00609a4e
add esp, 0xc
cmp eax, esi
jle 0x46edea
lea ecx, [esp + 0x54]
mov dx, word [ecx]
add ecx, 2
xor dx, 0x4d
sub edx, 0xff
dec eax
mov word [ecx - 2], dx
jne 0x46edd3
lea eax, [esp + 0x54]
lea ecx, [esp + 0x154]
push eax
push ecx
call fcn.00609a6b
add esp, 8
lea edx, [esp + 0x154]
push esi
push esi
push 3
push esi
push 3
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x38], eax
mov ebx, eax
call dword [0x6fc400]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, 0xffffffff
jne 0x46ee3e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34c
ret
lea eax, [esp + 0x40]
mov dword [esp + 0x44], esi
push eax
push ebx
mov dword [esp + 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x46ee67
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46f03f
mov ecx, dword [esp + 0x40]
push esi
push ebp
push ecx
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x50], edi
je 0x46f03f
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
mov dword [esp + 0x4c], esi
je 0x46f038
lea ebx, [ebp + 1]
push ebx
mov dword [esp + 0x4c], ebx
call fcn.00622acb
mov edi, eax
push ebx
mov dword [esp + 0x44], edi
call fcn.00622acb
add esp, 8
mov ebx, eax
test edi, edi
je 0x46f029
test ebx, ebx
je 0x46f029
mov dl, 0x60
mov cl, 0x7b
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1e], dl
mov byte [esp + 0x2a], dl
mov byte [esp + 0x13], cl
mov byte [esp + 0x18], cl
lea edx, [esp + 0x10]
mov al, 0x61
mov cl, 0x6e
push edx
mov byte [esp + 0x14], 0x21
mov byte [esp + 0x15], 0x66
mov byte [esp + 0x16], al
mov byte [esp + 0x18], 0x6a
mov byte [esp + 0x19], 0x7d
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 0x6a
mov byte [esp + 0x1d], 0x6b
mov byte [esp + 0x1f], 0x78
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0x63
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6b
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], al
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0x68
mov byte [esp + 0x2a], 0x6a
mov byte [esp + 0x2b], 0x7d
mov byte [esp + 0x2c], 0x21
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2f], 0x62
mov byte [esp + 0x30], 0
call fcn.005de2e0
mov ecx, ebp
add esp, 4
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3c]
mov byte [esi + ebp], 0
mov al, byte [esi]
test al, al
je 0x46f016
push 0xa
push esi
call fcn.00609c00
add esp, 8
test eax, eax
je 0x46efb2
mov edi, eax
sub edi, esi
lea ecx, [edi + 1]
push ecx
push esi
push ebx
call fcn.00609f00
add esp, 0xc
mov byte [edi + ebx + 1], 0
jmp 0x46efc9
mov edi, dword [esp + 0x48]
lea edx, [edi - 1]
push edx
push esi
push ebx
call fcn.00609f00
add esp, 0xc
mov byte [edi + ebx - 1], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
add esi, ecx
mov al, byte [edi]
cmp al, 0x20
je 0x46efe3
cmp al, 9
jne 0x46efe6
inc edi
jmp 0x46efd9
cmp byte [edi], 0x23
je 0x46f003
push ebx
call fcn.0060c5ef
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00609cc0
add esp, 0xc
test eax, eax
jne 0x46f00a
cmp byte [esi], 0
jne 0x46ef8a
jmp 0x46f012
mov dword [esp + 0x44], 1
mov esi, dword [esp + 0x3c]
push esi
call fcn.00622af4
push ebx
call fcn.00622af4
mov esi, dword [esp + 0x54]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34c
ret