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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5221ac
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
push str.libtorrent_resume_file
lea ecx, [esp + 0xc0]
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], 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 + 0xbc]
push eax
push str.file_format
mov ecx, ebx
mov dword [esp + 0xf0], 0
call fcn.0043d800
mov ecx, eax
call fcn.0043dda0
lea ecx, [esp + 0xbc]
mov dword [esp + 0xe8], 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_]
push str.file_version
mov ecx, ebx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460bd4
mov dword [eax], 1
mov dword [eax + 4], 0
push str.0.16.10.0
lea ecx, [esp + 0xc0]
mov dword [esi], 0
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 + 0xbc]
push ecx
push str.libtorrent_version
mov ecx, ebx
mov dword [esp + 0xf0], 1
call fcn.0043d800
mov ecx, eax
call fcn.0043dda0
lea ecx, [esp + 0xbc]
mov dword [esp + 0xe8], 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_]
push str.total_uploaded
mov ecx, ebx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460c55
mov edx, dword [edi + 0x88]
mov dword [eax], edx
mov ecx, dword [edi + 0x8c]
mov dword [eax + 4], ecx
push str.total_downloaded
mov ecx, ebx
mov dword [esi], 0
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460c86
mov edx, dword [edi + 0x90]
mov dword [eax], edx
mov ecx, dword [edi + 0x94]
mov dword [eax + 4], ecx
push str.total_web_downloaded
mov ecx, ebx
mov dword [esi], 0
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460cb7
mov edx, dword [edi + 0x98]
mov dword [eax], edx
mov ecx, dword [edi + 0x9c]
mov dword [eax + 4], ecx
mov dword [esi], 0
mov eax, dword [edi + 0x4ec]
and eax, 0xffffff
push str.active_time
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460cf1
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov eax, dword [edi + 0x4f4]
and eax, 0xffffff
push str.finished_time
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460d2b
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov eax, dword [edi + 0x4fc]
and eax, 0xffffff
push str.seeding_time
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460d65
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
push str.last_seen_complete
mov ecx, ebx
mov dword [esi], 0
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460d96
mov ecx, dword [edi + 0x4b8]
mov dword [eax], ecx
mov edx, dword [edi + 0x4bc]
mov dword [eax + 4], edx
mov dword [esi], 0
mov eax, dword [edi + 0x51c]
and eax, 0xffffff
push str.num_seeds
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460dd0
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov eax, dword [edi + 0x524]
and eax, 0xffffff
push str.num_incomplete
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460e0a
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov eax, dword [edi + 0x540]
and eax, 0xffffff
push str.num_downloaders
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460e44
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov dl, byte [edi + 0x4f8]
and dl, 1
movzx eax, dl
cdq
push str.sequential_download
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460e86
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov al, byte [edi + 0x4e8]
shr al, 2
and al, 1
movzx eax, al
cdq
push str.seed_mode
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460eca
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov al, byte [edi + 0x4f8]
shr al, 3
and al, 1
movzx eax, al
cdq
push str.super_seeding
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460f0e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
push str.added_time
mov ecx, ebx
mov dword [esi], 0
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460f3f
mov ecx, dword [edi + 0x4a0]
mov dword [eax], ecx
mov edx, dword [edi + 0x4a4]
mov dword [eax + 4], edx
push str.completed_time
mov ecx, ebx
mov dword [esi], 0
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460f70
mov ecx, dword [edi + 0x4a8]
mov dword [eax], ecx
mov edx, dword [edi + 0x4ac]
mov dword [eax + 4], edx
push str.first_completed_time
mov ecx, ebx
mov dword [esi], 0
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460fa1
mov ecx, dword [edi + 0x4b0]
mov dword [eax], ecx
mov edx, dword [edi + 0x4b4]
mov dword [eax + 4], edx
mov dword [esi], 0
mov eax, dword [edi + 0x534]
push str.last_scrape
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x460fd6
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov edx, dword [edi + 0x538]
push str.last_download
mov ecx, ebx
mov dword [esp + 0x18], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x46100b
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov edx, dword [edi + 0x53c]
push str.last_upload
mov ecx, ebx
mov dword [esp + 0x18], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x461040
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [esi], 0
cmp dword [edi + 0x3d4], 0
je 0x461069
lea edx, [edi + 0x3c0]
push edx
push 0x532514
mov ecx, ebx
call fcn.0043d800
mov ecx, eax
call fcn.0043dda0
cmp dword [edi + 0x3f0], 0
je 0x46108c
lea eax, [edi + 0x3dc]
push eax
push str.uuid
mov ecx, ebx
call fcn.0043d800
mov ecx, eax
call fcn.0043dda0
cmp dword [edi + 0x40c], 0
je 0x4610af
lea ecx, [edi + 0x3f8]
push ecx
push str.feed
mov ecx, ebx
call fcn.0043d800
mov ecx, eax
call fcn.0043dda0
mov esi, dword [edi + 0xa8]
push 0
push 0
lea ecx, [esp + 0xc4]
add esi, 0x140
call dword [sym.imp.MSVCP80.dll_protected:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool__unsigned_int_]
mov edx, dword [esp + 0x28]
push edx
lea eax, [esp + 0xc0]
lea ecx, [esi + 0x14]
push eax
mov edx, esi
call fcn.004741c0
lea ecx, [esp + 0xbc]
push ecx
push 0x532358
mov ecx, ebx
mov dword [esp + 0xf0], 2
call fcn.0043d800
mov ecx, eax
call fcn.0043dda0
lea ecx, [esp + 0xbc]
mov dword [esp + 0xe8], 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 edi, dword [edi + 0xa8]
cmp dword [edi + 0x94], 0
jle 0x46125b
mov eax, dword [esp + 0x20]
test byte [eax + 0x545], 0x20
jne 0x46114e
test byte [eax + 0x508], 2
je 0x46125b
lea eax, [esp + 0x28]
mov ecx, edi
call fcn.0044df30
mov esi, eax
mov edi, dword [esp + 0x20]
mov dword [esp + 0xe8], 3
mov ecx, dword [edi + 0xa8]
lea eax, [esp + 0x14]
call fcn.0044df30
mov byte [esp + 0xe8], 4
mov ecx, dword [edi + 0xa8]
mov ecx, dword [ecx + 0x154]
mov esi, dword [esi]
mov eax, dword [eax]
and ecx, 0xffffff
add esi, ecx
push esi
push eax
lea esi, [esp + 0x64]
call fcn.00407db0
add esp, 8
mov dword [esp + 0x24], eax
push str.info
mov ecx, ebx
mov byte [esp + 0xec], 5
call fcn.0043d800
mov edi, eax
mov esi, edi
call fcn.0043e060
mov esi, dword [esp + 0x24]
call fcn.0043df60
lea esi, [esp + 0x5c]
mov byte [esp + 0xe8], 4
call fcn.0043e060
mov byte [esp + 0xe8], 3
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46121e
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x46121e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46121e
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov dword [esp + 0xe8], 0xffffffff
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x46125b
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46125b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46125b
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edi, dword [esp + 0x20]
movzx ecx, byte [edi + 0x50f]
mov eax, dword [edi + 0xa8]
mov eax, dword [eax + 0x94]
and ecx, 0x1f
mov esi, 1
shl esi, cl
cdq
push str.blocks_per_piece
idiv esi
mov ecx, ebx
mov dword [esp + 0x90], eax
cdq
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x4612b6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov eax, dword [edi + 0xa8]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x4613c2
mov edx, dword [eax + 0xd4]
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4613c2
push str.merkle_tree
mov ecx, ebx
call fcn.0043d800
mov esi, eax
call fcn.0043dbc0
mov esi, dword [edi + 0xa8]
mov ecx, eax
mov eax, dword [esi + 0xd0]
test eax, eax
mov dword [esp + 0x24], ecx
je 0x461331
mov edx, dword [esi + 0xd4]
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
cmp dword [esi + 0xd0], 0
jne 0x46134c
xor edi, edi
jmp 0x461369
mov ecx, dword [esi + 0xd4]
sub ecx, dword [esi + 0xd0]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x46138e
mov ecx, dword [esi + 0xd4]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x461394
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], 0x10
mov esi, dword [esi + 0xd0]
jb 0x4613a9
mov eax, dword [eax + 4]
jmp 0x4613ac
add eax, 4
lea ecx, [edi + edi*4]
add ecx, ecx
add ecx, ecx
push ecx
push esi
push eax
call sub.MSVCR80.dll_memcpy
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov ecx, edi
call fcn.00419cb0
test al, al
jne 0x461705
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x318]
mov dword [esp + 0x24], esi
call fcn.0043e460
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
lea eax, [esp + 0x44]
push eax
push str.unfinished
mov ecx, ebx
mov dword [esp + 0xf0], 6
call fcn.0043d800
mov ecx, eax
call fcn.0043de00
lea edi, [esp + 0x44]
mov dword [esp + 0xe8], 0xffffffff
call fcn.0043e940
mov ecx, dword [esp + 0x48]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push str.unfinished
mov ecx, ebx
call fcn.0043d800
mov edi, eax
call fcn.0043dc20
mov ebx, dword [esi + 0x38]
cmp ebx, dword [esi + 0x3c]
mov dword [esp + 0x84], eax
jbe 0x46145c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 0x3c]
cmp dword [esi + 0x38], edi
mov dword [esp + 0x18], ebx
jbe 0x46146e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x461705
cmp ebx, dword [esi + 0x3c]
jb 0x461481
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp word [ebx + 0xc], 0
je 0x4616f2
mov dword [esp + 0x5c], 4
mov dword [esp + 0xe8], 9
call fcn.0043ec20
mov dword [esp + 0x68], eax
mov byte [eax + 0x59], 1
mov eax, dword [esp + 0x68]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x68]
mov dword [eax], eax
mov eax, dword [esp + 0x68]
mov dword [eax + 8], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x5c], 3
mov dword [esp + 0xe8], 0xa
cmp ebx, dword [esi + 0x3c]
jb 0x4614e6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
cdq
push 0x5323b4
lea ecx, [esp + 0x60]
mov edi, eax
mov dword [esp + 0x4c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x461515
mov edx, dword [esp + 0x48]
mov dword [eax], edi
mov dword [eax + 4], edx
lea ecx, [esp + 0xbc]
mov dword [esi], 0
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 + 0xe8], 0xb
mov ecx, dword [esp + 0x8c]
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x38], eax
cmp eax, 1
mov dword [esp + 0x40], 1
lea eax, [esp + 0x40]
jl 0x46155b
lea eax, [esp + 0x38]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], 0
jle 0x461622
mov dword [esp + 0x54], 8
mov eax, ecx
mov dword [esp + 0x40], ecx
nop
mov dword [esp + 0x34], eax
cmp eax, 8
mov byte [esp + 0x3c], 0
lea eax, [esp + 0x54]
jg 0x461596
lea eax, [esp + 0x34]
mov ebx, dword [eax]
xor esi, esi
test ebx, ebx
jle 0x4615ea
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
shl edi, 6
mov eax, dword [esp + 0x24]
cmp edx, dword [eax + 0x3c]
jb 0x4615bc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 8]
mov eax, dword [edi + ecx + 4]
and eax, 0xc000
cmp eax, 0xc000
jne 0x4615da
mov eax, 1
mov ecx, esi
shl eax, cl
jmp 0x4615dc
xor eax, eax
or byte [esp + 0x3c], al
add esi, 1
add edi, 8
cmp esi, ebx
jl 0x4615a9
mov ecx, dword [esp + 0x3c]
push ecx
push 1
lea ecx, [esp + 0xc4]
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__::append_unsigned_int__char_]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
add ecx, 1
sub eax, 8
cmp ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
jl 0x461580
mov ebx, dword [esp + 0x18]
push str.bitmask
lea ecx, [esp + 0x60]
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea ecx, [esi + 8]
test ecx, ecx
mov byte [esp + 0xe8], 0xc
je 0x461654
lea edx, [esp + 0xbc]
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0xe8], 0xb
mov eax, dword [esp + 0x84]
mov dword [esi], 1
mov esi, dword [eax + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x5c]
push ecx
push edx
push esi
call fcn.00408530
mov ecx, dword [esp + 0x84]
mov edi, eax
call fcn.004085d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea ecx, [esp + 0xbc]
mov dword [eax], edi
mov byte [esp + 0xe8], 0xa
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 dword [esp + 0xe8], 0xffffffff
mov eax, dword [esp + 0x5c]
cmp eax, 3
ja case.0x4616ba.0
jmp dword [eax*4 + 0x46271c]
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.0x4616ba.0
lea edi, [esp + 0x64]
call fcn.0043e940
mov eax, dword [esp + 0x68]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp case.0x4616ba.0
lea eax, [esp + 0x64]
call fcn.0043e900
mov esi, dword [esp + 0x24]
cmp ebx, dword [esi + 0x3c]
jb 0x4616fd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebx, 0x14
jmp 0x46145c
mov eax, dword [esp + 0x20]
add eax, 0x31c
mov eax, dword [eax + 4]
test eax, eax
je 0x461a45
mov ecx, dword [esp + 0x20]
add ecx, 0x31c
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x461a45
mov ecx, dword [esp + 0x30]
push str.trackers
call fcn.0043d800
mov edi, eax
call fcn.0043dc20
mov ebx, eax
call fcn.0043e460
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0xe8], 0xd
mov dword [esp + 0x5c], 4
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xec], 0xe
call fcn.0043e0d0
mov dword [esp + 0x5c], 2
mov byte [esp + 0xe8], 0xf
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x5c]
push eax
push ecx
push esi
call fcn.00408530
mov ecx, ebx
mov edi, eax
call fcn.004085d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea esi, [esp + 0x5c]
mov dword [eax], edi
mov byte [esp + 0xe8], 0xd
call fcn.0043e060
lea edi, [esp + 0x44]
mov dword [esp + 0xe8], 0xffffffff
call fcn.0043e940
mov edx, dword [esp + 0x48]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x320]
add eax, 0x31c
add esp, 4
cmp esi, dword [eax + 8]
mov dword [esp + 0x24], 0
jbe 0x461819
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x324]
add edi, 0x31c
cmp dword [edi + 4], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x28], eax
jbe 0x461840
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea esp, [esp]
cmp edi, edi
je 0x46184a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x28]
je 0x461a45
cmp esi, dword [edi + 8]
jb 0x46185f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test byte [esi + 0x73], 0x80
je 0x461a24
cmp esi, dword [edi + 8]
jb 0x461874
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
movzx eax, byte [esi + 0x70]
cmp eax, dword [esp + 0x24]
jne 0x461903
cmp esi, dword [edi + 8]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jb 0x46188f
call edi
push esi
lea esi, [esp + 0x60]
call fcn.0043dd40
mov dword [esp + 0xe8], 0x10
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
cmp esi, eax
jne 0x4618b0
call edi
cmp esi, dword [ebx + 4]
jne 0x4618b7
call edi
add esi, 8
mov edi, esi
call fcn.0043dc20
mov esi, dword [eax + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x5c]
push ecx
push edx
push esi
mov dword [esp + 0x40], eax
call fcn.00408530
mov ecx, dword [esp + 0x34]
mov edi, eax
call fcn.004085d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea esi, [esp + 0x5c]
mov dword [eax], edi
mov dword [esp + 0xe8], 0xffffffff
call fcn.0043e060
jmp 0x461a20
mov dword [esp + 0x5c], 4
mov dword [esp + 0xe8], 0x12
call fcn.0043e460
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x5c], 2
mov dword [esp + 0xe8], 0x14
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x5c]
push eax
push ecx
push esi
call fcn.00408530
mov ecx, ebx
mov edi, eax
call fcn.004085d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea esi, [esp + 0x5c]
mov dword [eax], edi
mov dword [esp + 0xe8], 0xffffffff
call fcn.0043e060
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add eax, 0x31c
cmp edx, dword [eax + 8]
jb 0x46198b
call edi
mov eax, dword [esp + 0x58]
push eax
lea esi, [esp + 0x60]
call fcn.0043dd40
mov dword [esp + 0xe8], 0x15
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
cmp esi, eax
jne 0x4619b0
call edi
cmp esi, dword [ebx + 4]
jne 0x4619b7
call edi
lea edi, [esi + 8]
call fcn.0043dc20
mov esi, dword [eax + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x5c]
push ecx
push edx
push esi
mov dword [esp + 0x40], eax
call fcn.00408530
mov ecx, dword [esp + 0x34]
mov edi, eax
call fcn.004085d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea esi, [esp + 0x5c]
mov dword [eax], edi
mov dword [esp + 0xe8], 0xffffffff
call fcn.0043e060
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
add eax, 0x31c
cmp ecx, dword [eax + 8]
jb 0x461a14
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x58]
movzx eax, byte [edx + 0x70]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x20]
add edi, 0x31c
cmp esi, dword [edi + 8]
jb 0x461a39
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 0x78
mov dword [esp + 0x58], esi
jmp 0x461840
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0xcc], 0
je 0x461c4b
mov esi, dword [esp + 0x30]
push str.url_list
mov ecx, esi
call fcn.0043d800
mov edi, eax
call fcn.0043dc20
push str.httpseeds
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.0043d800
mov edi, eax
call fcn.0043dc20
mov esi, dword [esp + 0x20]
add esi, 0xc4
mov dword [esp + 0x84], eax
mov eax, dword [esi + 4]
mov ebx, dword [eax]
mov edx, eax
mov dword [esp + 0x48], edx
cmp esi, esi
je 0x461aaa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x48]
je 0x461c4b
cmp ebx, dword [esi + 4]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x461ac1
call edi
cmp dword [ebx + 0x24], 0
jne 0x461b78
cmp ebx, dword [esi + 4]
jne 0x461ad2
call edi
lea eax, [ebx + 8]
mov dword [esp + 0x5c], 4
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0xec], 0x16
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [esp + 0x5c], 1
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe8], 0x17
mov esi, dword [eax + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x5c]
push ecx
push edx
push esi
call fcn.00408530
mov ecx, dword [esp + 0x24]
mov edi, eax
call fcn.004085d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov dword [esp + 0xe8], 0xffffffff
mov eax, dword [esp + 0x5c]
cmp eax, 3
ja case.0x461c07.0
jmp dword [eax*4 + 0x46272c]
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.0x461c07.0
lea edi, [esp + 0x64]
call fcn.0043e940
mov eax, dword [esp + 0x68]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp case.0x461c07.0
cmp ebx, dword [esi + 4]
jne 0x461b7f
call edi
cmp dword [ebx + 0x24], 1
jne case.0x461c07.0
cmp ebx, dword [esi + 4]
jne 0x461b90
call edi
lea eax, [ebx + 8]
mov dword [esp + 0x5c], 4
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0xec], 0x18
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [esp + 0x5c], 1
mov dword [esp + 0xe8], 0x19
mov ecx, dword [esp + 0x84]
mov esi, dword [ecx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x5c]
push edx
push eax
push esi
call fcn.00408530
mov ecx, dword [esp + 0x84]
mov edi, eax
call fcn.004085d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov dword [esp + 0xe8], 0xffffffff
mov eax, dword [esp + 0x5c]
cmp eax, 3
ja case.0x461c07.0
jmp dword [eax*4 + 0x46273c]
lea edi, [esp + 0x64]
call fcn.0043e940
mov ecx, dword [esp + 0x68]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp case.0x461c07.0
lea eax, [esp + 0x64]
call fcn.0043e900
mov esi, dword [esp + 0x20]
add esi, 0xc4
cmp ebx, dword [esi + 4]
jne 0x461c44
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebx]
jmp 0x461aa0
mov ecx, dword [esp + 0x30]
push str.pieces
call fcn.0043d800
mov edi, eax
mov eax, dword [edi]
cmp eax, 4
jne 0x461ce9
lea ecx, [edi + 8]
test ecx, ecx
mov dword [esp + 0xe8], 0x1a
je 0x461c7e
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 dword [esp + 0xe8], 0xffffffff
mov dword [edi], 1
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0xa8]
mov eax, dword [eax + 0x90]
add edi, 8
push eax
mov ecx, edi
mov dword [esp + 0x44], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov eax, dword [esi + 0xa8]
cmp dword [eax + 0x94], 0
jle 0x461d1f
cmp dword [esi + 0x318], 0
je 0x461cff
mov dl, byte [esi + 0x4e7]
and dl, 7
cmp dl, 5
je 0x461cff
mov esi, dword [esi + 0x318]
mov eax, dword [esi + 0x28]
test eax, eax
mov ecx, dword [esi + 0x64]
jne 0x461cf3
xor esi, esi
jmp 0x461cfb
cmp eax, 1
je 0x461c8f
call fcn.0043d700
mov esi, dword [esi + 0x2c]
sub esi, eax
sar esi, 3
cmp ecx, esi
jne 0x461d1f
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__::size_void_const]
push eax
push 1
push 0
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
jmp 0x461d78
mov ecx, edi
xor esi, esi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x461d78
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x318]
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x461d4e
mov eax, dword [ebx + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x461d54
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x28]
cmp dword [ecx + esi*8 + 4], 0xffffffff
push esi
mov ecx, edi
sete bl
call dword [sym.imp.MSVCP80.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
test bl, bl
setne dl
add esi, 1
cmp esi, dword [esp + 0x28]
mov byte [eax], dl
jl 0x461d31
mov eax, dword [esp + 0x20]
test byte [eax + 0x4e8], 4
je 0x461dea
mov ecx, edi
xor esi, esi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov ebx, eax
test ebx, ebx
jle 0x461de4
jmp 0x461d9b
mov edi, dword [esp + 0x40]
push esi
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov edi, eax
mov ecx, esi
and ecx, 7
mov eax, 0x80
sar eax, cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, esi
cdq
and edx, 7
add eax, edx
mov edx, dword [ecx + 0x424]
mov ecx, dword [esp + 0x28]
sar eax, 3
mov al, byte [eax + edx]
and cl, al
neg cl
sbb cl, cl
add esi, 1
and ecx, 2
or byte [edi], cl
cmp esi, ebx
jl 0x461d97
mov esi, dword [esp + 0x20]
jmp 0x461dec
mov esi, eax
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0x98]
test ecx, ecx
jne 0x461dff
lea ecx, [eax + 8]
add eax, 8
cmp eax, ecx
je 0x46200e
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x461e1b
xor edx, edx
jmp 0x461e23
mov edx, dword [eax + 0x10]
sub edx, ecx
sar edx, 5
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x461e31
mov eax, ecx
jmp 0x461e34
add eax, 8
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x461e3f
xor eax, eax
jmp 0x461e47
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 5
cmp edx, eax
jne 0x46200e
mov ecx, dword [esp + 0x30]
push str.mapped_files
call fcn.0043d800
mov edi, eax
call fcn.0043dc20
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xa8]
mov ebx, dword [eax + 0xc]
cmp ebx, dword [eax + 0x10]
lea edi, [eax + 8]
mov dword [esp + 0x84], edi
jbe 0x461e86
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi + 0xa8]
mov eax, dword [esi + 0x10]
add esi, 8
cmp dword [esi + 4], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], eax
jbe 0x461ea5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x461eaf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x28]
je 0x46200e
cmp ebx, dword [edi + 8]
jb 0x461ec4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xa8]
lea edx, [esp + 0xbc]
push edx
add eax, 8
push eax
mov edi, ebx
call fcn.00418050
mov dword [esp + 0xe8], 0x1d
mov dword [esp + 0x5c], 4
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xec], 0x1e
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [esp + 0x5c], 1
mov eax, dword [esp + 0x24]
mov byte [esp + 0xe8], 0x1f
mov esi, dword [eax + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x5c]
push ecx
push edx
push esi
call fcn.00408530
mov ecx, dword [esp + 0x24]
mov edi, eax
call fcn.004085d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov byte [esp + 0xe8], 0x1d
mov eax, dword [esp + 0x5c]
cmp eax, 3
ja case.0x461f55.0
jmp dword [eax*4 + 0x46274c]
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp case.0x461f55.0
mov eax, dword [esp + 0x68]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x68]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x68]
cmp esi, eax
mov dword [esp + 0x6c], 0
je 0x461fad
jmp 0x461f90
mov edi, dword [esi]
lea ecx, [esi + 8]
call fcn.0043db60
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x6c]
add esp, 4
cmp edi, eax
mov esi, edi
jne 0x461f90
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x68], 0
jmp case.0x461f55.0
lea eax, [esp + 0x64]
call fcn.0043e900
lea ecx, [esp + 0xbc]
mov dword [esp + 0x5c], 4
mov dword [esp + 0xe8], 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 eax, dword [esp + 0x84]
cmp ebx, dword [eax + 8]
jb 0x461ffb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x84]
add ebx, 0x20
jmp 0x461ea5
mov edi, dword [esp + 0x30]
push str.peers
mov ecx, edi
call fcn.0043d800
mov esi, eax
call fcn.0043dbc0
xor ebx, ebx
push str.banned_peers
mov ecx, edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
call fcn.0043d800
mov esi, eax
call fcn.0043dbc0
push str.peers6
mov ecx, edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
call fcn.0043d800
mov esi, eax
call fcn.0043dbc0
push str.banned_peers6
mov ecx, edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], eax
call fcn.0043d800
mov esi, eax
call fcn.0043dbc0
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x2e8]
add eax, 0xc0
cmp dword [eax], 0x1f
mov dword [esp + 0x28], 0x1f
jle 0x4620ac
lea eax, [esp + 0x28]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x68]
lea esi, [ebx + 0x58]
mov dword [esp + 0x24], ecx
xor ecx, ecx
add edx, eax
cmp eax, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], ecx
jbe 0x4620d9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0xc]
add ecx, eax
cmp eax, ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], ecx
jbe 0x4620f7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
mov eax, ecx
neg eax
mov dword [esp + 0x34], eax
mov eax, ecx
imul eax, eax, 0x32
mov dword [esp + 0x38], eax
lea esp, [esp]
cmp esi, esi
je 0x46211a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x4c], eax
je 0x4622df
call fcn.005147f0
lea eax, [esp + 0x44]
call fcn.004d1320
mov esi, dword [eax]
lea eax, [esp + 0xbc]
mov ecx, esi
call fcn.0044de60
test byte [esi + 0x24], 8
je 0x4621d0
cmp dword [esp + 0xbc], 1
lea ecx, [esp + 0xbc]
jne 0x462197
lea edi, [esp + 0x14]
call fcn.00471230
movzx esi, word [esi + 0x10]
mov edi, dword [esp + 0x18]
mov ebx, 1
mov cl, bl
add cl, cl
add cl, cl
add cl, cl
mov edx, esi
shr dx, cl
mov ecx, edi
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
sub ebx, 1
jns 0x462177
jmp 0x4622b8
lea edi, [esp + 0x54]
call fcn.00471230
movzx esi, word [esi + 0x10]
mov edi, dword [esp + 0x58]
mov ebx, 1
lea ecx, [ecx]
mov cl, bl
add cl, cl
add cl, cl
add cl, cl
mov eax, esi
shr ax, cl
mov ecx, edi
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
sub ebx, 1
jns 0x4621b0
jmp 0x4622b8
test byte [esi + 0x1c], 1
je 0x4622c0
mov ecx, dword [esi + 0x18]
and ecx, 0x1f
cmp ecx, dword [esp + 0x24]
jge 0x4622c0
cmp dword [esp + 0x3c], 0xa
jle 0x462210
test ecx, ecx
jle 0x462210
mov eax, 0x66666667
imul dword [esp + 0x38]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jg 0x4622c0
cmp dword [esp + 0x3c], 0x28
jle 0x46222c
mov ecx, dword [esi + 0x20]
and ecx, 0x3f00
cmp ecx, 0x1000
je 0x4622c0
mov ebx, 1
cmp dword [esp + 0xbc], ebx
lea ecx, [esp + 0xbc]
jne 0x462275
lea edi, [esp + 0x8c]
call fcn.00471230
movzx esi, word [esi + 0x10]
mov edi, dword [esp + 0x90]
mov cl, bl
add cl, cl
add cl, cl
add cl, cl
mov edx, esi
shr dx, cl
mov ecx, edi
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
sub ebx, 1
jns 0x462258
jmp 0x4622ab
lea edi, [esp + 0x84]
call fcn.00471230
movzx esi, word [esi + 0x10]
mov edi, dword [esp + 0x88]
lea esp, [esp]
mov cl, bl
add cl, cl
add cl, cl
add cl, cl
mov eax, esi
shr ax, cl
mov ecx, edi
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
sub ebx, 1
jns 0x462290
mov ecx, dword [esp + 0x34]
add dword [esp + 0x3c], 1
add dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x68]
lea esi, [ebx + 0x58]
cmp dword [esp + 0x4c], edx
jb 0x4622d5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add dword [esp + 0x4c], 1
jmp 0x462110
mov esi, dword [ebx + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_static_int___cdecl_std::numeric_limits_int_::max_void_]
cmp esi, eax
jne 0x4622ef
or esi, 0xffffffff
mov eax, esi
cdq
push str.upload_rate_limit
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x462321
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov esi, dword [ebx + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_static_int___cdecl_std::numeric_limits_int_::max_void_]
cmp esi, eax
jne 0x462337
or esi, 0xffffffff
mov eax, esi
cdq
push str.download_rate_limit
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x462369
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov eax, dword [ebx + 0x514]
and eax, 0xffffff
cdq
push str.max_connections
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x4623aa
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov eax, dword [ebx + 0x504]
and eax, 0xffffff
cdq
push str.max_uploads
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x4623eb
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
test byte [ebx + 0x52c], 0x10
je 0x462407
test byte [ebx + 0x545], 1
jne 0x462407
xor eax, eax
jmp 0x46240c
mov eax, 1
movzx eax, al
cdq
push str.paused
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x46243f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov al, byte [ebx + 0x52c]
shr al, 1
and al, 1
movzx eax, al
cdq
push str.announce_to_dht
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x462482
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov al, byte [ebx + 0x52c]
shr al, 2
and al, 1
movzx eax, al
cdq
push str.announce_to_trackers
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x4624c6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov al, byte [ebx + 0x52c]
shr al, 3
and al, 1
movzx eax, al
cdq
push str.announce_to_lsd
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x46250a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov al, byte [ebx + 0x52c]
shr al, 6
and al, 1
movzx eax, al
cdq
push str.auto_managed
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0043d800
mov esi, eax
call fcn.0043e060
lea eax, [esi + 8]
test eax, eax
je 0x46254e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
push str.piece_priority
mov ecx, edi
mov dword [esi], 0
call fcn.0043d800
mov esi, eax
call fcn.0043dbc0
mov edi, eax
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 0x90]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov ecx, ebx
call fcn.00419cb0
test al, al
je 0x4625ab
mov ecx, dword [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
push eax
push 1
push 0
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
jmp 0x462603
mov ecx, edi
xor esi, esi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x462603
lea ecx, [ecx]
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x318]
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x4625dd
mov eax, dword [ebx + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x4625e3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x28]
mov ebx, dword [ecx + esi*8]
shr ebx, 0x12
push esi
mov ecx, edi
and ebx, 7
call dword [sym.imp.MSVCP80.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
add esi, 1
cmp esi, dword [esp + 0x28]
mov byte [eax], bl
jl 0x4625c0
mov ecx, dword [esp + 0x30]
push str.file_priority
call fcn.0043d800
mov edi, eax
call fcn.0043dc20
mov edi, eax
mov dword [esp + 0x24], edi
call fcn.0043e940
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x2fc]
xor ebx, ebx
test edx, edx
je 0x4626f3
mov ecx, dword [eax + 0x300]
sub ecx, edx
test ecx, ecx
mov dword [esp + 0x28], ecx
jle 0x4626f3
jmp 0x462658
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, dword [eax + 0x2fc]
test ecx, ecx
je 0x46266e
mov eax, dword [eax + 0x300]
sub eax, ecx
cmp ebx, eax
jb 0x462674
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x2fc]
movzx eax, byte [ebx + eax]
cdq
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0xe8], 0x20
mov esi, dword [edi + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x94]
push ecx
push edx
push esi
call fcn.00408530
mov ecx, dword [esp + 0x24]
mov edi, eax
call fcn.004085d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea esi, [esp + 0x94]
mov dword [eax], edi
mov dword [esp + 0xe8], 0xffffffff
call fcn.0043e060
add ebx, 1
cmp ebx, dword [esp + 0x28]
jl 0x462650
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.00515015
mov esp, ebp
pop ebp
ret 4