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

Disassembly:
push 0xffffffffffffffff
push 0x452954
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x46b114]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46b114]
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 0x42f303
push 0x45bd34
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 0x42ee47
mov ebx, dword [ebp + 4]
jmp 0x42ee4a
lea ebx, [ebp + 4]
push eax
lea edi, [esp + 0xc4]
call fcn.0042f9a0
add esp, 4
test al, al
je 0x42f2eb
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.00413790
lea eax, [esp + 0x1c]
mov byte [esp + 0x15c], 2
call fcn.00417690
lea edx, [esp + 0xf8]
push edx
lea ecx, [esp + 0x20]
call fcn.0042e810
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp esi, eax
jbe 0x42eecf
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 0x42eeeb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
je 0x42eef5
cmp ebx, dword [esp + 0x1c]
je 0x42eefb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x42f364
test ebx, ebx
jne 0x42f07c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42ef1e
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 0x45d164
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 0x45d168
push ecx
call ebx
add esp, 8
test al, al
jne 0x42f133
push 0
push 0x45d170
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 0x42f133
lea edx, [esp + 0x88]
push 0x45d18c
push edx
call ebx
add esp, 8
test al, al
jne 0x42f083
push 0
push 0x45d194
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 0x42f083
lea eax, [esp + 0x88]
push 0x45d19c
push eax
call ebx
add esp, 8
test al, al
jne 0x42f005
push 0
push 0x45d1a4
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 0x42f232
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.0042c4b0
add esp, 4
push eax
lea ecx, [ebp + 0x38]
mov byte [esp + 0x160], 0xd
call dword [0x454368]
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 0x42f232
mov eax, dword [ebx]
jmp 0x42ef13
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.0042c4b0
add esp, 4
lea eax, [esp + 0x130]
push eax
lea ebx, [esp + 0xe0]
mov byte [esp + 0x160], 0xa
call fcn.0042c170
add esp, 4
push eax
lea ebx, [ebp + 0x54]
mov byte [esp + 0x160], 0xb
call fcn.004175f0
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 0x42f232
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 0x42f288
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.0042a7d0
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 0x42f1d2
lea ecx, [ebp + 0x1c]
mov edx, edi
call fcn.0042e980
jmp 0x42f205
cmp eax, 0x28
jne 0x42f30a
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xa8]
call fcn.0042ec20
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 0x42f284
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42f274
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
add edi, 0x1c
jmp 0x42eed9
mov eax, dword [eax]
jmp 0x42f269
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.004175a0
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 0x42f3b5
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 0x42f2c9
mov byte [esp + 0x15c], 1
cmp byte [ebp + 0x6c], 0
jne 0x42f37c
lea edx, [esp + 0x1c]
push edx
jmp 0x42f2d1
lea eax, [esp + 0x1c]
push eax
call fcn.004175a0
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.004390e8
add esp, 0x14c
ret 4