Function at 0x4270f0
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ae96
mov eax, dword fs:[0]
push eax
sub esp, 0x158
push esi
push edi
mov eax, dword [0x6dd8d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x42732f
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x6ee264], 1
jne 0x4271cd
push 1
push 0x40
push 8
push 0x5b376c
lea ecx, [ebp - 0x164]
call fcn.0040c520
lea eax, [ebp - 0x164]
mov dword [ebp - 4], 0
push str._nWN_Scan:
push eax
call fcn.0040afa0
lea eax, [ebp - 0x164]
push edi
push eax
call fcn.0040afa0
add esp, 0x10
lea ecx, [ebp - 0x160]
call fcn.0040a310
test eax, eax
jne 0x4271af
push eax
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x164]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c630
lea ecx, [ebp - 0x104]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [0x6ee274], 1
jne 0x4272ae
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCR120.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCR120.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xbc]
mov esi, eax
push 1
push 0x40
push 8
push 0x5b1318
call fcn.0040c520
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 1
push 0x5b131c
push eax
call fcn.0040afa0
push esi
call dword [sym.imp.MSVCR120.dll_asctime]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0040afa0
lea eax, [ebp - 0xbc]
push str.WN_Scan:
push eax
call fcn.0040afa0
lea eax, [ebp - 0xbc]
push edi
push eax
call fcn.0040afa0
lea eax, [ebp - 0xbc]
push 0x5b133c
push eax
call fcn.0040afa0
add esp, 0x2c
lea ecx, [ebp - 0xb8]
call fcn.0040a310
test eax, eax
jne 0x427290
push eax
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x5b1364
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x5c]
call fcn.0040c630
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [0x6ee268]
push 0
cmp eax, 1
jne 0x4272e0
push 0
push 0
push 0x4213e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x4272f0
push 0
push 0
push 0x421360
jmp 0x4272c3
cmp eax, 3
jne 0x427300
push 0
push 0
push 0x421460
jmp 0x4272c3
cmp eax, 4
jne 0x42732d
push 0
push 0
push 0x40f490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.WN_Scan
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4272d8
jmp 0x4272da
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret