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

Disassembly:
push 0xffffffffffffffff
push 0x73114c
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x820ac4]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x19c]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x194], ebx
mov ebp, 7
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], bx
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
push 0x7b6c78
mov byte [esp + 0x198], 4
call fcn.0054b1a0
add esp, 4
push eax
push 0x7b6c78
lea ecx, [esp + 0xe4]
call fcn.0040186c
push 0x7c3378
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.0054b1a0
add esp, 4
push eax
push 0x7c3378
lea ecx, [esp + 0x48]
call fcn.0040186c
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xe0]
push ecx
mov byte [esp + 0x19c], 5
call fcn.00472250
mov esi, 8
mov byte [esp + 0x194], 4
cmp dword [esp + 0x58], esi
mov edi, eax
jb 0x4d7d76
mov edx, dword [esp + 0x44]
push edx
call fcn.005416e5
add esp, 4
push str.ComplexQuery
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.ComplexQuery
lea ecx, [esp + 0xc8]
call fcn.0040186c
lea eax, [esp + 0xc0]
push eax
push edi
mov byte [esp + 0x19c], 6
call fcn.00472250
mov edi, eax
mov byte [esp + 0x194], 4
cmp dword [esp + 0xd8], esi
mov dword [esp + 0x38], edi
jb 0x4d7df5
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.005416e5
add esp, 4
push str.version_major
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.version_major
lea ecx, [esp + 0x1c]
call fcn.0040186c
push 0x8b5001
lea edx, [esp + 0x18]
push edx
push edi
mov byte [esp + 0x1a0], 7
call fcn.004ca530
mov byte [esp + 0x194], 4
cmp dword [esp + 0x2c], esi
jb 0x4d7e67
mov eax, dword [esp + 0x18]
push eax
call fcn.005416e5
add esp, 4
push str.version_minor
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.version_minor
lea ecx, [esp + 0x1c]
call fcn.0040186c
push 0x8b5002
lea ecx, [esp + 0x18]
push ecx
push edi
mov byte [esp + 0x1a0], 8
call fcn.004ca530
mov byte [esp + 0x194], 4
cmp dword [esp + 0x2c], esi
jb 0x4d7ec3
mov edx, dword [esp + 0x18]
push edx
call fcn.005416e5
add esp, 4
push str.language
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.language
lea ecx, [esp + 0x1c]
call fcn.0040186c
push 0x83c630
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], 9
call fcn.00471b3e
mov byte [esp + 0x194], 4
cmp dword [esp + 0x2c], esi
jb 0x4d7f1e
mov eax, dword [esp + 0x18]
push eax
call fcn.005416e5
add esp, 4
push str.system_language
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.system_language
lea ecx, [esp + 0x1c]
call fcn.0040186c
lea esi, [esp + 0x5c]
mov byte [esp + 0x194], 0xa
call fcn.00459ee2
push edi
mov edx, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 0xb
call fcn.00471a0b
cmp dword [esp + 0x74], 0x10
jb 0x4d7f80
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005416e5
add esp, 4
mov esi, 8
mov byte [esp + 0x194], 4
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x4d7fb0
mov edx, dword [esp + 0x18]
push edx
call fcn.005416e5
add esp, 4
push 0x7c3a30
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.0054b1a0
add esp, 4
push eax
push 0x7c3a30
lea ecx, [esp + 0x48]
call fcn.0040186c
push edi
mov edx, 0x83c684
lea ecx, [esp + 0x44]
mov byte [esp + 0x198], 0xc
call fcn.00471a0b
mov byte [esp + 0x194], 4
cmp dword [esp + 0x58], esi
jb 0x4d800b
mov eax, dword [esp + 0x44]
push eax
call fcn.005416e5
add esp, 4
mov ecx, dword [0x8b501c]
cmp ecx, ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
je 0x4d8099
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
test al, al
je 0x4d8099
mov ecx, dword [0x8b501c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push str.user_experience
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.user_experience
lea ecx, [esp + 0x1c]
call fcn.0040186c
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
mov byte [esp + 0x1a0], 0xd
call fcn.0049213c
mov byte [esp + 0x194], 4
cmp dword [esp + 0x2c], esi
jb 0x4d8099
mov eax, dword [esp + 0x18]
push eax
call fcn.005416e5
add esp, 4
push str.Shares
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.Shares
lea ecx, [esp + 0x98]
call fcn.0040186c
lea ecx, [esp + 0x90]
push ecx
push edi
mov byte [esp + 0x19c], 0xe
call fcn.00472250
mov byte [esp + 0x194], 4
cmp dword [esp + 0xa8], esi
mov dword [esp + 0x3c], eax
jb 0x4d8109
mov edx, dword [esp + 0x94]
push edx
call fcn.005416e5
add esp, 4
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
jbe 0x4d8130
call fcn.0054b876
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 8]
cmp dword [eax + 4], esi
jbe 0x4d8141
call fcn.0054b876
cmp edi, esi
je 0x4d830b
push str.Share
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.Share
lea ecx, [esp + 0x1c]
call fcn.0040186c
lea eax, [esp + 0x14]
mov byte [esp + 0x194], 0xf
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.00472250
mov esi, eax
mov byte [esp + 0x194], 4
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x88], esi
jb 0x4d81ae
mov edx, dword [esp + 0x18]
push edx
call fcn.005416e5
add esp, 4
push str.file_hash
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.file_hash
lea ecx, [esp + 0x64]
call fcn.0040186c
mov eax, dword [esp + 0x34]
mov byte [esp + 0x194], 0x10
cmp edi, dword [eax + 8]
jb 0x4d81fa
call fcn.0054b876
push 0x14
lea ecx, [esp + 0x44]
push ebx
push ecx
call fcn.0054b920
add esp, 0xc
push 0x14
lea edx, [esp + 0x44]
push edi
push edx
call fcn.0054d050
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
push ecx
push esi
call fcn.004ca5b0
mov byte [esp + 0x194], 4
cmp dword [esp + 0x74], 8
jb 0x4d8246
mov edx, dword [esp + 0x60]
push edx
call fcn.005416e5
add esp, 4
mov eax, dword [esp + 0x34]
cmp edi, dword [eax + 8]
jb 0x4d8254
call fcn.0054b876
lea esi, [edi + 0x14]
call fcn.0044ec06
push str.file_size
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.file_size
lea ecx, [esp + 0x64]
call fcn.0040186c
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0044e982
add esp, 8
push eax
mov byte [esp + 0x198], 0x12
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x64]
call fcn.00471b3e
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x4d82da
mov ecx, dword [esp + 0x44]
push ecx
call fcn.005416e5
add esp, 4
mov byte [esp + 0x194], 4
cmp dword [esp + 0x74], esi
jb 0x4d82f5
mov edx, dword [esp + 0x60]
push edx
call fcn.005416e5
add esp, 4
mov eax, dword [esp + 0x34]
cmp edi, dword [eax + 8]
jb 0x4d8303
call fcn.0054b876
add edi, 0x1c
jmp 0x4d8130
push 0x14
lea ecx, [esp + 0x44]
push ebx
push ecx
call fcn.0054b920
mov ecx, dword [esp + 0x98]
add esp, 0xc
mov edx, 0x14
lea eax, [esp + 0x40]
jmp 0x4d8330
mov esi, dword [ecx]
cmp esi, dword [eax]
jne 0x4d8348
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x4d8330
cmp edx, ebx
je 0x4d83a5
movzx esi, byte [ecx]
movzx edi, byte [eax]
sub esi, edi
jne 0x4d8397
sub edx, 1
add eax, 1
add ecx, 1
cmp edx, ebx
je 0x4d83a5
movzx esi, byte [ecx]
movzx edi, byte [eax]
sub esi, edi
jne 0x4d8397
sub edx, 1
add eax, 1
add ecx, 1
cmp edx, ebx
je 0x4d83a5
movzx esi, byte [ecx]
movzx edi, byte [eax]
sub esi, edi
jne 0x4d8397
sub edx, 1
add eax, 1
add ecx, 1
cmp edx, ebx
je 0x4d83a5
movzx esi, byte [ecx]
movzx edx, byte [eax]
sub esi, edx
je 0x4d83a5
cmp esi, ebx
mov eax, 1
jg 0x4d83a7
or eax, 0xffffffff
jmp 0x4d83a7
xor eax, eax
cmp eax, ebx
je 0x4d84f7
push str.Superviser
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.Superviser
lea ecx, [esp + 0x1c]
call fcn.0040186c
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x19c], 0x13
call fcn.00472250
mov edi, 8
mov byte [esp + 0x194], 4
cmp dword [esp + 0x2c], edi
mov esi, eax
jb 0x4d8411
mov edx, dword [esp + 0x18]
push edx
call fcn.005416e5
add esp, 4
push str.torrent_hash
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.torrent_hash
lea ecx, [esp + 0x64]
call fcn.0040186c
mov byte [esp + 0x194], 0x14
push str.Torrent
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
call fcn.0054b1a0
add esp, 4
push eax
push str.Torrent
lea ecx, [esp + 0x98]
call fcn.0040186c
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x98]
push edx
push esi
mov byte [esp + 0x1a4], 0x15
call fcn.00472250
push eax
call fcn.004ca5b0
cmp dword [esp + 0xa8], edi
jb 0x4d84c6
mov eax, dword [esp + 0x94]
push eax
call fcn.005416e5
add esp, 4
mov byte [esp + 0x194], 4
cmp dword [esp + 0x74], edi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
jb 0x4d84f7
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005416e5
add esp, 4
lea edx, [esp + 0x78]
push edx
lea edi, [esp + 0xe0]
call fcn.0047286d
mov ecx, edi
mov byte [esp + 0x194], bl
call fcn.00412dbb
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
jne 0x4d8527
xor esi, esi
mov ecx, 0x7b6c48
jmp 0x4d8548
mov eax, dword [esp + 0x80]
sub eax, ecx
cmp eax, ebx
mov esi, eax
jne 0x4d853d
mov ecx, 0x7b6c48
jmp 0x4d8548
ja 0x4d8548
call fcn.0054b876
mov ecx, dword [esp + 0x7c]
push esi
lea edx, [esp + 0x7c]
call fcn.004619f0
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x54], esp
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push str.jfhg674FYU667873___dkjf
lea edi, [esp + 0x98]
mov byte [esi + 4], bl
call fcn.0054b890
add esp, 4
push eax
push str.jfhg674FYU667873___dkjf
mov ecx, esi
call fcn.0040a2f6
mov ecx, edi
call fcn.00461564
mov ebp, dword [esp + 0x4c]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 4]
add esp, 0x1c
cmp ecx, ebx
je 0x4d85a6
call fcn.0049cac0
push ebp
lea ecx, [esp + 0x16c]
call fcn.004da7e0
lea eax, [esp + 0xac]
mov byte [esp + 0x194], 0x16
push eax
lea edx, [esp + 0x16c]
push edx
lea ecx, [ebp + 0x28]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 0x50
mov byte [esp + 0xb4], bl
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
call fcn.004986a0
lea eax, [esp + 0xdc]
push eax
call fcn.00424183
lea ecx, [esp + 0x168]
push ecx
push ecx
lea edx, [esp + 0xec]
push str.HTTPShare_Query_Host_
push edx
mov byte [esp + 0x1a4], 0x17
call fcn.0040a53c
add esp, 0xc
push eax
call fcn.0045e296
sub esp, 0x14
mov eax, esp
mov dword [esp + 0x4c], esp
push eax
lea eax, [esp + 0xfc]
call fcn.00424217
mov esi, 0xf
xor edi, edi
call fcn.0045e1e0
mov edx, dword [esp + 0xf8]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x14c]
add esp, 0x1c
mov dword [esp + 0x88], ecx
mov dword [esp + eax + 0xdc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [esp + 0x128], 1
lea ecx, [esp + 0xe8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xe8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x4d86a7
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
push eax
call fcn.005416e5
add esp, 4
mov eax, dword [esp + 0xf8]
mov dword [eax], ebx
mov ecx, dword [esp + 0x108]
mov dword [ecx], ebx
mov edx, dword [esp + 0x118]
mov dword [edx], ebx
mov eax, dword [esp + 0xfc]
mov dword [eax], ebx
mov ecx, dword [esp + 0x10c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x11c]
mov dword [edx], ebx
and dword [esp + 0x128], 0xfffffffe
mov dword [esp + 0x124], ebx
mov dword [esp + 0xe8], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov byte [esp + 0x194], 0x19
mov eax, dword [esp + 0x120]
cmp eax, ebx
mov dword [esp + 0x38], eax
je 0x4d875f
mov edi, dword [eax]
cmp edi, ebx
je 0x4d8752
push ebx
lea ecx, [esp + 0x34]
call fcn.0056b51f
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x4d8730
cmp eax, 0xffffffff
jae 0x4d8730
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x30]
and esi, edi
call fcn.0056b540
cmp esi, ebx
je 0x4d8752
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x38]
push eax
call fcn.005416e5
add esp, 4
lea ecx, [esp + 0xec]
mov byte [esp + 0x194], 0x18
call fcn.0056b222
mov byte [esp + 0x194], 0x16
mov ecx, dword [esp + 0xdc]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0xdc], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
lea eax, [esp + 0xdc]
neg eax
sbb eax, eax
lea ecx, [esp + 0xe4]
and eax, ecx
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov dword [ecx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0xdc]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x130]
mov dword [esp + eax + 0xdc], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push ecx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0056bb1a
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 0x28]
mov dword [edx], eax
mov ecx, dword [ebp + 4]
mov byte [ecx + 0xd], 0xa
mov edx, dword [ebp + 4]
add esp, 4
mov esi, 0xf
push 0x7b6c48
mov byte [edx + 0xc], 1
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.0054b890
add esp, 4
push eax
push 0x7b6c48
lea ecx, [esp + 0x1c]
call fcn.0040a2f6
mov byte [esp + 0x194], 0x1a
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x4d883a
call fcn.0049cac0
lea eax, [esp + 0x14]
push eax
push 0x10000
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [ebp + 4]
call fcn.0049a730
mov edi, 0x10
cmp dword [esp + 0x2c], edi
jb 0x4d886c
mov edx, dword [esp + 0x18]
push edx
call fcn.005416e5
add esp, 4
cmp dword [esp + 0x180], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x4d8891
mov eax, dword [esp + 0x16c]
push eax
call fcn.005416e5
add esp, 4
mov dword [esp + 0x194], 0xffffffff
mov eax, dword [esp + 0x7c]
cmp eax, ebx
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
je 0x4d88cb
mov ecx, dword [esp + 0x84]
sub ecx, eax
push eax
call fcn.0045e6eb
add esp, 4
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0054ae61
add esp, 0x184
ret 4