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

Disassembly:
push 0xffffffffffffffff
push 0x64778b
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x368]
mov dword fs:[0], eax
or edi, 0xffffffff
push 0x678488
mov dword [esp + 0x20], edi
call fcn.00447580
mov ebx, eax
xor ebp, ebp
add esp, 4
cmp ebx, ebp
je 0x461bfe
push str.SHGetFolderPathW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
je 0x461bf2
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 0x461bec
lea eax, [esp + 0x15c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4619e0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x15a], 0x5c
je 0x461a18
lea edi, [esp + 0x15c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x461a04
mov ecx, dword [0x676978]
mov dword [edi], ecx
call fcn.004476c0
test eax, eax
lea eax, [esp + 0x15c]
je 0x461a6a
add eax, 0xfffffffe
jmp 0x461a30
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x461a30
mov edx, dword [str.Sysnative]
mov ecx, dword [0x680eec]
mov dword [eax], edx
mov edx, dword [0x680ef0]
mov dword [eax + 4], ecx
mov ecx, dword [0x680ef4]
mov dword [eax + 8], edx
mov edx, dword [0x680ef8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
jmp 0x461aaa
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x461a70
mov ecx, dword [str.System32]
mov edx, dword [0x680ed8]
mov dword [eax], ecx
mov ecx, dword [0x680edc]
mov dword [eax + 4], edx
mov edx, dword [0x680ee0]
mov dword [eax + 8], ecx
mov cx, word [0x680ee4]
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 0x461b70
movzx ecx, word [esp + eax + 0x34]
mov word [esp + eax + 0x5c], cx
add eax, 2
cmp cx, bp
jne 0x461b70
lea eax, [esp + 0x5c]
push eax
call fcn.0040fd80
lea eax, [esp + 0x60]
add esp, 4
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x461b95
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 0x461bb0
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 0x461c08
mov eax, 1
jmp 0x461ee7
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 0x461c39
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x461e04
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 0x461e04
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 0x461dfd
lea ebp, [esi + 1]
push ebp
mov dword [esp + 0x30], ebp
call fcn.005f15c2
mov edi, eax
push ebp
mov dword [esp + 0x30], edi
call fcn.005f15c2
add esp, 8
mov ebp, eax
test edi, edi
je 0x461dec
test ebp, ebp
je 0x461dec
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.00453050
mov edx, dword [esp + 0x28]
push esi
push edx
push edi
call fcn.0061eea0
mov ebx, edi
add esp, 0x10
mov byte [edi + esi], 0
cmp byte [ebx], 0
je 0x461dd9
push 0xa
push edi
call fcn.0061e8e0
add esp, 8
test eax, eax
je 0x461d77
mov esi, eax
sub esi, edi
lea eax, [esi + 1]
push eax
push edi
push ebp
call fcn.0061eb60
mov byte [esi + ebp + 1], 0
jmp 0x461d8b
mov esi, dword [esp + 0x2c]
lea ecx, [esi - 1]
push ecx
push edi
push ebp
call fcn.0061eb60
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 0x461d93
sub eax, edx
add edi, eax
mov esi, ebp
mov al, byte [esi]
cmp al, 0x20
je 0x461daa
cmp al, 9
jne 0x461dad
inc esi
jmp 0x461da0
cmp byte [esi], 0x23
je 0x461dca
push ebp
call fcn.00621f83
lea edx, [esp + 0x38]
push edx
push esi
call fcn.0061e9a0
add esp, 0xc
test eax, eax
jne 0x461dd1
cmp byte [edi], 0
jne 0x461d52
jmp 0x461dd9
mov dword [esp + 0x14], 1
push ebx
call fcn.005f15b7
push ebp
call fcn.005f15b7
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 0x461ee3
mov esi, 0x75c5d8
cmp dword [esp + 0x378], ebp
jne 0x461e28
mov esi, 0x75c5d4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005f610f
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.004339f0
mov dword [esp + 0x370], ebp
lea ecx, [esp + 0x5c]
call fcn.005f3511
cmp eax, 1
jne 0x461ecb
lea ecx, [esp + 0x15c]
push ecx
call fcn.00454250
add esp, 4
test eax, eax
jne 0x461ecf
mov dword [esp + 0x18], ebp
cmp dword [0x75aba4], ebp
je 0x461ecf
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x14]
push edx
push 0x680ce8
push 0x680d08
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.004a8dc0
add esp, 0x10
cmp eax, ebp
jne 0x461ec3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push eax
call edx
test eax, eax
jne 0x461eb7
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 0x461ecf
mov dword [esp + 0x18], ebp
mov dword [esp + 0x370], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.00433ab0
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.0061d2ff
add esp, 0x360
ret