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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011a521
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x1014d0cc]
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 + 0x28], edi
mov dword [esp + 0x44], 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.10036600
push eax
call fcn.10036c50
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.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8803
mov dword [eax], 1
mov dword [eax + 4], 0
push str.0.16.0.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.10036600
push eax
call fcn.10036c50
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.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8883
mov edx, dword [edi + 0x80]
mov dword [eax], edx
mov ecx, dword [edi + 0x84]
mov dword [eax + 4], ecx
push str.total_downloaded
mov ecx, ebx
mov dword [esi], 0
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c88b4
mov edx, dword [edi + 0x88]
mov dword [eax], edx
mov ecx, dword [edi + 0x8c]
mov dword [eax + 4], ecx
push str.total_web_downloaded
mov ecx, ebx
mov dword [esi], 0
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c88e5
mov edx, dword [edi + 0x90]
mov dword [eax], edx
mov ecx, dword [edi + 0x94]
mov dword [eax + 4], ecx
mov dword [esi], 0
mov eax, dword [edi + 0x4cc]
and eax, 0xffffff
push str.active_time
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c891f
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 + 0x4d4]
and eax, 0xffffff
push str.finished_time
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8959
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 + 0x4dc]
and eax, 0xffffff
push str.seeding_time
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8993
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.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c89c4
mov ecx, dword [edi + 0x498]
mov dword [eax], ecx
mov edx, dword [edi + 0x49c]
mov dword [eax + 4], edx
mov dword [esi], 0
mov eax, dword [edi + 0x4fc]
and eax, 0xffffff
push str.num_seeds
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c89fe
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 + 0x504]
and eax, 0xffffff
push str.num_incomplete
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8a38
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 + 0x518]
and eax, 0xffffff
push str.num_downloaders
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8a72
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 + 0x4d8]
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.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8ab4
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 + 0x4c8]
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.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8af8
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 + 0x4d8]
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.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8b3c
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.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8b6d
mov ecx, dword [edi + 0x480]
mov dword [eax], ecx
mov edx, dword [edi + 0x484]
mov dword [eax + 4], edx
push str.completed_time
mov ecx, ebx
mov dword [esi], 0
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8b9e
mov ecx, dword [edi + 0x488]
mov dword [eax], ecx
mov edx, dword [edi + 0x48c]
mov dword [eax + 4], edx
push str.first_completed_time
mov ecx, ebx
mov dword [esi], 0
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8bcf
mov ecx, dword [edi + 0x490]
mov dword [eax], ecx
mov edx, dword [edi + 0x494]
mov dword [eax + 4], edx
mov dword [esi], 0
movzx eax, word [edi + 0x510]
cdq
push str.last_scrape
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8c0c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
movzx eax, word [edi + 0x512]
cdq
push str.last_download
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8c49
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
movzx eax, word [edi + 0x514]
cdq
push str.last_upload
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8c86
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
cmp dword [edi + 0x3b8], 0
je 0x100c8cae
lea eax, [edi + 0x3a4]
push eax
push 0x1012c894
mov ecx, ebx
call fcn.10036600
push eax
call fcn.10036c50
cmp dword [edi + 0x3d4], 0
je 0x100c8cd0
lea ecx, [edi + 0x3c0]
push ecx
push str.uuid
mov ecx, ebx
call fcn.10036600
push eax
call fcn.10036c50
cmp dword [edi + 0x3f0], 0
je 0x100c8cf2
lea edx, [edi + 0x3dc]
push edx
push str.feed
mov ecx, ebx
call fcn.10036600
push eax
call fcn.10036c50
mov esi, dword [edi + 0xa0]
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 eax, dword [esp + 0x2c]
push eax
lea edx, [esp + 0xc0]
push edx
lea ecx, [esi + 0x14]
mov edx, esi
call fcn.100d8850
lea eax, [esp + 0xbc]
push eax
push str.info_hash
mov ecx, ebx
mov dword [esp + 0xf0], 2
call fcn.10036600
push eax
call fcn.10036c50
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 ecx, dword [edi + 0xa0]
cmp dword [ecx + 0x94], 0
jle 0x100c8e92
test byte [edi + 0x51d], 0x20
jne 0x100c8d8c
test byte [edi + 0x4e8], 2
je 0x100c8e92
lea eax, [esp + 0x2c]
call fcn.10027200
mov esi, eax
mov dword [esp + 0xe8], 3
mov ecx, dword [edi + 0xa0]
lea eax, [esp + 0x14]
call fcn.10027200
mov byte [esp + 0xe8], 4
mov ecx, dword [edi + 0xa0]
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.10009910
add esp, 8
mov dword [esp + 0x20], eax
push str.info
mov ecx, ebx
mov byte [esp + 0xec], 5
call fcn.10036600
mov esi, eax
call fcn.10036f00
push esi
mov esi, dword [esp + 0x24]
call fcn.10036e30
lea esi, [esp + 0x5c]
mov byte [esp + 0xe8], 4
call fcn.10036f00
mov byte [esp + 0xe8], 3
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100c8e55
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c8e55
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c8e55
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov dword [esp + 0xe8], 0xffffffff
mov esi, dword [esp + 0x30]
test esi, esi
je 0x100c8e92
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c8e92
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c8e92
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
movzx ecx, byte [edi + 0x4ef]
mov eax, dword [edi + 0xa0]
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.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c8ee9
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 + 0xa0]
mov edx, dword [eax + 0xd0]
test edx, edx
je 0x100c8ff3
mov ecx, dword [eax + 0xd4]
sub ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100c8ff3
push str.merkle_tree
mov ecx, ebx
call fcn.10036600
push eax
call fcn.100369d0
mov esi, dword [edi + 0xa0]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x100c8f61
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
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
push ecx
mov ecx, dword [esp + 0x38]
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, dword [esi + 0xd0]
test ecx, ecx
jne 0x100c8f83
mov dword [esp + 0x3c], ecx
jmp 0x100c8fa0
mov edx, dword [esi + 0xd4]
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x100c8fbf
mov edx, dword [esi + 0xd4]
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100c8fc5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x18], 0x10
mov esi, dword [esi + 0xd0]
jb 0x100c8fda
mov ecx, dword [eax + 4]
jmp 0x100c8fdd
lea ecx, [eax + 4]
mov eax, dword [esp + 0x3c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
push edx
push esi
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov edi, dword [edi + 0x304]
test edi, edi
mov dword [esp + 0x34], edi
je 0x100c934d
call fcn.100d3090
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
lea eax, [esp + 0x4c]
push eax
push str.unfinished
mov ecx, ebx
mov dword [esp + 0xf0], 6
call fcn.10036600
push eax
call fcn.10036cc0
lea edi, [esp + 0x4c]
mov dword [esp + 0xe8], 0xffffffff
call fcn.100272c0
mov ecx, dword [esp + 0x50]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push str.unfinished
mov ecx, ebx
call fcn.10036600
push eax
call fcn.10036a40
mov esi, dword [esp + 0x34]
mov ebx, dword [esi + 0x38]
cmp ebx, dword [esi + 0x3c]
mov dword [esp + 0x20], eax
jbe 0x100c9081
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 0x100c9093
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x100c934d
cmp ebx, dword [esi + 0x3c]
jb 0x100c90a6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp word [ebx + 0xc], 0
je 0x100c933a
lea edx, [esp + 0x64]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x2c], edx
mov dword [esp + 0xe8], 9
call fcn.10037340
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 0x100c9113
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
cdq
push 0x1012e3fc
lea ecx, [esp + 0x60]
mov edi, eax
mov dword [esp + 0x54], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c9142
mov ecx, dword [esp + 0x50]
mov dword [eax], edi
mov dword [eax + 4], ecx
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 + 0x3c], eax
cmp eax, 1
mov dword [esp + 0x84], 1
lea eax, [esp + 0x84]
jl 0x100c918e
lea eax, [esp + 0x3c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], 0
jle 0x100c9268
mov dword [esp + 0x44], 8
mov eax, ecx
mov dword [esp + 0x84], ecx
jmp 0x100c91c0
mov dword [esp + 0x28], eax
cmp eax, 8
mov byte [esp + 0x38], 0
lea eax, [esp + 0x44]
jg 0x100c91d6
lea eax, [esp + 0x28]
mov ebx, dword [eax]
xor esi, esi
test ebx, ebx
jle 0x100c922a
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
shl edi, 6
mov eax, dword [esp + 0x34]
cmp edx, dword [eax + 0x3c]
jb 0x100c91fc
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 0x100c921a
mov eax, 1
mov ecx, esi
shl eax, cl
jmp 0x100c921c
xor eax, eax
or byte [esp + 0x38], al
add esi, 1
add edi, 8
cmp esi, ebx
jl 0x100c91e9
mov ecx, dword [esp + 0x38]
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 + 0x3c]
mov eax, dword [esp + 0x84]
add ecx, 1
sub eax, 8
cmp ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x84], eax
jl 0x100c91c0
mov ebx, dword [esp + 0x18]
push str.bitmask
lea ecx, [esp + 0x60]
call fcn.10036600
mov esi, eax
mov dword [esp + 0x2c], esi
call fcn.10036f00
lea ecx, [esi + 8]
mov dword [esp + 0x28], ecx
test ecx, ecx
mov byte [esp + 0xe8], 0xc
je 0x100c92a2
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 eax, dword [esp + 0x20]
mov byte [esp + 0xe8], 0xb
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.10008c40
mov ecx, dword [esp + 0x20]
mov edi, eax
call fcn.10008ce0
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.0x100c9302.0
jmp dword [eax*4 + 0x100ca29c]
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.0x100c9302.0
lea edi, [esp + 0x64]
call fcn.100272c0
mov eax, dword [esp + 0x68]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp case.0x100c9302.0
lea eax, [esp + 0x64]
call fcn.10037170
mov esi, dword [esp + 0x34]
cmp ebx, dword [esi + 0x3c]
jb 0x100c9345
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebx, 0x14
jmp 0x100c9081
mov eax, dword [esp + 0x24]
add eax, 0x308
mov eax, dword [eax + 4]
test eax, eax
je 0x100c9685
mov ecx, dword [esp + 0x24]
add ecx, 0x308
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 0x100c9685
mov ecx, dword [esp + 0x40]
push str.trackers
call fcn.10036600
push eax
call fcn.10036a40
mov ebx, eax
call fcn.100d3090
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0xec], 0xd
call fcn.10036bf0
mov byte [esp + 0xe8], 0xe
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x5c]
push eax
push ecx
push esi
call fcn.10008c40
mov ecx, ebx
mov edi, eax
call fcn.10008ce0
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.10036f00
lea edi, [esp + 0x4c]
mov dword [esp + 0xe8], 0xffffffff
call fcn.100272c0
mov edx, dword [esp + 0x50]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x30c]
add eax, 0x308
add esp, 4
cmp esi, dword [eax + 8]
mov dword [esp + 0x20], 0
jbe 0x100c9448
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x310]
add edi, 0x308
cmp dword [edi + 4], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], eax
jbe 0x100c9470
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jmp 0x100c9470
cmp edi, edi
je 0x100c947a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x2c]
je 0x100c9685
cmp esi, dword [edi + 8]
jb 0x100c948f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test byte [esi + 0x73], 0x80
je 0x100c9664
cmp esi, dword [edi + 8]
jb 0x100c94a4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
movzx eax, byte [esi + 0x70]
cmp eax, dword [esp + 0x20]
jne 0x100c9533
cmp esi, dword [edi + 8]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jb 0x100c94bf
call edi
push esi
lea ecx, [esp + 0x60]
push ecx
call fcn.10036b80
mov dword [esp + 0xe8], 0xf
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
cmp esi, eax
jne 0x100c94e1
call edi
cmp esi, dword [ebx + 4]
jne 0x100c94e8
call edi
add esi, 8
push esi
call fcn.10036a40
mov esi, dword [eax + 4]
lea edx, [esp + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
push edx
push eax
push esi
call fcn.10008c40
mov ecx, dword [esp + 0x28]
mov edi, eax
call fcn.10008ce0
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.10036f00
jmp 0x100c9660
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0xe8], 0x11
call fcn.100d3090
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x5c], 2
mov dword [esp + 0xe8], 0x13
mov esi, dword [ebx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x5c]
push edx
push eax
push esi
call fcn.10008c40
mov ecx, ebx
mov edi, eax
call fcn.10008ce0
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.10036f00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
add eax, 0x308
cmp ecx, dword [eax + 8]
jb 0x100c95c1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x48]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.10036b80
mov dword [esp + 0xe8], 0x14
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
cmp esi, eax
jne 0x100c95eb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [ebx + 4]
jne 0x100c95f6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [esi + 8]
push eax
call fcn.10036a40
mov esi, dword [eax + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x5c]
push ecx
push edx
push esi
mov dword [esp + 0x34], eax
call fcn.10008c40
mov ecx, dword [esp + 0x28]
mov edi, eax
call fcn.10008ce0
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.10036f00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
add eax, 0x308
cmp ecx, dword [eax + 8]
jb 0x100c9654
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x48]
movzx eax, byte [edx + 0x70]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x24]
add edi, 0x308
cmp esi, dword [edi + 8]
jb 0x100c9679
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 0x78
mov dword [esp + 0x48], esi
jmp 0x100c9470
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0xc4], 0
je 0x100c9878
mov esi, dword [esp + 0x40]
push str.url_list
mov ecx, esi
call fcn.10036600
push eax
call fcn.10036a40
push str.httpseeds
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.10036600
push eax
call fcn.10036a40
mov edi, dword [esp + 0x24]
lea esi, [edi + 0xbc]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 4]
mov ebx, dword [eax]
mov edx, eax
mov dword [esp + 0x50], edx
mov edi, edi
cmp esi, esi
je 0x100c96ea
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x50]
je 0x100c987a
cmp ebx, dword [esi + 4]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x100c9701
call edi
cmp dword [ebx + 0x24], 0
jne 0x100c9792
cmp ebx, dword [esi + 4]
jne 0x100c9712
call edi
lea ecx, [esp + 0x64]
lea eax, [ebx + 8]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x2c], ecx
push eax
mov dword [esp + 0xec], 0x15
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 edx, dword [esp + 0x20]
mov dword [esp + 0xe8], 0x16
mov esi, dword [edx + 4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x5c]
push eax
push ecx
push esi
call fcn.10008c40
mov ecx, dword [esp + 0x20]
mov edi, eax
call fcn.10008ce0
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.0x100c9825.0
jmp dword [eax*4 + 0x100ca2ac]
cmp ebx, dword [esi + 4]
jne 0x100c9799
call edi
cmp dword [ebx + 0x24], 1
jne case.0x100c9825.0
cmp ebx, dword [esi + 4]
jne 0x100c97aa
call edi
lea ecx, [esp + 0x64]
lea eax, [ebx + 8]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x2c], ecx
push eax
mov dword [esp + 0xec], 0x17
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], 0x18
mov edx, dword [esp + 0x84]
mov esi, dword [edx + 4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x5c]
push eax
push ecx
push esi
call fcn.10008c40
mov ecx, dword [esp + 0x84]
mov edi, eax
call fcn.10008ce0
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.0x100c9825.0
jmp dword [eax*4 + 0x100ca2bc]
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.0x100c9825.0
lea edi, [esp + 0x64]
call fcn.100272c0
mov edx, dword [esp + 0x68]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp case.0x100c9825.0
lea eax, [esp + 0x64]
call fcn.10037170
mov edi, dword [esp + 0x24]
cmp ebx, dword [edi + 0xc0]
lea esi, [edi + 0xbc]
jne 0x100c9871
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebx]
jmp 0x100c96e0
mov edi, ecx
mov ebx, dword [esp + 0x40]
push str.pieces
mov ecx, ebx
call fcn.10036600
push eax
call fcn.100369d0
mov esi, eax
mov eax, dword [edi + 0xa0]
mov eax, dword [eax + 0x90]
push eax
mov ecx, esi
mov dword [esp + 0x3c], esi
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 [edi + 0xa0]
cmp dword [eax + 0x94], 0
jle 0x100c990f
cmp dword [edi + 0x304], 0
je 0x100c98ef
mov al, byte [edi + 0x4c7]
and al, 7
cmp al, 5
je 0x100c98ef
mov eax, dword [edi + 0x304]
mov ecx, dword [eax + 0x28]
test ecx, ecx
mov edx, dword [eax + 0x64]
jne 0x100c98e3
xor eax, eax
jmp 0x100c98eb
mov eax, dword [eax + 0x2c]
sub eax, ecx
sar eax, 3
cmp edx, eax
jne 0x100c990f
mov ecx, 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]
push eax
push 1
push 0
mov ecx, esi
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 0x100c996c
mov ecx, dword [esp + 0x38]
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 + 0x2c], eax
jle 0x100c996c
mov ebx, dword [edi + 0x304]
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x100c993c
mov eax, dword [ebx + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x100c9942
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x28]
cmp dword [ecx + esi*8 + 4], 0xffffffff
mov ecx, dword [esp + 0x38]
push esi
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 + 0x2c]
mov byte [eax], dl
jl 0x100c9923
mov ebx, dword [esp + 0x40]
test byte [edi + 0x4c8], 4
je 0x100c99dd
mov ecx, dword [esp + 0x38]
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 0x100c99dd
lea esp, [esp]
mov ecx, dword [esp + 0x38]
push esi
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 ebx, eax
mov ecx, esi
and ecx, 7
mov eax, 0x80
sar eax, cl
mov ecx, dword [edi + 0x408]
mov dword [esp + 0x2c], eax
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dl, byte [eax + ecx]
mov eax, dword [esp + 0x2c]
and al, dl
neg al
sbb al, al
add esi, 1
and eax, 2
or byte [ebx], al
cmp esi, dword [esp + 0x28]
jl 0x100c9990
mov ebx, dword [esp + 0x40]
mov eax, dword [edi + 0xa0]
mov ecx, dword [eax + 0x98]
test ecx, ecx
jne 0x100c99f0
lea ecx, [eax + 8]
add eax, 8
cmp eax, ecx
je 0x100c9c00
mov eax, dword [edi + 0xa0]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x100c9a0c
xor edx, edx
jmp 0x100c9a14
mov edx, dword [eax + 0x10]
sub edx, ecx
sar edx, 5
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x100c9a22
mov eax, ecx
jmp 0x100c9a25
add eax, 8
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x100c9a30
xor eax, eax
jmp 0x100c9a38
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 5
cmp edx, eax
jne 0x100c9c00
push str.mapped_files
mov ecx, ebx
call fcn.10036600
push eax
call fcn.10036a40
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xa0]
mov esi, dword [eax + 0xc]
add eax, 8
cmp esi, dword [eax + 8]
mov dword [esp + 0x34], eax
jbe 0x100c9a71
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0xa0]
mov ecx, dword [eax + 0x10]
add eax, 8
cmp dword [eax + 4], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
jbe 0x100c9a98
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], eax
je 0x100c9aa4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x2c]
je 0x100c9c00
mov eax, dword [esp + 0x34]
cmp esi, dword [eax + 8]
jb 0x100c9abd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xa0]
mov edi, dword [esp + 0x18]
lea edx, [esp + 0xbc]
push edx
add eax, 8
push eax
call fcn.10040420
mov dword [esp + 0xe8], 0x19
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x44], ecx
push eax
mov byte [esp + 0xec], 0x1a
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 byte [esp + 0xe8], 0x1b
mov ebx, dword [esp + 0x28]
mov esi, dword [ebx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x5c]
push edx
push eax
push esi
call fcn.10008c40
mov ecx, ebx
mov edi, eax
call fcn.10008ce0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov byte [esp + 0xe8], 0x19
mov eax, dword [esp + 0x5c]
cmp eax, 3
ja case.0x100c9b4e.0
jmp dword [eax*4 + 0x100ca2cc]
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.0x100c9b4e.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]
xor ebx, ebx
cmp esi, eax
mov dword [esp + 0x6c], ebx
je 0x100c9b9d
mov edi, edi
mov edi, dword [esi]
lea ecx, [esi + 8]
call fcn.10036960
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 0x100c9b80
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x68], ebx
jmp case.0x100c9b4e.0
lea eax, [esp + 0x64]
call fcn.10037170
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 ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + 8]
jb 0x100c9be8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
add esi, 0x20
mov dword [esp + 0x18], esi
jmp 0x100c9a94
push str.peers
mov ecx, ebx
call fcn.10036600
push eax
call fcn.100369d0
xor esi, esi
push str.banned_peers
mov ecx, ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], eax
call fcn.10036600
push eax
call fcn.100369d0
push str.peers6
mov ecx, ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
call fcn.10036600
push eax
call fcn.100369d0
push str.banned_peers6
mov ecx, ebx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], eax
call fcn.10036600
push eax
call fcn.100369d0
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x2e0]
add eax, 0xa8
cmp dword [eax], 0x1f
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0x1f
jle 0x100c9c92
lea eax, [esp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [edi + 0x68]
lea esi, [edi + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
add ecx, eax
cmp eax, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], 0
jbe 0x100c9cc1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xc]
add ecx, eax
cmp eax, ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x2c], ecx
jbe 0x100c9ce0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
nop
cmp esi, esi
je 0x100c9cea
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x54], edx
je 0x100c9e67
call fcn.1010d600
lea eax, [esp + 0x4c]
call fcn.1010a780
mov esi, dword [eax]
lea eax, [esp + 0xbc]
mov ecx, esi
call fcn.1001ccf0
test byte [esi + 0x24], 8
je 0x100c9da0
cmp dword [esp + 0xbc], 1
lea ecx, [esp + 0xbc]
jne 0x100c9d67
lea edi, [esp + 0x14]
call fcn.100236c0
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 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 0x100c9d47
jmp 0x100c9e3b
lea edi, [esp + 0x44]
call fcn.100236c0
movzx esi, word [esi + 0x10]
mov edi, dword [esp + 0x48]
mov ebx, 1
lea ecx, [ecx]
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 0x100c9d80
jmp 0x100c9e3b
test byte [esi + 0x1c], 1
je 0x100c9e3b
mov eax, dword [esi + 0x18]
and eax, 0x1f
cmp eax, dword [esp + 0x28]
jge 0x100c9e3b
cmp dword [esp + 0xbc], 1
lea ecx, [esp + 0xbc]
jne 0x100c9e04
lea edi, [esp + 0x8c]
call fcn.100236c0
movzx esi, word [esi + 0x10]
mov edi, dword [esp + 0x90]
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 0x100c9de7
jmp 0x100c9e3b
lea edi, [esp + 0x84]
call fcn.100236c0
movzx esi, word [esi + 0x10]
mov edi, dword [esp + 0x88]
mov ebx, 1
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 0x100c9e20
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax + 0xc]
cmp dword [esp + 0x54], ecx
jb 0x100c9e51
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add dword [esp + 0x54], 1
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x100c9ce0
mov esi, dword [edi + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_static_int___cdecl_std::numeric_limits_int_::max_void_]
cmp esi, eax
jne 0x100c9e77
or esi, 0xffffffff
mov eax, esi
cdq
push str.upload_rate_limit
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c9ea9
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov esi, dword [edi + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_static_int___cdecl_std::numeric_limits_int_::max_void_]
cmp esi, eax
jne 0x100c9ebf
or esi, 0xffffffff
mov eax, esi
cdq
push str.download_rate_limit
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c9ef1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov eax, dword [edi + 0x4f4]
and eax, 0xffffff
cdq
push str.max_connections
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c9f32
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov eax, dword [edi + 0x4e4]
and eax, 0xffffff
cdq
push str.max_uploads
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c9f73
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [esi], 0
test byte [edi + 0x50c], 0x10
je 0x100c9f8f
test byte [edi + 0x51d], 1
jne 0x100c9f8f
xor eax, eax
jmp 0x100c9f94
mov eax, 1
movzx eax, al
cdq
push str.paused
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100c9fc7
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [esi], 0
mov dl, byte [edi + 0x50c]
shr dl, 1
and dl, 1
movzx eax, dl
cdq
push str.announce_to_dht
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100ca00b
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 + 0x50c]
shr al, 2
and al, 1
movzx eax, al
cdq
push str.announce_to_trackers
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100ca04f
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 + 0x50c]
shr al, 3
and al, 1
movzx eax, al
cdq
push str.announce_to_lsd
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100ca093
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 + 0x50c]
shr al, 6
and al, 1
movzx eax, al
cdq
push str.auto_managed
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.10036600
mov esi, eax
call fcn.10036f00
lea eax, [esi + 8]
test eax, eax
je 0x100ca0d7
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, ebx
mov dword [esi], 0
call fcn.10036600
push eax
call fcn.100369d0
mov ebx, eax
mov eax, dword [edi + 0xa0]
mov eax, dword [eax + 0x90]
push eax
mov ecx, ebx
mov dword [esp + 0x30], ebx
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, edi
call fcn.1001d040
test al, al
je 0x100ca137
mov ecx, dword [esp + 0x38]
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, ebx
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 0x100ca18a
mov ecx, ebx
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 0x100ca18a
mov ebx, dword [edi + 0x304]
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x100ca162
mov eax, dword [ebx + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x100ca168
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 0x28]
mov ebx, dword [eax + esi*8]
mov ecx, dword [esp + 0x2c]
shr ebx, 0x12
push esi
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 0x100ca149
mov ecx, dword [esp + 0x40]
push str.file_priority
call fcn.10036600
push eax
call fcn.10036a40
mov edi, eax
mov dword [esp + 0x20], eax
call fcn.100272c0
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x2e8]
xor ebx, ebx
test edx, edx
je 0x100ca276
mov ecx, dword [eax + 0x2ec]
sub ecx, edx
test ecx, ecx
mov dword [esp + 0x2c], ecx
jle 0x100ca276
jmp 0x100ca1d7
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2e8]
test ecx, ecx
je 0x100ca1ed
mov eax, dword [eax + 0x2ec]
sub eax, ecx
cmp ebx, eax
jb 0x100ca1f3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x2e8]
movzx eax, byte [ebx + edx]
cdq
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0xe8], 0x1c
mov esi, dword [eax + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x94]
push ecx
push edx
push esi
call fcn.10008c40
mov ecx, dword [esp + 0x20]
mov edi, eax
call fcn.10008ce0
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.10036f00
add ebx, 1
cmp ebx, dword [esp + 0x2c]
jl 0x100ca1d3
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.1010defb
mov esp, ebp
pop ebp
ret 4