Function at 0x4e7ec0
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51ea4f
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esi], ebx
call fcn.005147f0
lea ecx, [esp + 0xc8]
mov dword [esi + 4], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0xe4]
mov dword [esp + 0x110], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x110], 1
mov dword [esp + 0xc], ebx
call fcn.005147f0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x535030
mov dword [esp + 0x30], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0xc8]
push ecx
mov esi, edi
call fcn.004406f0
add esp, 0x20
mov byte [esp + 0x110], 2
cmp dword [esp + 0xc0], ebx
je 0x4e8000
cmp dword [esp + 0xc4], 0x10
mov eax, dword [esp + 0xb0]
jae 0x4e7f9d
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x24]
mov bl, 3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x118], bl
call fcn.0043f610
add esp, 8
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x114], 4
call dword [0x52e398]
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x58]
mov byte [esp + 0x110], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x533f0c
mov dword [esp + 0x34], edx
lea ebx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0xac]
push eax
mov esi, edi
call fcn.004406f0
add esp, 0x20
mov byte [esp + 0x110], 5
mov ebx, dword [esp + 0x14]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp ebx, dword [ecx]
je 0x4e8134
mov dword [esp + 0xc], 0
call fcn.005147f0
lea edx, [esp + 0x90]
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.0043f610
add esp, 8
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x114], 6
call dword [0x52e398]
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0xc]
neg ecx
sbb ecx, ecx
test ecx, fcn.004b2590
jne 0x4e8126
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x90]
push edx
add esi, 0xc
call fcn.00407730
push ebx
push str.tr
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov ebx, eax
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp ebx, dword [eax]
je 0x4e8134
add ebx, 4
push ebx
push 0x26
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char__unsigned_int_const]
sub eax, ebx
push eax
push ebx
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x114], 7
call dword [0x52e398]
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp ebx, dword [edx]
jne 0x4e8050
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x535034
xor ebx, ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x90]
push eax
mov esi, edi
call fcn.004406f0
add esp, 0x20
mov bl, 8
mov byte [esp + 0x110], bl
cmp dword [esp + 0x88], 0
jne 0x4e81df
mov ebx, 1
test byte [0x55daa8], bl
jne 0x4e8199
or dword [0x55daa8], ebx
push 0x52ce60
mov dword [0x55daac], 0x52fbdc
call fcn.005150d5
add esp, 4
mov edx, dword [esp + 0x1c]
mov ecx, 0x55daac
mov eax, 0x16
mov dword [edx + 4], ecx
lea ecx, [esp + 0x74]
mov dword [edx], eax
mov byte [esp + 0x110], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x90]
mov byte [esp + 0x110], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x110], bl
jmp 0x4e8315
push str.urn:btih:
push 9
push 0
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP80.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_unsigned_int__unsigned_int__char_const__const]
test eax, eax
je 0x4e8209
mov esi, dword [esp + 0x1c]
push 0x16
call fcn.0042e810
jmp 0x4e82e6
xor eax, eax
cmp dword [esp + 0x88], 0x31
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
jne 0x4e8249
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x4e823b
lea eax, [esp + 0x78]
lea ecx, [eax + 9]
lea eax, [esp + 0x58]
call fcn.004409d0
jmp 0x4e82a4
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
push 9
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov byte [esp + 0x114], 9
call fcn.00440380
add esp, 4
lea edx, [esp + 0x58]
push edx
mov ecx, eax
call fcn.004e7e80
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x110], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esp + 0xdc], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x30], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
je 0x4e82e6
lea edx, [esp + 0xc8]
push edx
lea ecx, [eax + 0x40]
call dword [0x52e398]
lea ecx, [esp + 0x74]
mov byte [esp + 0x110], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x90]
mov byte [esp + 0x110], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x110], 1
lea ecx, [esp + 0xac]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe4]
mov byte [esp + 0x110], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc8]
mov dword [esp + 0x110], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.00515015
mov esp, ebp
pop ebp
ret