Function at 0x45d230
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b335e
push eax
mov eax, 0x2e9c
mov dword fs:[0], esp
call fcn.004a7630
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov dword [esp + 0x5c], ecx
xor ebp, ebp
push edi
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2eb4], ebp
call fcn.0046c440
mov cl, byte [esp + 0x13]
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x28], cl
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov eax, dword [0x4d92e0]
mov byte [esp + 0x2eb4], 2
cmp eax, ebp
je 0x45d38b
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x4d8ffc]
cmp eax, ebp
jne 0x45d2c5
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]
mov ecx, dword [esp + 0x22]
mov edx, dword [esp + 0x20]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x22]
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x26]
and edx, 0xffff
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x26]
push ecx
mov ecx, dword [esp + 0x28]
and edx, 0xffff
and ecx, 0xffff
push edx
push ecx
push eax
lea edx, [esp + 0x26cc]
push str._sLiveUpdateLog_track__04d_02d_02d_02d_02d_02d._03d.log
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x26d4]
push 0x4cde68
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 0x30
cmp esi, ebp
je 0x45d38b
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.MSVCRT.dll_time]
mov ebx, dword [esp + 0x2ec0]
add esp, 4
mov eax, dword [ebx + 4]
cmp eax, ebp
jne 0x45d363
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x48]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_ctime]
add esp, 4
push eax
push str.__s___s_r_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
jmp 0x45d392
mov ebx, dword [esp + 0x2ebc]
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.b3deb21a3401d8e933ddcb45a6c07222
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.b3deb21a3401d8e933ddcb45a6c07222
lea ecx, [esp + 0x54]
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__::assign_char_const___unsigned_int_]
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov byte [esp + 0x2eb8], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x4cde34
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4cde34
lea ecx, [esp + 0x1c]
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__::assign_char_const___unsigned_int_]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x70]
push eax
push ecx
mov byte [esp + 0x2ec0], 4
call fcn.00460780
add esp, 0xc
mov edx, dword [esp + 0x30]
push eax
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x2ebc], 5
call fcn.004600a0
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x2eb8], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x2eb8], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2eb8], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x2eb8], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esp + 0x2ec4], ebp
je 0x45d6be
mov eax, dword [ebx + 8]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 4]
mov ebp, eax
mov eax, dword [ebx + 8]
xor ebx, ebx
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x5c], eax
jne 0x45d4b8
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 9
push eax
lea eax, [esp + 0x64]
push ecx
push eax
push ebp
call fcn.004a7db0
add esp, 0x14
cmp eax, ebx
jne 0x45d647
mov esi, dword [esp + 0x5c]
cmp esi, ebx
je 0x45d647
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
sub edx, ecx
cmp edx, esi
ja 0x45d4f6
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp esi, ebx
jbe 0x45d53b
mov eax, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x3c]
lea ebx, [eax + esi]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x45d53b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
mov byte [ecx + ebx], 0
push ebp
call fcn.0043b3d0
mov dl, byte [esp + 0x17]
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], dl
push 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x4cde30
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4cde30
lea ecx, [esp + 0x54]
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__::assign_char_const___unsigned_int_]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2eb8], 7
mov byte [esp + 0x18], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.cpsign
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.cpsign
lea ecx, [esp + 0x1c]
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__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x70]
mov bl, 8
push edx
push eax
mov byte [esp + 0x2ec0], bl
call fcn.00460780
add esp, 0xc
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x2ebc], 9
call fcn.004600a0
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x2eb8], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x2eb8], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2eb8], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x2eb8], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ebx, dword [esp + 0x2ebc]
jmp 0x45d87e
push ebp
call fcn.0043b3d0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, edi
mov byte [esp + 0x2eb4], 1
je 0x45d677
push ebx
mov ecx, esi
call fcn.00460f00
add esi, 0x20
cmp esi, edi
jne 0x45d664
mov esi, dword [esp + 0x2c]
push esi
call fcn.0043b3d0
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x2eb4], 0
call fcn.0046c940
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2eb8], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor eax, eax
jmp 0x45dced
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, ebp
jne 0x45d6d4
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov dword [esp + 0x48], edx
jmp 0x45d6d8
mov dword [esp + 0x48], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [esp + 0x40]
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, esi
ja 0x45d6ef
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp esi, ebp
jbe 0x45d738
mov edx, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x3c]
lea ebp, [edx + esi]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x45d736
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edi, [ecx + eax]
mov ecx, esi
mov esi, dword [esp + 0x48]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ebp
mov byte [eax + ebp], 0
xor ebp, ebp
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x4cde24
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x45d791
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4cde24
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x2eb8], 0xb
mov byte [esp + 0x50], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.cpsign
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x50]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x45d7f3
mov edi, dword [esp + 0x50]
mov ecx, ebp
mov edx, ecx
mov esi, str.cpsign
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x70]
push ecx
push edx
mov byte [esp + 0x2ec0], 0xc
call fcn.00460780
add esp, 0xc
push eax
mov eax, dword [esp + 0x34]
push 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2ec0], 0xd
call fcn.004603d0
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x2eb8], 0xe
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x2eb8], 0xc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x2eb8], 0xb
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2eb8], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x4d8c80
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x45d8bf
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4d8c80
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
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_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.info
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x45d919
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, str.info
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x70]
mov bl, 0xf
push ecx
push edx
mov byte [esp + 0x2ec0], bl
call fcn.00460780
add esp, 0xc
push eax
mov eax, dword [esp + 0x34]
push 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2ec0], 0x10
call fcn.004603d0
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x2eb8], 0x11
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x2eb8], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2eb8], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x4d8c80
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x3c]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x45d9d6
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4d8c80
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x16ae]
mov word [esp + 0x16ac], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4ce28c]
lea ecx, [esp + 0x16ac]
push eax
push str.http:__pstat.p.360.cn_uplog.php
push str._s_ver_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [esp + 0xea2]
lea eax, [esp + 0xda2]
lea ecx, [esp + 0xca2]
push edx
push eax
lea edx, [esp + 0xca8]
push ecx
lea eax, [esp + 0x4ac]
push edx
lea ecx, [esp + 0x16b8]
push eax
lea edx, [esp + 0x16b8]
push ecx
push edx
lea eax, [esp + 0x16c8]
push str.pstat.p.360.cn
push eax
mov ecx, 0x4d7bc8
call fcn.004541c0
cmp eax, 1
jne 0x45db20
mov eax, dword [esp + 0xca0]
lea ecx, [esp + 0xda2]
lea edx, [esp + 0xca2]
push ecx
and eax, 0xffff
push edx
mov edx, dword [esp + 0x16b0]
lea ecx, [esp + 0x4a8]
push eax
mov eax, dword [esp + 0x16b0]
push ecx
push edx
push eax
lea ecx, [esp + 0xa4]
call fcn.0046d350
test eax, eax
jne 0x45db20
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, edi
mov byte [esp + 0x2eb4], 1
je 0x45dad8
push 0
mov ecx, esi
call fcn.00460f00
add esi, 0x20
cmp esi, edi
jne 0x45dac4
mov esi, dword [esp + 0x2c]
push esi
call fcn.0043b3d0
xor eax, eax
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x2eb4], al
call fcn.0046c940
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2eb8], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor eax, eax
jmp 0x45dced
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov edi, eax
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 edx, [esp + 0x16ac]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
push 1
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x45db89
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x16ac]
push esi
push eax
push ecx
call fcn.00412590
add esp, 0xc
lea ecx, [esp + 0x14]
push esi
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__::_Eos_unsigned_int_]
push 0
push 0
push 0
lea edx, [esp + 0x20]
push 0
push edx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2ec8], 0x12
call fcn.0046cc80
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2eb8], 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 edi
lea ecx, [esp + 0x90]
call fcn.0046d2e0
push 0
lea ecx, [esp + 0x90]
call fcn.0046d820
lea eax, [esp + 0x28]
lea ecx, [esp + 0x8c]
push eax
call fcn.00470d80
push 0
push 0x493e0
push 0x7530
lea ecx, [esp + 0x98]
call fcn.004708d0
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x2ec0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edi
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x45dc52
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0xffffffffffffffff
lea edx, [esp + 0x68]
push 0
push edx
push 2
call ebx
test eax, eax
je 0x45dc52
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x45dc52
lea ecx, [esp + 0x8c]
call fcn.0046ff10
cmp eax, 5
jg 0x45dc52
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x45dc22
lea ecx, [esp + 0x8c]
call fcn.0046d880
lea ecx, [esp + 0x8c]
call fcn.0046d8a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, edi
mov byte [esp + 0x2eb4], 1
je 0x45dc99
push 0
mov ecx, esi
call fcn.00460f00
add esi, 0x20
cmp esi, edi
jne 0x45dc85
mov esi, dword [esp + 0x2c]
push esi
call fcn.0043b3d0
xor esi, esi
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x2eb4], 0
call fcn.0046c940
mov ecx, dword [esp + 0x3c]
cmp ecx, esi
je 0x45dce8
mov al, byte [ecx - 1]
test al, al
je 0x45dcde
cmp al, 0xff
je 0x45dcde
dec al
mov byte [ecx - 1], al
jmp 0x45dce8
dec ecx
push ecx
call fcn.0043b3d0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2eac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2ea8
ret 0xc