Function at 0x4076e0
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 0x46dabe
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b8
mov eax, dword [0x4833a8]
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 0x407670
push 0
push 0
mov dword [ebp - 0x16c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.00405470
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 [str._bkhiBI]
mov edi, eax
movups xmm0, xmmword [0x47e774]
mov esi, dword [0x4e2580]
mov eax, 4
mov dword [ebp - 0x174], ecx
mov cx, word [0x47e788]
mov word [ebp - 0x170], cx
movups xmmword [ebp - 0x184], xmm0
test ch, ch
je 0x407927
xor edx, edx
mov dword [ebp - 0x16c], edx
cmp esi, 2
jl 0x4078f0
movaps xmm0, xmmword [str.4444444444444444]
movaps xmm4, xmmword [0x47ecf0]
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed10]
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 [0x47ed70]
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 [0x47ed70]
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 0x4077e0
mov dword [ebp - 0x16c], edx
cmp edx, 0x16
jge 0x407927
nop
mov eax, 0x51eb851f
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, 0x32
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x184], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x16
jl 0x4078f0
lea edx, [ebp - 0x184]
mov ecx, edi
call fcn.0040b6c0
call fcn.00405520
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 [0x47e2d4]
mov ecx, dword [0x47e2ec]
xor edx, edx
mov dword [ebp - 0x174], ecx
mov edi, eax
mov cx, word [0x47e2f0]
mov word [ebp - 0x170], cx
mov cl, byte [0x47e2f2]
mov byte [ebp - 0x16e], cl
mov dword [ebp - 0x16c], edx
movups xmmword [ebp - 0x18c], xmm0
movq xmm0, qword [0x47e2e4]
movq qword [ebp - 0x17c], xmm0
cmp esi, 2
jl 0x407af0
movaps xmm0, xmmword [str.4444444444444444]
mov eax, 4
movaps xmm4, xmmword [0x47ecf0]
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed10]
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 [0x47ed70]
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 [0x47ed70]
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 0x4079e0
mov dword [ebp - 0x16c], edx
cmp edx, 0x1f
jge 0x407b27
nop
mov eax, 0x51eb851f
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, 0x32
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x18c], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x1f
jl 0x407af0
lea edx, [ebp - 0x18c]
mov ecx, edi
call fcn.0040b6c0
call fcn.004066f0
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 [0x47e71c]
mov edi, eax
movups xmmword [ebp - 0x180], xmm0
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x407cf5
xor edx, edx
mov dword [ebp - 0x16c], edx
cmp esi, 2
jl 0x407cc5
movaps xmm0, xmmword [str.4444444444444444]
mov eax, 4
movaps xmm4, xmmword [0x47ecf0]
xor ecx, ecx
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed10]
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 [0x47ed70]
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 [0x47ed70]
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 0x407bc0
jmp 0x407cf5
mov eax, 0x51eb851f
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [ebp - 0x16c]
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x180], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x10
jl 0x407cc5
lea edx, [ebp - 0x180]
mov ecx, edi
call fcn.0040b6c0
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 0x408343
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.0040d270
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], 0x47e674
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 - 0x110], 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 [0x4e2598]
mov ecx, dword [0x4e259c]
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.0040ac90
test eax, eax
jne 0x407e6d
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 - 0x110], 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 0x483428
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.0040a110
test eax, eax
jne 0x407eda
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 0x408348
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.0040d270
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 0x407fa6
mov edx, str.__X__CreateProcess_failed__
jmp 0x407fcd
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 0x407fff
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.0040b6c0
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, 0x47d3bc
mov ecx, eax
call fcn.0040b6c0
mov esi, 1
jmp 0x40825a
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.0040b6c0
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, 0x47d400
mov ecx, eax
call fcn.0040b6c0
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 [0x47e72c]
mov ecx, dword [0x47e744]
mov esi, eax
mov dword [ebp - 0x1a8], ecx
mov cx, word [0x47e748]
mov word [ebp - 0x1a4], cx
movups xmmword [ebp - 0x1c0], xmm0
movq xmm0, qword [0x47e73c]
movq qword [ebp - 0x1b0], xmm0
test ch, ch
je 0x408239
xor edx, edx
cmp dword [0x4e2580], 2
mov dword [ebp - 0x16c], edx
jl 0x408202
movaps xmm0, xmmword [str.4444444444444444]
mov eax, 4
movaps xmm4, xmmword [0x47ecf0]
movaps xmm3, xmmword [0x47ed90]
movaps xmm6, xmmword [0x47ed10]
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 [0x47ed70]
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 [0x47ed70]
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 0x4080f4
mov dword [ebp - 0x16c], edx
cmp edx, 0x1e
jge 0x408239
mov eax, 0x51eb851f
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, 0x32
sub cl, al
add cl, 0x34
xor byte [ebp + edx - 0x1c0], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x1e
jl 0x408202
lea edx, [ebp - 0x1c0]
mov ecx, esi
call fcn.0040b6c0
mov ecx, eax
call fcn.0040b8f0
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x40828e
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408284
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408313
push edx
push ecx
call fcn.0046bfdd
add esp, 8
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00408350
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4082db
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4082d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408313
push edx
push ecx
call fcn.0046bfdd
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 0x408323
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408319
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408319
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046bfdd
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.0046bda2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004011c0
call fcn.004011c0
int3