Function at 0x4d6d50
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x52249c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x880
push ebx
push esi
lea eax, [esp + 0x1c]
push edi
push eax
xor esi, esi
push str.NotJoinPrivate
push str.option
mov dword [esp + 0x2c], esi
call fcn.0040e730
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, esi
jne 0x4d7355
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov cl, byte [esp + 0x13]
mov edi, eax
mov byte [esp + 0x58], cl
push esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x8c], edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esp + 0x8a8]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x898], esi
cmp eax, esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
je 0x4d6f91
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x565a58
call esi
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x565a58
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__::assign_unsigned_short_int_const___unsigned_int_]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x89c], 1
mov byte [esp + 0x6c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x56d150
call esi
add esp, 4
lea ecx, [esp + 0x68]
push eax
push 0x56d150
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__::assign_unsigned_short_int_const___unsigned_int_]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x4c], cl
lea ecx, [esp + 0x4c]
mov byte [esp + 0x89c], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x56d150
call esi
add esp, 4
lea ecx, [esp + 0x48]
push eax
push 0x56d150
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__::assign_unsigned_short_int_const___unsigned_int_]
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x89c], 3
mov byte [esp + 0x3c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push str.verify
call esi
add esp, 4
lea ecx, [esp + 0x38]
push eax
push str.verify
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__::assign_unsigned_short_int_const___unsigned_int_]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x89c], 4
mov byte [esp + 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x538bb4
call esi
add esp, 4
lea ecx, [esp + 0x28]
push eax
push 0x538bb4
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__::assign_unsigned_short_int_const___unsigned_int_]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x14]
push ecx
push edx
push edi
mov byte [esp + 0x8a4], 5
call ebp
push eax
call ebx
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x60]
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
call fcn.004a7040
add esp, 0x24
lea ecx, [esp + 0x28]
mov byte [esp + 0x898], 4
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x89c], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x89c], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x89c], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x89c], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea ecx, [esp + 0x58]
push ecx
call ebx
push eax
call fcn.004a6f70
add esp, 8
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x92]
mov word [esp + 0x90], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call ebp
mov edx, dword [esp + 0x8a4]
push eax
mov eax, dword [esp + 0x8a4]
push edx
push eax
push str.verifylog_:_dwVerifyCode___d__dwLastErr___u__threadid_d
lea ecx, [esp + 0xa0]
push 0x3ff
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov dl, byte [esp + 0x2b]
add esp, 0x18
lea ecx, [esp + 0x78]
mov byte [esp + 0x78], dl
push 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x89c], 6
mov byte [esp + 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x565a60
call esi
add esp, 4
lea ecx, [esp + 0x28]
push eax
push 0x565a60
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__::assign_unsigned_short_int_const___unsigned_int_]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x3c], cl
lea ecx, [esp + 0x3c]
mov byte [esp + 0x89c], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x56d150
call esi
add esp, 4
lea ecx, [esp + 0x38]
push eax
push 0x56d150
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__::assign_unsigned_short_int_const___unsigned_int_]
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x89c], 8
mov byte [esp + 0x4c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x56d150
call esi
add esp, 4
lea ecx, [esp + 0x48]
push eax
push 0x56d150
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__::assign_unsigned_short_int_const___unsigned_int_]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x89c], 9
mov byte [esp + 0x6c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push str.verify
call esi
add esp, 4
lea ecx, [esp + 0x68]
push eax
push str.verify
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__::assign_unsigned_short_int_const___unsigned_int_]
mov byte [esp + 0x898], 0xa
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x538bb4
call esi
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x538bb4
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__::assign_unsigned_short_int_const___unsigned_int_]
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x78]
lea eax, [esp + 0x28]
push edx
push eax
push ecx
mov byte [esp + 0x8a4], 0xb
call ebp
push eax
call ebx
push eax
lea edx, [esp + 0x4c]
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x80]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004a7040
add esp, 0x24
lea ecx, [esp + 0x14]
mov byte [esp + 0x898], 0xa
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x89c], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x89c], 8
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x89c], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x89c], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea ecx, [esp + 0x90]
push ecx
call esi
add esp, 4
lea edx, [esp + 0x90]
lea ecx, [esp + 0x14]
push eax
push edx
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__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x78]
push eax
push ecx
mov byte [esp + 0x8a0], 0xc
call fcn.004a6eb0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x898], 6
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
call fcn.004a7cf0
test eax, eax
pop ebp
je 0x4d723c
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x898], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x898], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x4d7355
push 0x20c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x4d72f8
mov edx, dword [esp + 0x89c]
lea ebx, [esi + 4]
mov ecx, 0x82
xor eax, eax
mov edi, ebx
mov dword [esi], 0
rep stosd dword es:[edi], eax
mov dword [esi], edx
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4d72ba
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4d7285
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d72ba
mov ecx, dword [esp + 0x5c]
cmp ecx, 0x103
jbe 0x4d72a1
mov ecx, 0x103
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4d72ae
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ecx
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 0
push eax
push 0
push esi
push 0x4d6d30
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4d72f8
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x78]
xor esi, esi
cmp ecx, esi
je 0x4d7320
mov al, byte [ecx - 1]
test al, al
je 0x4d7314
cmp al, 0xff
je 0x4d7314
dec al
mov byte [ecx - 1], al
jmp 0x4d7320
add ecx, 0xfffffffe
push ecx
call fcn.0051d19a
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x78], esi
cmp ecx, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
je 0x4d7355
mov al, byte [ecx - 1]
test al, al
je 0x4d7349
cmp al, 0xff
je 0x4d7349
dec al
mov byte [ecx - 1], al
jmp 0x4d7355
add ecx, 0xfffffffe
push ecx
call fcn.0051d19a
add esp, 4
mov ecx, dword [esp + 0x88c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x88c
ret