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

Disassembly:
push 0xffffffffffffffff
push 0x6223db
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x368]
mov dword fs:[0], eax
or edi, 0xffffffff
push 0x6513c0
mov dword [esp + 0x20], edi
call fcn.00445b00
mov ebx, eax
xor ebp, ebp
add esp, 4
cmp ebx, ebp
je 0x45b42e
push str.SHGetFolderPathW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
je 0x45b422
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 0x45b41c
lea eax, [esp + 0x15c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45b210
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x15a], 0x5c
je 0x45b248
lea edi, [esp + 0x15c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x45b234
mov ecx, dword [0x64f8c0]
mov dword [edi], ecx
call fcn.00445c40
test eax, eax
lea eax, [esp + 0x15c]
je 0x45b29a
add eax, 0xfffffffe
jmp 0x45b260
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x45b260
mov edx, dword [str.Sysnative]
mov ecx, dword [0x659b60]
mov dword [eax], edx
mov edx, dword [0x659b64]
mov dword [eax + 4], ecx
mov ecx, dword [0x659b68]
mov dword [eax + 8], edx
mov edx, dword [0x659b6c]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
jmp 0x45b2da
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x45b2a0
mov ecx, dword [str.System32]
mov edx, dword [0x659b4c]
mov dword [eax], ecx
mov ecx, dword [0x659b50]
mov dword [eax + 4], edx
mov edx, dword [0x659b54]
mov dword [eax + 8], ecx
mov cx, word [0x659b58]
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 0x45b3a0
movzx ecx, word [esp + eax + 0x34]
mov word [esp + eax + 0x5c], cx
add eax, 2
cmp cx, bp
jne 0x45b3a0
lea eax, [esp + 0x5c]
push eax
call fcn.0044ee60
lea eax, [esp + 0x60]
add esp, 4
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45b3c5
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 0x45b3e0
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 0x45b438
mov eax, 1
jmp 0x45b717
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 0x45b469
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45b634
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 0x45b634
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 0x45b62d
lea ebp, [esi + 1]
push ebp
mov dword [esp + 0x30], ebp
call fcn.005cfaa6
mov edi, eax
push ebp
mov dword [esp + 0x30], edi
call fcn.005cfaa6
add esp, 8
mov ebp, eax
test edi, edi
je 0x45b61c
test ebp, ebp
je 0x45b61c
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.005ae7c0
mov edx, dword [esp + 0x28]
push esi
push edx
push edi
call fcn.005fa190
mov ebx, edi
add esp, 0x10
mov byte [edi + esi], 0
cmp byte [ebx], 0
je 0x45b609
push 0xa
push edi
call fcn.005f9b50
add esp, 8
test eax, eax
je 0x45b5a7
mov esi, eax
sub esi, edi
lea eax, [esi + 1]
push eax
push edi
push ebp
call fcn.005f9dd0
mov byte [esi + ebp + 1], 0
jmp 0x45b5bb
mov esi, dword [esp + 0x2c]
lea ecx, [esi - 1]
push ecx
push edi
push ebp
call fcn.005f9dd0
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 0x45b5c3
sub eax, edx
add edi, eax
mov esi, ebp
mov al, byte [esi]
cmp al, 0x20
je 0x45b5da
cmp al, 9
jne 0x45b5dd
inc esi
jmp 0x45b5d0
cmp byte [esi], 0x23
je 0x45b5fa
push ebp
call fcn.005fd46b
lea edx, [esp + 0x38]
push edx
push esi
call fcn.005f9c10
add esp, 0xc
test eax, eax
jne 0x45b601
cmp byte [edi], 0
jne 0x45b582
jmp 0x45b609
mov dword [esp + 0x14], 1
push ebx
call fcn.005cfa9b
push ebp
call fcn.005cfa9b
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 0x45b713
mov esi, 0x710f18
cmp dword [esp + 0x378], ebp
jne 0x45b658
mov esi, 0x710f14
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005d4546
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.00432210
mov dword [esp + 0x370], ebp
lea ecx, [esp + 0x5c]
call fcn.005d199e
cmp eax, 1
jne 0x45b6fb
lea ecx, [esp + 0x15c]
push ecx
call fcn.0044eeb0
add esp, 4
test eax, eax
jne 0x45b6ff
mov dword [esp + 0x18], ebp
cmp dword [0x70f5d4], ebp
je 0x45b6ff
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x14]
push edx
push 0x6599a0
push 0x6599c0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.0049aa70
add esp, 0x10
cmp eax, ebp
jne 0x45b6f3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push eax
call edx
test eax, eax
jne 0x45b6e7
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 0x45b6ff
mov dword [esp + 0x18], ebp
mov dword [esp + 0x370], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.004322d0
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.005f85e7
add esp, 0x360
ret