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

Disassembly:
sub esp, 0x350
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x34c], eax
push ebx
push ebp
push esi
push edi
or edi, 0xffffffff
push 0x670490
mov dword [esp + 0x14], edi
call fcn.00447330
mov ebx, eax
xor ebp, ebp
add esp, 4
cmp ebx, ebp
je 0x451c5f
push str.SHGetFolderPathW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
je 0x451c53
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x54]
push eax
push ebp
push ebp
push 0x24
push ebp
call esi
test eax, eax
jne 0x451c4d
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x451a50
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x52], 0x5c
je 0x451a84
lea edi, [esp + 0x54]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x451a70
mov ecx, dword [0x66e980]
mov dword [edi], ecx
call fcn.00447470
test eax, eax
lea eax, [esp + 0x54]
je 0x451ace
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x451a94
mov edx, dword [str.Sysnative]
mov ecx, dword [0x678e0c]
mov dword [eax], edx
mov edx, dword [0x678e10]
mov dword [eax + 4], ecx
mov ecx, dword [0x678e14]
mov dword [eax + 8], edx
mov edx, dword [0x678e18]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
jmp 0x451b0b
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x451ad1
mov ecx, dword [str.System32]
mov edx, dword [0x678df8]
mov dword [eax], ecx
mov ecx, dword [0x678dfc]
mov dword [eax + 4], edx
mov edx, dword [0x678e00]
mov dword [eax + 8], ecx
mov cx, word [0x678e04]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
mov edx, 0x116
mov word [esp + 0x2c], dx
mov eax, 0x12e
mov word [esp + 0x2e], ax
mov ecx, 0x13c
mov word [esp + 0x30], cx
mov edx, 0x125
mov word [esp + 0x32], dx
mov eax, 0x138
mov word [esp + 0x34], ax
mov ecx, 0x129
mov word [esp + 0x36], cx
mov edx, 0x13c
mov word [esp + 0x38], dx
mov eax, 0x13f
mov word [esp + 0x3a], ax
mov ecx, 0x116
mov word [esp + 0x3c], cx
mov edx, 0x129
mov word [esp + 0x3e], dx
mov eax, 0x13e
mov ecx, 0x12f
mov word [esp + 0x40], ax
mov edx, 0x116
mov word [esp + 0x42], cx
mov word [esp + 0x44], dx
mov eax, 0x12a
mov ecx, 0x123
mov edx, 0x13f
mov word [esp + 0x46], ax
mov word [esp + 0x48], cx
mov eax, 0x13e
mov ecx, edx
mov word [esp + 0x4a], dx
xor edx, edx
mov word [esp + 0x4c], ax
mov word [esp + 0x4e], cx
mov word [esp + 0x50], dx
xor eax, eax
jmp 0x451bd0
movzx ecx, word [esp + eax + 0x2c]
mov word [esp + eax + 0x25c], cx
add eax, 2
cmp cx, bp
jne 0x451bd0
lea eax, [esp + 0x25c]
push eax
call fcn.0040f970
lea eax, [esp + 0x260]
add esp, 4
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x451c00
lea edi, [esp + 0x54]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x451c14
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 + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp edi, 0xffffffff
jne 0x451c66
xor eax, eax
jmp 0x451e71
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x451c8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x451e66
mov eax, dword [esp + 0x14]
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 + 0x28], ebx
cmp ebx, ebp
je 0x451e66
push ebp
push ebp
push ebp
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x18], eax
cmp eax, ebp
je 0x451e5f
lea ebp, [esi + 1]
push ebp
mov dword [esp + 0x28], ebp
call fcn.005e9aa7
mov edi, eax
push ebp
mov dword [esp + 0x28], edi
call fcn.005e9aa7
add esp, 8
mov ebp, eax
test edi, edi
je 0x451e50
test ebp, ebp
je 0x451e50
mov cl, 0x7b
mov byte [esp + 0x2f], cl
mov byte [esp + 0x34], cl
mov cl, 0x6e
mov al, 0x61
mov dl, 0x60
mov byte [esp + 0x3b], cl
mov byte [esp + 0x3e], cl
mov byte [esp + 0x40], cl
mov bl, 0x6a
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x30], 0x21
mov byte [esp + 0x31], 0x66
mov byte [esp + 0x32], al
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0x7d
mov byte [esp + 0x36], al
mov byte [esp + 0x37], bl
mov byte [esp + 0x39], 0x6b
mov byte [esp + 0x3a], dl
mov byte [esp + 0x3b], 0x78
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], 0x63
mov byte [esp + 0x3e], dl
mov byte [esp + 0x40], 0x6b
mov byte [esp + 0x41], 0x62
mov byte [esp + 0x43], al
mov byte [esp + 0x45], 0x68
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], 0x7d
mov byte [esp + 0x48], 0x21
mov byte [esp + 0x49], 0x6c
mov byte [esp + 0x4a], dl
mov byte [esp + 0x4b], 0x62
mov byte [esp + 0x4c], 0
call fcn.004501e0
mov edx, dword [esp + 0x1c]
push esi
push edx
push edi
call fcn.00617370
mov ebx, edi
add esp, 0x10
mov byte [edi + esi], 0
cmp byte [ebx], 0
je 0x451e3d
push 0xa
push edi
call fcn.00616db0
add esp, 8
test eax, eax
je 0x451dcd
mov esi, eax
sub esi, edi
lea eax, [esi + 1]
push eax
push edi
push ebp
call fcn.00617030
mov byte [esi + ebp + 1], 0
jmp 0x451de1
mov esi, dword [esp + 0x24]
lea ecx, [esi - 1]
push ecx
push edi
push ebp
call fcn.00617030
mov byte [esi + ebp - 1], 0
mov eax, ebp
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451df0
sub eax, edx
add edi, eax
mov esi, ebp
lea ecx, [ecx]
mov al, byte [esi]
cmp al, 0x20
je 0x451e0a
cmp al, 9
jne 0x451e0d
inc esi
jmp 0x451e00
cmp byte [esi], 0x23
je 0x451e2a
push ebp
call fcn.0061a415
lea edx, [esp + 0x30]
push edx
push esi
call fcn.00616e70
add esp, 0xc
test eax, eax
jne 0x451e35
cmp byte [edi], 0
jne 0x451da8
jmp 0x451e3d
mov dword [esp + 0x1c], 1
push ebx
call fcn.005e9ab2
push ebp
call fcn.005e9ab2
mov ebx, dword [esp + 0x30]
add esp, 8
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x35c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006157d3
add esp, 0x350
ret