Function at 0x404c20
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x6030
call fcn.00408020
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x407db0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [0x4c9578]
mov ecx, dword [0x4c9590]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x2c8]
jg 0x405791
nop
mov dword [ebp - 0x10], 0xffffffff
sub esp, 0x18
movaps xmm0, xmmword [0x4a4300]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], 0x4ae12a
mov dword [esp], 0
call dword [0x4c9574]
call fcn.004085a0
mov edi, eax
mov esi, dword [0x4c553c]
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x19c], 0
je 0x40540f
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x194]
cmp byte [ecx + 0x199], 0
je 0x404cf7
xor dword [eax], 0x2ddf1769
xor byte [eax + 4], 0xaf
mov byte [eax + 5], 0
nop
push esi
push eax
push edi
call fcn.00408740
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x1a8], 0
je 0x40545a
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x1a0]
cmp byte [ecx + 0x1a7], 0
je 0x404d51
xor dword [eax], 0xb59ba741
xor byte [eax + 4], 0xe3
xor byte [eax + 5], 0xa9
xor byte [eax + 6], 0xe3
mov byte [eax + 7], 0
nop
push 0x40000000
push 0
push eax
push edi
call fcn.00408680
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x1b4], 0
je 0x4054a2
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [ebp + 0x14]
movsd qword [ebp - 0x2c], xmm0
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x1ac]
cmp byte [ecx + 0x1b1], 0
je 0x404db5
xor dword [eax], 0x1d0d9b93
xor byte [eax + 4], 0x3f
mov byte [eax + 5], 0
sub esp, 0x10
movsd xmm0, qword [ebp - 0x2c]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00408680
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x1c0], 0
je 0x4054ed
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x1b8]
cmp byte [ecx + 0x1bc], 0
je 0x404e14
xor dword [eax], 0x9111cf51
mov byte [eax + 4], 0
nop
push 0x40100000
push 0
push eax
push edi
call fcn.00408680
push edi
call fcn.00408420
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call ebx
mov esi, eax
push edi
call fcn.00408420
push esi
push eax
call section..text
add esp, 8
mov dword [ebp - 0x20], eax
push eax
call ebx
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 + 0x1d4], 0
je 0x405536
nop
mov dword [ebp - 0x24], edi
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x1c8]
cmp byte [ecx + 0x1d0], 0
je 0x404ead
movsd xmm0, qword [eax]
xorps xmm0, xmmword [0x4a4330]
movlps qword [eax], xmm0
mov byte [eax + 8], 0
nop
mov edi, dword [ebp - 0x20]
push edi
push eax
push esi
push ebx
call fcn.004035d0
add esp, 0x10
lea esi, [ebp - 0x403c]
push 0x2000
push 0
push esi
call fcn.00482300
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x2000
push esi
push eax
push ebx
call fcn.00401400
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call esi
push edi
call esi
push dword [ebp - 0x24]
call fcn.00408440
lea eax, [ebp - 0x403c]
push eax
call fcn.00408290
mov edi, eax
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x1e0], 0
je 0x405585
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x1d8]
cmp byte [ecx + 0x1dd], 0
je 0x404f54
xor dword [eax], 0x9fd50b51
not byte [eax + 4]
mov byte [eax + 5], 0
nop
push eax
push edi
call fcn.004084c0
mov esi, eax
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x1ec], 0
je 0x4055d0
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x1e4]
cmp byte [ecx + 0x1e9], 0
je 0x404fa7
xor dword [eax], 0x1f156fd1
xor byte [eax + 4], 0xb5
mov byte [eax + 5], 0
nop
push eax
mov dword [ebp - 0x24], edi
push edi
call fcn.004084c0
lea edi, [ebp - 0x603c]
push 0x2000
push 0
push edi
call fcn.00482300
add esp, 0xc
push dword [esi + 0x10]
push 0x4c332c
push 0x4c2f2c
push 0x4c2d2c
push str._hs:___hs_hs_coon__hs.zip
push 0x2000
push edi
call fcn.00405a50
add esp, 0x1c
push str.File_Name
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenA]
call eax
lea ebx, [ebp - 0x203c]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push ebx
push eax
push str.File_Name
push dword [0x4c9570]
call edi
mov esi, dword [esi + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
push ebx
push eax
push esi
push dword [0x4c9570]
call edi
push dword [0x4c9564]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4ae0fe
push ebx
call esi
push dword [ebp + 8]
push ebx
call esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x603c]
push eax
call fcn.00401650
add esp, 8
mov esi, eax
mov dword [ebp - 0x30], eax
sub esp, 0x1c
movaps xmm0, xmmword [0x4a41e0]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x38]
push 0
push eax
push ecx
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Payload_Data:
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
call ebx
lea edi, [ebp - 0x3c]
push 0
push edi
push eax
push str.Payload_Data:
push dword [0x4c9570]
call esi
push 0x4add73
call ebx
push 0
push edi
push eax
push 0x4add73
push dword [0x4c9570]
call esi
push 0x4add73
call ebx
push 0
push edi
push eax
push 0x4add73
push dword [0x4c9570]
call esi
mov eax, esi
push 0
push edi
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
push esi
push dword [0x4c9570]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ebx, [ebp - 0x203c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push 0
push esi
push edi
push eax
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov dword [ebp - 0x20], edi
mov dword [esp], edi
call fcn.00401a70
add esp, 0x10
call fcn.004085a0
mov ebx, eax
mov esi, dword [0x4c553c]
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x1f8], 0
je 0x40561b
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x1f0]
cmp byte [ecx + 0x1f5], 0
je 0x4051e8
xor dword [eax], 0x77df0be3
xor byte [eax + 4], 0xd1
mov byte [eax + 5], 0
nop
push esi
push eax
push ebx
call fcn.00408740
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x208], 0
je 0x405666
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x200]
cmp byte [ecx + 0x207], 0
je 0x405242
xor dword [eax], 0xdda7f3ed
xor byte [eax + 4], 0x71
xor byte [eax + 5], 0x13
xor byte [eax + 6], 0x4d
mov byte [eax + 7], 0
nop
push 0x40080000
push 0
push eax
push ebx
call fcn.00408680
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x214], 0
je 0x4056ae
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x20c]
cmp byte [ecx + 0x211], 0
je 0x40529a
xor dword [eax], 0x6965d557
xor byte [eax + 4], 0xc5
mov byte [eax + 5], 0
sub esp, 0x10
movsd xmm0, qword [ebp - 0x2c]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00408680
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x220], 0
je 0x4056f9
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x218]
cmp byte [ecx + 0x21c], 0
je 0x4052f9
xor dword [eax], 0xc107ed37
mov byte [eax + 4], 0
nop
push 0x40100000
push 0
push eax
push ebx
call fcn.00408680
push ebx
call fcn.00408420
push eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
mov esi, eax
mov dword [ebp - 0x2c], ebx
push ebx
call fcn.00408420
push esi
push eax
call section..text
add esp, 8
mov esi, eax
push eax
call edi
mov ebx, eax
add ebx, 0x100
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x234], 0
je 0x405742
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
lea eax, [ecx + 0x228]
cmp byte [ecx + 0x230], 0
je 0x405391
movsd xmm0, qword [eax]
xorps xmm0, xmmword [0x4a4360]
movlps qword [eax], xmm0
mov byte [eax + 8], 0
nop
push esi
push eax
push ebx
push edi
call fcn.004035d0
add esp, 0x10
push 0x2000
push 0
lea ebx, [ebp - 0x403c]
push ebx
call fcn.00482300
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x2000
push ebx
push eax
push edi
call fcn.00401400
add esp, 0x10
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call edi
push esi
call edi
push dword [ebp - 0x2c]
call fcn.00408440
push dword [ebp - 0x24]
call fcn.00408440
lea eax, [ebp - 0x203c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x20]
call edi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
xor eax, eax
add esp, 0x6030
pop esi
pop edi
pop ebx
pop ebp
ret
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x19c], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x194], 0x49b66001
mov word [eax + 0x198], 0x1af
push 0x407980
call fcn.00407fab
add esp, 4
jmp 0x404cca
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x1a8], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
movsd xmm0, qword [0x4a4310]
movsd qword [eax + 0x1a0], xmm0
push 0x4079b0
call fcn.00407fab
add esp, 4
jmp 0x404d1c
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x1b4], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x1ac], 0x787de2e7
mov word [eax + 0x1b0], 0x13f
push 0x4079e0
call fcn.00407fab
add esp, 4
jmp 0x404d7c
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x1c0], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x1bc], 1
mov dword [eax + 0x1b8], 0x9163aa27
push 0x407a10
call fcn.00407fab
add esp, 4
jmp 0x404deb
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x1d4], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x1d0], 1
movsd xmm0, qword [0x4a4320]
movsd qword [eax + 0x1c8], xmm0
push 0x407a30
call fcn.00407fab
add esp, 4
jmp 0x404e79
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x1e0], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x1d8], 0xfab86a3f
mov word [eax + 0x1dc], 0x1ff
push 0x407a60
call fcn.00407fab
add esp, 4
jmp 0x404f28
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x1ec], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x1e4], 0x6c660ea1
mov word [eax + 0x1e8], 0x1b5
push 0x407a90
call fcn.00407fab
add esp, 4
jmp 0x404f7a
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x1f8], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x1f0], 0x13b67c8b
mov word [eax + 0x1f4], 0x1d1
push 0x407ac0
call fcn.00407fab
add esp, 4
jmp 0x4051bb
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x208], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
movsd xmm0, qword [0x4a4340]
movsd qword [eax + 0x200], xmm0
push 0x407af0
call fcn.00407fab
add esp, 4
jmp 0x40520d
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x214], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x20c], 0xc15ac23
mov word [eax + 0x210], 0x1c5
push 0x407b20
call fcn.00407fab
add esp, 4
jmp 0x40526d
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x220], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x21c], 1
mov dword [eax + 0x218], 0xc1758841
push 0x407b50
call fcn.00407fab
add esp, 4
jmp 0x4052d0
nop
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x234], 1
mov eax, dword [0x4c9590]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov byte [eax + 0x230], 1
movsd xmm0, qword [0x4a4350]
movsd qword [eax + 0x228], xmm0
push 0x407b70
call fcn.00407fab
add esp, 4
jmp 0x405360
nop
push 0x4c9578
call fcn.00407e4a
add esp, 4
cmp dword [0x4c9578], 0xffffffff
jne 0x404c75
nop
mov dword [ebp - 0x10], 0
push 0x4adce7
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
push str.MessageBoxTimeoutW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov dword [0x4c9574], eax
nop
push 0x4c9578
call fcn.00407ec4
add esp, 4
jmp 0x404c75