Function at 0x412370
Capabilities:
Acquire debug privileges
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x451561
mov eax, dword fs:[0]
push eax
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466d98]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00404370
xor esi, esi
push esi
push ecx
lea eax, [esp + 0x5c]
push 0x458d1c
push eax
mov dword [esp + 0x17c], esi
call fcn.004073a0
add esp, 0xc
mov ecx, eax
call fcn.00414f90
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x58]
call fcn.004044d0
mov ebx, 0x10
mov byte [esp + 0x16c], 1
cmp dword [eax + 0x18], ebx
jb 0x4123f3
mov eax, dword [eax + 4]
jmp 0x4123f6
add eax, 4
push eax
push str.CClientBase::StopTheProcess
push 0x6e4
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x30], ebx
jb 0x41242a
mov edx, dword [esp + 0x1c]
push edx
call fcn.00433d63
add esp, 4
or ebp, 0xffffffff
lea ecx, [esp + 0xa0]
mov dword [esp + 0x16c], ebp
call fcn.00404450
lea eax, [esp + 0xa0]
mov edi, vtable.std::ios_base.0
push eax
mov dword [esp + 0xa4], edi
call fcn.004339e9
add esp, 4
push 1
push str.SeDebugPrivilege
call fcn.0041b0d0
add esp, 8
test eax, eax
jne 0x41251e
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00404370
lea ecx, [esp + 0x54]
push str.SeDebugPrivilege
push ecx
mov dword [esp + 0x174], 2
call fcn.004073a0
add esp, 8
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x58]
call fcn.004044d0
mov byte [esp + 0x16c], 3
cmp dword [eax + 0x18], ebx
jb 0x4124bd
mov eax, dword [eax + 4]
jmp 0x4124c0
add eax, 4
push eax
push str.CClientBase::StopTheProcess
push 0x6e9
push str..ClientBase.cpp
push 0xf0000000
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x30], ebx
jb 0x4124f4
mov eax, dword [esp + 0x1c]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x16c], ebp
call fcn.00404450
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0xa4], edi
call fcn.004339e9
add esp, 4
mov ebp, 3
mov edi, vtable.BaseLib::TPointerContainer_class_std::list_struct_BaseLib::_tag_process_info___class_std::allocator_struct_BaseLib::_tag_process_info____.0
jmp 0x412530
push 0xbb8
call fcn.00421280
add esp, 4
call fcn.00411f10
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [esp + 0x174]
lea ecx, [esp + 0x18]
mov dword [edx + 0x4454], eax
call fcn.00426460
push str.ywSMPASvr.exe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x170], 4
call fcn.00427fc0
test eax, eax
jne 0x412657
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00404370
mov byte [esp + 0x16c], 5
call sub.WS2_32.dll_WSAGetLastError
push eax
push ecx
push 0x458d54
push ecx
push str.ywSMPASvr.exe
push ecx
lea eax, [esp + 0x6c]
push 0x458d64
push eax
call fcn.004073a0
add esp, 0xc
push eax
call fcn.004073a0
add esp, 0xc
push eax
call fcn.004073a0
add esp, 0xc
mov ecx, eax
call fcn.00414f90
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x58]
call fcn.004044d0
mov byte [esp + 0x16c], 6
cmp dword [eax + 0x18], ebx
jb 0x4125f1
mov eax, dword [eax + 4]
jmp 0x4125f4
add eax, 4
push eax
push str.CClientBase::StopTheProcess
push 0x710
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x4c], ebx
jb 0x412628
mov edx, dword [esp + 0x38]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x16c], 4
call fcn.00404450
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0xa4], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
push str.ywSMPAgent.exe
lea ecx, [esp + 0x1c]
call fcn.00427fc0
test eax, eax
jne 0x412746
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00404370
mov byte [esp + 0x16c], 7
call sub.WS2_32.dll_WSAGetLastError
push eax
push ecx
push 0x458d54
push ecx
push str.ywSMPAgent.exe
push ecx
lea ecx, [esp + 0x6c]
push 0x458d64
push ecx
call fcn.004073a0
add esp, 0xc
push eax
call fcn.004073a0
add esp, 0xc
push eax
call fcn.004073a0
add esp, 0xc
mov ecx, eax
call fcn.00414f90
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x58]
call fcn.004044d0
mov byte [esp + 0x16c], 8
cmp dword [eax + 0x18], ebx
jb 0x4126e0
mov eax, dword [eax + 4]
jmp 0x4126e3
add eax, 4
push eax
push str.CClientBase::StopTheProcess
push 0x715
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x4c], ebx
jb 0x412717
mov eax, dword [esp + 0x38]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x16c], 4
call fcn.00404450
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0xa4], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
push str.ywSMPUI.exe
lea ecx, [esp + 0x1c]
call fcn.00427fc0
test eax, eax
jne 0x412835
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00404370
mov byte [esp + 0x16c], 9
call sub.WS2_32.dll_WSAGetLastError
push eax
push ecx
push 0x458d54
push ecx
push str.ywSMPUI.exe
push ecx
lea edx, [esp + 0x6c]
push 0x458d64
push edx
call fcn.004073a0
add esp, 0xc
push eax
call fcn.004073a0
add esp, 0xc
push eax
call fcn.004073a0
add esp, 0xc
mov ecx, eax
call fcn.00414f90
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x58]
call fcn.004044d0
mov byte [esp + 0x16c], 0xa
cmp dword [eax + 0x18], ebx
jb 0x4127cf
mov eax, dword [eax + 4]
jmp 0x4127d2
add eax, 4
push eax
push str.CClientBase::StopTheProcess
push 0x71a
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x4c], ebx
jb 0x412806
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x16c], 4
call fcn.00404450
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0xa4], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
push str.SMPSafe.exe
lea ecx, [esp + 0x1c]
call fcn.00427fc0
test eax, eax
jne 0x412924
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00404370
mov byte [esp + 0x16c], 0xb
call sub.WS2_32.dll_WSAGetLastError
push eax
push ecx
push 0x458d54
push ecx
push str.SMPSafe.exe
push ecx
lea eax, [esp + 0x6c]
push 0x458d64
push eax
call fcn.004073a0
add esp, 0xc
push eax
call fcn.004073a0
add esp, 0xc
push eax
call fcn.004073a0
add esp, 0xc
mov ecx, eax
call fcn.00414f90
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x58]
call fcn.004044d0
mov byte [esp + 0x16c], 0xc
cmp dword [eax + 0x18], ebx
jb 0x4128be
mov eax, dword [eax + 4]
jmp 0x4128c1
add eax, 4
push eax
push str.CClientBase::StopTheProcess
push 0x71f
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x4c], ebx
jb 0x4128f5
mov edx, dword [esp + 0x38]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x16c], 4
call fcn.00404450
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0xa4], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x16c], 0xffffffff
push ecx
mov dword [esp + 0x1c], edi
call fcn.00414cd0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x24]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, ecx
mov dword [esp + 0x24], esi
je 0x412977
jmp 0x412960
mov esi, dword [eax]
push eax
call fcn.00433d63
mov ecx, dword [esp + 0x24]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x412960
xor esi, esi
push ecx
call fcn.00433d63
add esp, 4
sub ebp, 1
jne 0x412530
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [esp + 0x174]
mov dword [edx + 0x4454], eax
call fcn.00410d10
push 1
push 2
lea ecx, [esp + 0xe4]
call fcn.00404370
lea eax, [esp + 0xdc]
push 0x458d98
push eax
mov dword [esp + 0x174], 0xd
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xe0]
call fcn.004044d0
mov byte [esp + 0x16c], 0xe
cmp dword [eax + 0x18], ebx
jb 0x4129f3
mov eax, dword [eax + 4]
jmp 0x4129f6
add eax, 4
push eax
push str.CClientBase::StopTheProcess
push 0x729
push str..ClientBase.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x4c], ebx
jb 0x412a2a
mov edx, dword [esp + 0x38]
push edx
call fcn.00433d63
add esp, 4
mov ecx, dword [esp + 0xdc]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x128]
mov dword [esp + 0xd8], eax
mov dword [esp + edx + 0xdc], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x16c], 0xf
test byte [esp + 0x120], 1
lea eax, [esp + 0xe0]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xe0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x412a8d
mov ecx, dword [esp + 0xf0]
mov eax, dword [ecx]
push eax
call fcn.00433d63
add esp, 4
mov edx, dword [esp + 0xf0]
mov dword [edx], esi
mov eax, dword [esp + 0x100]
mov dword [eax], esi
mov ecx, dword [esp + 0x110]
mov dword [ecx], esi
mov edx, dword [esp + 0xf4]
mov dword [edx], esi
mov eax, dword [esp + 0x104]
mov dword [eax], esi
mov ecx, dword [esp + 0x114]
mov dword [ecx], esi
and dword [esp + 0x120], 0xfffffffe
mov dword [esp + 0x11c], esi
mov dword [esp + 0xe0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov byte [esp + 0x16c], bl
mov eax, dword [esp + 0x118]
cmp eax, esi
mov ebx, eax
je 0x412b3e
mov edi, dword [eax]
cmp edi, esi
je 0x412b35
push esi
lea ecx, [esp + 0x54]
call fcn.00433a7f
mov eax, dword [edi + 4]
cmp eax, esi
jbe 0x412b13
cmp eax, 0xffffffff
jae 0x412b13
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x50]
and esi, edi
call fcn.00433aa0
test esi, esi
je 0x412b35
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xe4]
mov byte [esp + 0x16c], 0xf
call fcn.00433c70
mov dword [esp + 0x16c], 0xffffffff
mov ecx, dword [esp + 0xdc]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x128]
mov dword [esp + edx + 0xdc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x174]
mov dword [ecx + 0x4454], eax
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret 4