Function at 0x401ba0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544068
mov eax, dword fs:[0]
push eax
sub esp, 0x4f8
mov eax, dword [0x5a61c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4e0], ecx
mov dword [ebp - 0x418], 8
mov dword [ebp - 0x414], 0xff
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0x4e0]
call fcn.0040461d
push 0
call fcn.00405048
add esp, 4
push 0xc
call fcn.00402b40
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x4e4], 0
je 0x401c44
push 0xc
mov ecx, dword [ebp - 0x4e4]
call fcn.00401b80
mov ecx, dword [ebp - 0x4e4]
call fcn.00405c81
mov dword [ebp - 0x4f0], eax
jmp 0x401c4e
mov dword [ebp - 0x4f0], 0
mov ecx, dword [ebp - 0x4f0]
mov dword [ebp - 0x4f8], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4f8]
mov dword [ebp - 0x4f4], edx
push 0x555a50
call fcn.0040da2d
push 0x586e88
push 0x100
push 0x5b1d76
call fcn.0052bd5c
add esp, 0xc
push str.HOfficeDN_2024_Light.exe
push 0x100
push 0x5b1f76
call fcn.0052bd5c
add esp, 0xc
push 0xc0
lea ecx, [ebp - 0x4d8]
call fcn.00401b80
push 0
lea ecx, [ebp - 0x4d8]
call fcn.00402b80
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x4e0]
lea ecx, [ebp - 0x4d8]
mov dword [eax + 0x20], ecx
lea ecx, [ebp - 0x4d8]
call fcn.00410f9d
mov dword [ebp - 0x4e8], eax
mov dword [ebp - 0x4ec], 0
cmp dword [ebp - 0x4e8], 1
jne 0x401de7
push 0
push 0
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x4e0]
call fcn.00401f10
mov dword [ebp - 0x4ec], eax
cmp dword [ebp - 0x4ec], 1
jne 0x401dd3
lea ecx, [ebp - 0x210]
push ecx
push 0x100
lea edx, [ebp - 0x410]
push edx
call fcn.0052bd5c
add esp, 0xc
movzx eax, byte [0x5b1d74]
cmp eax, 1
jne 0x401d99
push 0x5b1d76
lea ecx, [ebp - 0x410]
push ecx
call fcn.00402210
add esp, 8
push 5
lea edx, [ebp - 0x210]
push edx
push 0
lea eax, [ebp - 0x410]
push eax
push 0x586eec
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401dd1
push 0x5b1f76
lea ecx, [ebp - 0x410]
push ecx
call fcn.00402210
add esp, 8
push 5
lea edx, [ebp - 0x210]
push edx
push 0
lea eax, [ebp - 0x410]
push eax
push str.Open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401de7
push 0
push str.Error
push str.HancomDN_Copy_Error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x4f4], 0
je 0x401e38
mov ecx, dword [ebp - 0x4f4]
mov dword [ebp - 0x504], ecx
mov edx, dword [ebp - 0x504]
mov dword [ebp - 0x4dc], edx
cmp dword [ebp - 0x4dc], 0
je 0x401e2e
push 1
mov eax, dword [ebp - 0x4dc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4dc]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x500], eax
jmp 0x401e38
mov dword [ebp - 0x500], 0
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d8]
call fcn.00401e80
mov eax, dword [ebp - 0x4fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052bc0d
mov esp, ebp
pop ebp
ret