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

Disassembly:
push 0xffffffffffffffff
push 0x4f7e6c
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.0040a7a0
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, esi
jne 0x4b8545
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 0x4b8181
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 0x50e9c4
call esi
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x50e9c4
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 0x53ada0
call esi
add esp, 4
lea ecx, [esp + 0x68]
push eax
push 0x53ada0
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 0x53ada0
call esi
add esp, 4
lea ecx, [esp + 0x48]
push eax
push 0x53ada0
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 0x50b884
call esi
add esp, 4
lea ecx, [esp + 0x28]
push eax
push 0x50b884
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.00496270
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.004961a0
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 0x534bd8
call esi
add esp, 4
lea ecx, [esp + 0x28]
push eax
push 0x534bd8
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 0x53ada0
call esi
add esp, 4
lea ecx, [esp + 0x38]
push eax
push 0x53ada0
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 0x53ada0
call esi
add esp, 4
lea ecx, [esp + 0x48]
push eax
push 0x53ada0
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 0x50b884
call esi
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x50b884
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.00496270
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.004960e0
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.00496d70
test eax, eax
pop ebp
je 0x4b842c
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 0x4b8545
push 0x20c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x4b84e8
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 0x4b84aa
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4b8475
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 0x4b84aa
mov ecx, dword [esp + 0x5c]
cmp ecx, 0x103
jbe 0x4b8491
mov ecx, 0x103
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4b849e
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 0x4b7f20
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4b84e8
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 0x4b8510
mov al, byte [ecx - 1]
test al, al
je 0x4b8504
cmp al, 0xff
je 0x4b8504
dec al
mov byte [ecx - 1], al
jmp 0x4b8510
add ecx, 0xfffffffe
push ecx
call fcn.004f3eca
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 0x4b8545
mov al, byte [ecx - 1]
test al, al
je 0x4b8539
cmp al, 0xff
je 0x4b8539
dec al
mov byte [ecx - 1], al
jmp 0x4b8545
add ecx, 0xfffffffe
push ecx
call fcn.004f3eca
add esp, 4
mov ecx, dword [esp + 0x88c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x88c
ret