Function at 0x45eb70
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x64239b
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x368]
mov dword fs:[0], eax
or edi, 0xffffffff
push 0x672498
mov dword [esp + 0x20], edi
call fcn.00447490
mov ebx, eax
xor ebp, ebp
add esp, 4
cmp ebx, ebp
je 0x45ee2e
push str.SHGetFolderPathW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
je 0x45ee22
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x15c]
push eax
push ebp
push ebp
push 0x24
push ebp
call esi
cmp eax, ebp
jne 0x45ee1c
lea eax, [esp + 0x15c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45ec10
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x15a], 0x5c
je 0x45ec48
lea edi, [esp + 0x15c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x45ec34
mov ecx, dword [0x670988]
mov dword [edi], ecx
call fcn.004475d0
test eax, eax
lea eax, [esp + 0x15c]
je 0x45ec9a
add eax, 0xfffffffe
jmp 0x45ec60
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x45ec60
mov edx, dword [str.Sysnative]
mov ecx, dword [0x67ae0c]
mov dword [eax], edx
mov edx, dword [0x67ae10]
mov dword [eax + 4], ecx
mov ecx, dword [0x67ae14]
mov dword [eax + 8], edx
mov edx, dword [0x67ae18]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
jmp 0x45ecda
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x45eca0
mov ecx, dword [str.System32]
mov edx, dword [0x67adf8]
mov dword [eax], ecx
mov ecx, dword [0x67adfc]
mov dword [eax + 4], edx
mov edx, dword [0x67ae00]
mov dword [eax + 8], ecx
mov cx, word [0x67ae04]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
mov edx, 0x116
mov word [esp + 0x34], dx
mov eax, 0x12e
mov word [esp + 0x36], ax
mov ecx, 0x13c
mov word [esp + 0x38], cx
mov edx, 0x125
mov word [esp + 0x3a], dx
mov eax, 0x138
mov word [esp + 0x3c], ax
mov ecx, 0x129
mov word [esp + 0x3e], cx
mov edx, 0x13c
mov word [esp + 0x40], dx
mov eax, 0x13f
mov word [esp + 0x42], ax
mov ecx, 0x116
mov word [esp + 0x44], cx
mov edx, 0x129
mov word [esp + 0x46], dx
mov eax, 0x13e
mov ecx, 0x12f
mov word [esp + 0x48], ax
mov edx, 0x116
mov word [esp + 0x4a], cx
mov word [esp + 0x4c], dx
mov eax, 0x12a
mov ecx, 0x123
mov edx, 0x13f
mov word [esp + 0x4e], ax
mov word [esp + 0x50], cx
mov eax, 0x13e
mov ecx, edx
mov word [esp + 0x52], dx
xor edx, edx
mov word [esp + 0x54], ax
mov word [esp + 0x56], cx
mov word [esp + 0x58], dx
xor eax, eax
jmp 0x45eda0
movzx ecx, word [esp + eax + 0x34]
mov word [esp + eax + 0x5c], cx
add eax, 2
cmp cx, bp
jne 0x45eda0
lea eax, [esp + 0x5c]
push eax
call fcn.0040fca0
lea eax, [esp + 0x60]
add esp, 4
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45edc5
lea edi, [esp + 0x15c]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x45ede0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push ebp
push ebp
push 3
push ebp
mov ecx, eax
and ecx, 3
push 3
rep movsb byte es:[edi], byte [esi]
push 0x80000000
lea ecx, [esp + 0x174]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x1c], eax
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp edi, 0xffffffff
jne 0x45ee38
mov eax, 1
jmp 0x45f117
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45ee69
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45f034
mov eax, dword [esp + 0x20]
push ebp
push esi
push eax
push 2
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
mov dword [esp + 0x30], ebx
cmp ebx, ebp
je 0x45f034
push ebp
push ebp
push ebp
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x24], eax
cmp eax, ebp
je 0x45f02d
lea ebp, [esi + 1]
push ebp
mov dword [esp + 0x30], ebp
call fcn.005ec342
mov edi, eax
push ebp
mov dword [esp + 0x30], edi
call fcn.005ec342
add esp, 8
mov ebp, eax
test edi, edi
je 0x45f01c
test ebp, ebp
je 0x45f01c
mov cl, 0x7b
mov byte [esp + 0x37], cl
mov byte [esp + 0x3c], cl
mov cl, 0x6e
mov al, 0x61
mov dl, 0x60
mov byte [esp + 0x43], cl
mov byte [esp + 0x46], cl
mov byte [esp + 0x48], cl
mov bl, 0x6a
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], 0x21
mov byte [esp + 0x39], 0x66
mov byte [esp + 0x3a], al
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x7d
mov byte [esp + 0x3e], al
mov byte [esp + 0x3f], bl
mov byte [esp + 0x41], 0x6b
mov byte [esp + 0x42], dl
mov byte [esp + 0x43], 0x78
mov byte [esp + 0x44], al
mov byte [esp + 0x45], 0x63
mov byte [esp + 0x46], dl
mov byte [esp + 0x48], 0x6b
mov byte [esp + 0x49], 0x62
mov byte [esp + 0x4b], al
mov byte [esp + 0x4d], 0x68
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], 0x7d
mov byte [esp + 0x50], 0x21
mov byte [esp + 0x51], 0x6c
mov byte [esp + 0x52], dl
mov byte [esp + 0x53], 0x62
mov byte [esp + 0x54], 0
call fcn.00426ab0
mov edx, dword [esp + 0x28]
push esi
push edx
push edi
call fcn.00619c20
mov ebx, edi
add esp, 0x10
mov byte [edi + esi], 0
cmp byte [ebx], 0
je 0x45f009
push 0xa
push edi
call fcn.00619660
add esp, 8
test eax, eax
je 0x45efa7
mov esi, eax
sub esi, edi
lea eax, [esi + 1]
push eax
push edi
push ebp
call fcn.006198e0
mov byte [esi + ebp + 1], 0
jmp 0x45efbb
mov esi, dword [esp + 0x2c]
lea ecx, [esi - 1]
push ecx
push edi
push ebp
call fcn.006198e0
mov byte [esi + ebp - 1], 0
mov eax, ebp
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45efc3
sub eax, edx
add edi, eax
mov esi, ebp
mov al, byte [esi]
cmp al, 0x20
je 0x45efda
cmp al, 9
jne 0x45efdd
inc esi
jmp 0x45efd0
cmp byte [esi], 0x23
je 0x45effa
push ebp
call fcn.0061ccc5
lea edx, [esp + 0x38]
push edx
push esi
call fcn.00619720
add esp, 0xc
test eax, eax
jne 0x45f001
cmp byte [edi], 0
jne 0x45ef82
jmp 0x45f009
mov dword [esp + 0x14], 1
push ebx
call fcn.005ec337
push ebp
call fcn.005ec337
mov ebx, dword [esp + 0x38]
add esp, 8
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [esp + 0x1c]
xor ebp, ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], ebp
je 0x45f113
mov esi, 0x7565e0
cmp dword [esp + 0x378], ebp
jne 0x45f058
mov esi, 0x7565dc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005f0f3e
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.004338f0
mov dword [esp + 0x370], ebp
lea ecx, [esp + 0x5c]
call fcn.005ee341
cmp eax, 1
jne 0x45f0fb
lea ecx, [esp + 0x15c]
push ecx
call fcn.00451460
add esp, 4
test eax, eax
jne 0x45f0ff
mov dword [esp + 0x18], ebp
cmp dword [0x754bbc], ebp
je 0x45f0ff
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x14]
push edx
push 0x67ac08
push 0x67ac28
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.004a4530
add esp, 0x10
cmp eax, ebp
jne 0x45f0f3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push eax
call edx
test eax, eax
jne 0x45f0e7
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x45f0ff
mov dword [esp + 0x18], ebp
mov dword [esp + 0x370], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.004339b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x368]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.0061807e
add esp, 0x360
ret