Function at 0x401f70
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push 1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401fc7
push 0
lea eax, [esp + 0x18]
push 0
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [esp + 0x14]
push 0x10
push str.ERRORE_GESTORE_PROTEZIONE
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00402b08
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextChangeNotification]
push 0xffffffffffffffff
push esi
call ebx
cmp eax, 0xffffffff
je 0x401fef
push edi
call 0x402070
add esp, 4
push esi
call ebp
test eax, eax
je 0x40202c
jmp 0x401fd3
push 0
lea edx, [esp + 0x18]
push 0
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [esp + 0x14]
push 0x10
push str.ERRORE_GESTORE_PROTEZIONE
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00402b08
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0x14]
push 0x10
push str.ERRORE_GESTORE_PROTEZIONE
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00402b08
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x268
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x270]
push ebp
push esi
push edi
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40c31c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x84]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..xxi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x160]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x88]
push ecx
call fcn.0040314e
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
je 0x402240
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40c038
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x174]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x60]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call fcn.00409b64
add esp, 8
test eax, eax
jne 0x402227
mov eax, dword [esp + 0x74]
test eax, eax
jg 0x402227
lea edx, [esp + 0xd4]
push edx
call fcn.00402250
lea eax, [esp + 0x178]
lea ecx, [esp + 0xd8]
push eax
push ecx
call fcn.00402430
push 0x40
lea edx, [esp + 0x20]
push 0x8201
push edx
call fcn.00402bdd
mov esi, eax
lea eax, [esp + 0xec]
push 0x8a
push eax
push esi
call fcn.00403341
push esi
call fcn.0040291b
add esp, 0x28
mov ecx, 0x22
xor eax, eax
lea edi, [esp + 0xd4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x160]
push ecx
push ebp
call fcn.00403218
add esp, 8
test eax, eax
je 0x402127
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x268
ret