Function at 0x42c6b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44f914
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x468110]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468110]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x164]
cmp dword [ebp + 0x14], 0
je 0x42cbe3
push str.magnet:_
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0x15c], 0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 0x14]
jb 0x42c727
mov ebx, dword [ebp + 4]
jmp 0x42c72a
lea ebx, [ebp + 4]
push eax
lea edi, [esp + 0xc4]
call fcn.0042d250
add esp, 4
test al, al
je 0x42cbcb
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov ecx, dword [eax]
mov edx, dword [esp + 0xd4]
push ecx
push edx
lea eax, [esp + 0x100]
push eax
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x160], 1
call fcn.00409c70
lea eax, [esp + 0x1c]
mov byte [esp + 0x15c], 2
call fcn.00409dc0
lea edx, [esp + 0xf8]
push edx
lea ecx, [esp + 0x20]
call fcn.0042c130
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp esi, eax
jbe 0x42c7af
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov edi, esi
mov dword [esp + 0x18], edi
mov esi, eax
cmp dword [esp + 0x28], eax
jbe 0x42c7cb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
je 0x42c7d5
cmp ebx, dword [esp + 0x1c]
je 0x42c7db
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x42cc44
test ebx, ebx
jne 0x42c95c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42c7fe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
push edi
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0
push 0x45986c
lea ecx, [esp + 0x74]
mov byte [esp + 0x164], 3
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_first_of_wchar_t_const___unsigned_int_const]
mov esi, eax
push esi
push 0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0x88]
mov byte [esp + 0x15c], 4
mov ebx, dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push 0x459870
push ecx
call ebx
add esp, 8
test al, al
jne 0x42ca13
push 0
push 0x459878
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
test eax, eax
je 0x42ca13
lea edx, [esp + 0x88]
push 0x459894
push edx
call ebx
add esp, 8
test al, al
jne 0x42c963
push 0
push 0x45989c
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
test eax, eax
je 0x42c963
lea eax, [esp + 0x88]
push 0x4598a4
push eax
call ebx
add esp, 8
test al, al
jne 0x42c8e5
push 0
push 0x4598ac
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
test eax, eax
jne 0x42cb12
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov edx, dword [ecx]
push edx
inc esi
push esi
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0x114]
push ecx
mov bl, 0xc
lea ecx, [esp + 0x54]
mov byte [esp + 0x160], bl
call fcn.00426660
add esp, 4
push eax
lea ecx, [ebp + 0x38]
mov byte [esp + 0x160], 0xd
call dword [0x451350]
lea ecx, [esp + 0x50]
mov byte [esp + 0x15c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x114]
mov byte [esp + 0x15c], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x42cb12
mov eax, dword [ebx]
jmp 0x42c7f3
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov eax, dword [edx]
push eax
inc esi
push esi
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0xe0]
mov byte [esp + 0x160], 9
call fcn.00426660
add esp, 4
lea eax, [esp + 0x130]
push eax
lea ebx, [esp + 0xe0]
mov byte [esp + 0x160], 0xa
call fcn.00426320
add esp, 4
push eax
lea ebx, [ebp + 0x54]
mov byte [esp + 0x160], 0xb
call fcn.00409d20
lea ecx, [esp + 0x130]
mov byte [esp + 0x15c], 0xa
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0x15c], 9
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x15c], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x42cb12
push 9
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
lea eax, [esp + 0xdc]
push str.urn:btih:
mov bl, 5
push eax
mov byte [esp + 0x164], bl
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
test al, al
jne 0x42cb68
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov byte [ebp + 0x6c], 1
mov edx, dword [ecx]
push edx
add esi, 0xa
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
mov ecx, eax
lea edi, [esp + 0xa4]
mov byte [esp + 0x15c], 6
call fcn.00424980
lea ecx, [esp + 0x34]
mov byte [esp + 0x15c], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0xb8]
cmp eax, 0x20
jne 0x42cab2
lea ecx, [ebp + 0x1c]
mov edx, edi
call fcn.0042c2a0
jmp 0x42cae5
cmp eax, 0x28
jne 0x42cbea
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xa8]
call fcn.0042c500
add esp, 4
push 0x14
lea edx, [esp + 0x134]
push edx
lea ecx, [ebp + 0x1c]
call dword [sym.imp.MSVCP90.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 + 0xa4]
mov byte [esp + 0x15c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0x15c], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x88]
mov byte [esp + 0x15c], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x15c], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42cb64
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42cb54
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
add edi, 0x1c
jmp 0x42c7b9
mov eax, dword [eax]
jmp 0x42cb49
lea ecx, [esp + 0xdc]
mov byte [esp + 0x15c], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x88]
mov byte [esp + 0x15c], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x15c], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x160], 1
call fcn.00409cd0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x15c], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc0]
mov dword [esp + 0x15c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x42cc95
lea ecx, [esp + 0xa4]
mov byte [esp + 0x15c], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0x15c], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x88]
mov byte [esp + 0x15c], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x15c], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x1c]
push ecx
jmp 0x42cba9
mov byte [esp + 0x15c], 1
cmp byte [ebp + 0x6c], 0
jne 0x42cc5c
lea edx, [esp + 0x1c]
push edx
jmp 0x42cbb1
lea eax, [esp + 0x1c]
push eax
call fcn.00409cd0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x15c], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc0]
mov dword [esp + 0x15c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00436772
add esp, 0x14c
ret 4