Function at 0x4a08f0
Capabilities:
Create process on windows
Print debug messages
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9e70
mov eax, dword fs:[0]
push eax
sub esp, 0x6cc
mov eax, dword [0x649ffc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
push 0xa
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00407a46
movzx eax, al
mov ecx, ebx
push eax
call fcn.004a15e0
mov ecx, ebx
call fcn.00402c65
lea eax, [ebp - 0x630]
mov ecx, ebx
push eax
call fcn.00405ef1
mov eax, dword [0x64f370]
test eax, eax
je 0x4a098f
lea ecx, [ebp - 0x630]
push ecx
push dword [edi + 0xa0]
push dword [edi + 0xa8]
push dword [edi + 0xa4]
push dword [edi]
call eax
add esp, 0x14
test al, al
je 0x4a098f
lea ecx, [ebp - 0x630]
call fcn.00403cdd
jmp 0x4a0d58
mov eax, dword [0x649038]
cmp eax, 2
je 0x4a09a5
cmp eax, 3
je 0x4a09a5
cmp dword [edi], 2
jl 0x4a09fa
jmp 0x4a09c0
cmp dword [ebp - 0x61c], 0x10
lea eax, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x61c], 0x10
lea eax, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
push eax
push 0x5fcb5c
push 2
call fcn.0059be8a
add esp, 4
push eax
call fcn.0041f593
push 2
call fcn.0059be8a
push eax
call fcn.0059c763
add esp, 0x14
push 0
push 0
call fcn.004a1300
mov eax, dword [0x649038]
add esp, 8
test eax, eax
je 0x4a0abb
cmp eax, 2
je 0x4a0abb
cmp dword [0x64f380], 0
jne 0x4a0a35
push 0xffffffffffffffff
push dword [0x64f378]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4a0a40
mov ecx, dword [0x64f374]
call fcn.004af6c0
call fcn.004a14d0
test al, al
je 0x4a0a8b
push 2
push 0
push 0
push dword [0x64f360]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x61c], 0x10
lea ecx, [ebp - 0x67c]
push 0
push ecx
push dword [ebp - 0x620]
lea eax, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
push eax
push dword [0x64f360]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x64f380], 0
mov dword [ebp - 4], 0
jne 0x4a0aa9
push dword [0x64f378]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x4a0ab4
mov ecx, dword [0x64f374]
call fcn.004af6d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
cmp eax, 4
jne 0x4a0b48
mov ecx, 0x400
lea eax, [ebp - 0x630]
cmp dword [ebp - 0x620], ecx
cmovb ecx, dword [ebp - 0x620]
cmp dword [ebp - 0x61c], 0x10
push ecx
cmovae eax, dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.005868f0
lea eax, [ebp - 0x618]
push eax
call fcn.004af670
add esp, 0x10
call fcn.004af680
test al, al
je 0x4a0b1c
call sym.yuntun.exe_public:_void___thiscall_ShellResourceRequestDetails::destructor_void_
jmp 0x4a0d22
cmp dword [0x64f368], 0
je 0x4a0b12
lea eax, [ebp - 0x660]
mov ecx, ebx
push eax
call fcn.00405ef1
push eax
call dword [0x64f368]
add esp, 4
lea ecx, [ebp - 0x660]
jmp 0x4a0d1d
cmp eax, 3
jne 0x4a0d22
cmp dword [0x64f36c], 0
mov ecx, ebx
je 0x4a0b7d
lea eax, [ebp - 0x660]
push eax
call fcn.00405ef1
push eax
call dword [0x64f36c]
add esp, 4
lea ecx, [ebp - 0x660]
jmp 0x4a0d1d
lea eax, [ebp - 0x678]
push eax
call fcn.00405ef1
mov esi, eax
cmp dword [esi + 0x10], 0
lea eax, [esi + 0x10]
mov dword [ebp - 0x67c], eax
je 0x4a0d17
cmp byte [0x64f367], 0
je 0x4a0d17
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00588a77
add esp, 8
test eax, eax
je 0x4a0bda
xor ecx, ecx
mov word [eax + 2], cx
push str.debug_message.exe
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0059bcbe
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x4a0bfb
mov esi, dword [esi]
mov eax, dword [ebp - 0x67c]
mov dword [ebp - 0x684], esi
mov eax, dword [eax]
mov dword [ebp - 0x680], eax
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x648]
push eax
call fcn.004a60b0
add esp, 8
cmp dword [ebp - 0x638], 0
je 0x4a0d0c
cmp dword [ebp - 0x634], 8
lea ecx, [ebp - 0x694]
push ecx
lea ecx, [ebp - 0x6d8]
mov dword [ebp - 0x6d8], 0x44
push ecx
push 0
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
lea eax, [ebp - 0x648]
cmovae eax, dword [ebp - 0x648]
push 0
push eax
lea eax, [ebp - 0x218]
movlpd qword [ebp - 0x6d4], xmm0
push eax
movlpd qword [ebp - 0x6cc], xmm0
movlpd qword [ebp - 0x6c4], xmm0
movlpd qword [ebp - 0x6bc], xmm0
movlpd qword [ebp - 0x6b4], xmm0
movlpd qword [ebp - 0x6ac], xmm0
movlpd qword [ebp - 0x6a4], xmm0
movlpd qword [ebp - 0x69c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4a0ce5
push 0xffffffffffffffff
push dword [ebp - 0x694]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x690]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x694]
call esi
jmp 0x4a0d0c
cmp dword [ebp - 0x634], 8
lea eax, [ebp - 0x648]
push 0x40010
cmovae eax, dword [ebp - 0x648]
push str.Fatal_error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x648]
call fcn.00409de3
lea ecx, [ebp - 0x678]
call fcn.00403cdd
mov edx, dword [ebp - 0x61c]
cmp edx, 0x10
jb 0x4a0d58
mov ecx, dword [ebp - 0x630]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a0d4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a0d87
push edx
push ecx
call fcn.0056e998
add esp, 8
push dword [edi + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.00405bba
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e987
mov esp, ebp
pop ebp
ret
call fcn.0058ac68
int3