Function at 0x404efc
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.0040533b
sub esp, 0xc
lea eax, [ebp - 1]
mov ecx, esp
push eax
push dword [0x411124]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
sub esp, 0x10
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp - 0x24]
push eax
call fcn.0040b3ed
add esp, 0x24
mov esi, 0x411a20
mov ecx, esi
push eax
call fcn.004058d5
lea ecx, [ebp - 0x24]
call fcn.00401b30
mov edi, dword [ebp + 0x10]
mov eax, 0x40db18
xor ebx, ebx
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x404f82
cmp cl, bl
je 0x404f7e
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x404f82
inc edi
inc edi
inc eax
inc eax
cmp cl, bl
jne 0x404f60
xor eax, eax
jmp 0x404f87
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x404fea
push 1
push 0x12
push str.licence_code.txt
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::constructor_char_const___int_]
push 0x34
mov ecx, esi
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
pop ecx
pop ecx
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::close_void_]
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 1
pop eax
jmp 0x405334
push 3
mov ecx, esi
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::data_void_const]
cmp byte [eax], bl
push 0x40d5cc
push 0xe
mov ecx, esi
setne al
mov byte [0x4117a9], al
call fcn.00401b5f
push eax
lea eax, [ebp - 0x14]
push str.Software_
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov ecx, 0x4117c8
push eax
call dword [0x40d2d4]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0xe
mov ecx, esi
call fcn.00401b5f
mov edi, 0x411a58
push eax
mov ecx, edi
call dword [0x40d2d4]
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40508e
push 1
pop ebx
jmp 0x405329
call fcn.00405420
push 0x104
push 0x4117ec
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0040b4ed
push ebx
mov byte [0x411d5c], al
push str.ProductName
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea eax, [ebp - 0x14]
push closesocket
push eax
call fcn.00405e1a
add esp, 0x14
mov edi, 0x411a48
mov ecx, edi
push eax
call dword [0x40d2d4]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp byte [0x411d5c], bl
je 0x4050f0
push str.__64_bit_
jmp 0x4050f5
push str.__32_bit_
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [0x411a10]
cmp eax, ebx
je 0x40510d
call eax
mov dword [0x41112c], eax
push 0xb
mov ecx, esi
call fcn.00401b5f
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b2fa
pop ecx
pop ecx
push eax
mov ecx, 0x4117d8
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
push 4
mov ecx, esi
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::data_void_const]
cmp byte [eax], bl
push 5
mov ecx, esi
setne al
mov byte [0x4117e8], al
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::data_void_const]
cmp byte [eax], bl
push 6
mov ecx, esi
setne al
mov byte [0x4119f5], al
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::data_void_const]
cmp byte [eax], bl
push 7
mov ecx, esi
setne al
mov byte [0x4119f4], al
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::data_void_const]
cmp byte [eax], bl
push 8
mov ecx, esi
setne al
mov byte [0x4117c0], al
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::data_void_const]
cmp byte [eax], bl
push 3
mov ecx, esi
setne al
mov byte [0x4117a8], al
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::data_void_const]
cmp byte [eax], bl
je 0x405267
push 0x30
mov ecx, esi
call fcn.00401b5f
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b2fa
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
mov edi, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
cmp edi, ebx
je 0x405267
push 0x30
mov ecx, esi
call fcn.00401b5f
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040b2fa
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
push 9
mov ecx, esi
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::data_void_const]
mov al, byte [eax]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404bd9
add esp, 0xc
mov ecx, 0x4119f8
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
push 1
lea eax, [ebp + 0x13]
sub esp, 0x10
mov ecx, esi
mov edi, esp
push eax
push 0x34
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
push str.licence
mov ecx, 0x4117c8
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push closesocket
call fcn.00405f8d
add esp, 0x20
mov ecx, esi
push 0x28
call fcn.00401b5f
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
cmp al, 2
pop ecx
mov byte [0x411a18], al
jne 0x4052d6
push 1
jmp 0x4052db
cmp al, 1
jne 0x4052ed
push ebx
call fcn.0040c282
pop ecx
push ebx
push ebx
push ebx
push 0x40c054
push ebx
push ebx
call esi
lea eax, [ebp - 0x14]
push eax
call fcn.0040ad18
pop ecx
push eax
mov ecx, 0x411a68
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, dword [0x411a40]
cmp eax, ebx
je 0x405318
push ebx
call eax
push ebx
push ebx
push ebx
push 0x40552d
push ebx
push ebx
call esi
call fcn.00406fcf
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x10