Function at 0x10005cca
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov al, byte [esi + 0x14]
test al, al
jne 0x10005f37
push dword [esi + 0x18]
mov ebx, 0x7538
push str._p2pupdate__NotifyQueryKernelFinished__.
push ebx
call fcn.10001a38
lea eax, [esi + 0x1c]
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x10005d0e
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]
push eax
push str._p2pupdate__FileUrl
push ebx
call fcn.10001a38
lea eax, [esi + 0x2c]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x10005d2f
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]
push eax
push str._p2pupdate__TptUrl
push ebx
call fcn.10001a38
mov eax, dword [edi + 0x48]
add esp, 0xc
cmp dword [esi + 0x18], eax
jne 0x10005dd2
push 0x100148c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov al, byte [ebp + 0xb]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x10], 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 esi, str.strategy
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
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 [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], 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 esi, str.kernel
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
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 eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x10]
call fcn.100037fc
push 1
lea ecx, [ebp - 0x24]
pop ebx
push ebx
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 ebx
lea ecx, [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x10005ff5
push 1
mov dword [edi + 0xb4], eax
pop ebx
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xa8], ebx
mov eax, dword [esi + 0x18]
mov dword [edi + 0xac], eax
lea eax, [ebp - 0x34]
push eax
call fcn.10009265
push dword [esi + 0x18]
lea eax, [ebp - 0x10]
push eax
call fcn.10005543
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
add esp, 0xc
push dword [ecx]
lea ecx, [ebp - 0x34]
push 0
push eax
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x10]
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 eax, [ebp - 0x34]
push eax
call fcn.10009391
mov dword [esp], 0x10014480
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x10014480
lea ecx, [ebp - 0x34]
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__::append_char_const___unsigned_int_]
lea eax, [ebp - 0x34]
push str.fileinfo.dat
push eax
lea eax, [ebp - 0x54]
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__
push dword [esi + 0x18]
lea eax, [ebp - 0x64]
push eax
call fcn.10002fd5
lea eax, [esi + 0x4c]
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [ebp - 0x64]
push dword [ebp - 0x14]
push dword [ebp + 8]
push dword [esi + 0x18]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10002ae8
lea eax, [ebp - 0x34]
push str.kernel.zip
push eax
lea eax, [ebp - 0x44]
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, 0x3c
lea ecx, [ebp - 0x94]
call fcn.10004aa1
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor esi, esi
lea ecx, [ebp - 0x94]
push dword [eax]
push esi
push dword [ebp + 8]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x84]
push dword [eax]
push esi
push dword [ebp - 0x14]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
push esi
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x74]
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
add edi, 0x50
lea eax, [ebp - 0x94]
push eax
mov ecx, edi
call fcn.10006027
mov ecx, edi
call fcn.10004cd1
test al, al
jne 0x10005f0f
mov ecx, edi
call fcn.10005ffc
lea ecx, [ebp - 0x94]
call fcn.10004ada
push ebx
lea ecx, [ebp - 0x44]
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 ebx
lea ecx, [ebp - 0x54]
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 ebx
lea ecx, [ebp - 0x34]
jmp 0x10005dc7
push 1
pop ebx
cmp al, bl
jne 0x10005fc8
push 0x10014894
push 0x7538
call fcn.10001a38
mov al, byte [ebp + 0xb]
pop ecx
pop ecx
mov byte [ebp - 0x24], al
push 0
lea ecx, [ebp - 0x24]
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 esi, str.strategy
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
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 [ebp + 0xb]
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x10], 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 esi, str.kernel
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
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 eax, [ebp - 0x24]
push 0
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.100037fc
push ebx
lea ecx, [ebp - 0x10]
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 ebx
lea ecx, [ebp - 0x24]
jmp 0x10005dc7
cmp al, 2
jne 0x10005fdf
push str._p2pupdate__NotifyQueryKernelFinished__._Result:_2.
push 0x7538
call fcn.10001a38
pop ecx
pop ecx
jmp 0x10005ff5
movzx eax, al
push eax
push str._p2pupdate__NotifyQueryKernelFinished__._Result:_Unknown_result__d._r_n
push 0x7538
call fcn.10001a38
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret 4