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

Disassembly:
mov eax, 0x67314f
call fcn.006313fc
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ebp, ecx
push 0x69ace0
mov esi, ebx
call fcn.0047b50f
mov edi, eax
mov ecx, ebp
push 0x694858
mov dword [esp + 0x48], edi
call fcn.0047b50f
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x110], ebx
test eax, eax
jle 0x4d42dd
cmp edi, 1
jg 0x4d42d1
test edi, edi
jne 0x4d42dd
mov ecx, ebp
call fcn.0047c6d5
jmp 0x4d4cb1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x110], 1
test edi, edi
jle 0x4d435e
mov esi, ebx
push esi
push 0x69ace0
mov ecx, ebp
call fcn.0047b4a3
mov edi, eax
test edi, edi
je 0x4d4521
push 1
push 0x28
push edi
lea eax, [esp + 0x100]
push eax
call fcn.0046c175
test al, al
je 0x4d4521
lea eax, [esp + 0xf4]
push eax
call fcn.0048922a
mov dword [esp + 0x18], eax
test eax, eax
je 0x4d4521
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
call fcn.004713cb
inc esi
cmp esi, dword [esp + 0x44]
jl 0x4d42f7
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], 0x9c
test eax, eax
jle 0x4d4457
mov eax, dword [esi + 0xd8]
mov esi, ebx
mov dword [esp + 0x2c], eax
push esi
push 0x694858
mov ecx, ebp
call fcn.0047b4a3
push eax
lea ecx, [esp + 0x64]
call fcn.00409ba7
cmp dword [esp + 0x70], 0
mov byte [esp + 0x110], 2
je 0x4d4567
mov dword [esp + 0x14], ebx
call fcn.00635bba
mov dword [eax], ebx
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x4d43be
lea eax, [esp + 0x60]
push 0xa
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00635e34
add esp, 0xc
mov edi, eax
mov dword [esp + 0x30], edi
call fcn.00635bba
mov ecx, dword [esp + 0x60]
cmp dword [eax], ebx
jne 0x4d454e
cmp dword [esp + 0x74], 0x10
mov edx, ecx
jae 0x4d43f2
lea edx, [esp + 0x60]
mov eax, dword [esp + 0x14]
cmp edx, eax
je 0x4d454e
test eax, eax
je 0x4d440b
cmp byte [eax], 0
jne 0x4d454e
test edi, edi
js 0x4d453b
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
cdq
idiv dword [esp + 0x20]
cmp eax, edi
jbe 0x4d453b
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
call fcn.004713cb
push ebx
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x118], 1
call fcn.0040a0e9
inc esi
cmp esi, dword [esp + 0x38]
jl 0x4d437a
push str.___streamables_:__
push ebp
mov byte [esp + 0x2f], bl
call fcn.0047bc25
pop ecx
pop ecx
mov ecx, dword [0x7641f4]
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
cmp eax, ecx
je 0x4d4c99
mov esi, dword [esp + 0x58]
mov ecx, esi
mov edx, dword [esp + 0x54]
sub ecx, edx
sar ecx, 2
mov dword [esp + 0x94], ecx
mov dword [esp + 0x7c], 0x7c
mov edi, dword [eax + 0x24]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x4d44ce
mov byte [esp + 0x90], bl
lea eax, [esp + 0x18]
push dword [esp + 0x90]
push eax
push esi
push edx
call fcn.004ca10e
cmp eax, esi
je 0x4d4c75
mov ecx, dword [edi + 0xcc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
push 0x699980
lea eax, [esp + 0xd8]
push 9
push eax
call fcn.00471605
mov eax, dword [ebp + 0x158]
add esp, 0x10
and eax, 0xc00
or eax, ebx
jne 0x4d45a6
cmp dword [esp + 0x11c], eax
je 0x4d4c75
lea eax, [edi + 0x48c]
cmp dword [eax + 0x14], 8
jb 0x4d457f
mov ecx, dword [eax]
jmp 0x4d4581
push edi
push str.Cant_recognize_torrent_hash__s
call fcn.00409edb
add esp, 8
mov ecx, ebp
call fcn.0047c6d5
jmp 0x4d4ca8
cmp dword [esp + 0x74], 0x10
jae 0x4d4546
lea ecx, [esp + 0x60]
push ecx
push str.Cant_use_file_number__s___invalid_for_selected_torrent
jmp 0x4d455f
cmp dword [esp + 0x74], 0x10
jae 0x4d4559
lea ecx, [esp + 0x60]
push ecx
push str.Cant_accept_file_number__s
call fcn.00409edb
add esp, 8
mov ecx, ebp
call fcn.0047c6d5
push ebx
push 1
lea ecx, [esp + 0x68]
call fcn.0040a0e9
jmp 0x4d4ca8
mov ecx, eax
test ecx, ecx
je 0x4d4c75
cmp dword [eax + 0x14], 8
jb 0x4d4591
mov eax, dword [eax]
push dword [esp + 0x11c]
push eax
call fcn.0045f39d
test eax, eax
jne 0x4d4c75
mov ecx, dword [edi + 0xd8]
mov esi, ebx
mov eax, dword [edi + 0xd4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 4]
mov ecx, 0x9c
cdq
idiv ecx
test eax, eax
jmp 0x4d466b
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x80]
push esi
push eax
call fcn.005165d4
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x80]
push 0x7c
cdq
pop ecx
idiv ecx
mov byte [esp + 0x110], 3
test eax, eax
jne 0x4d467a
push esi
push edi
call fcn.004d5383
test al, al
je 0x4d4642
cmp dword [esp + 0x44], 0
je 0x4d467a
cmp dword [esp + 0x38], 0
je 0x4d467a
mov byte [esp + 0x9c], bl
lea eax, [esp + 0x14]
push dword [esp + 0x9c]
push eax
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.004ca10e
cmp eax, dword [esp + 0x4c]
jne 0x4d467a
lea ecx, [esp + 0x80]
mov byte [esp + 0x110], 1
call fcn.004d38e5
mov ecx, dword [esp + 0x3c]
inc esi
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 4]
mov ecx, 0x9c
cdq
idiv ecx
cmp esi, eax
mov dword [esp + 0x14], esi
jne 0x4d45d1
jmp 0x4d4c71
lea ecx, [esp + 0x80]
mov byte [esp + 0x110], 1
call fcn.004d38e5
lea eax, [esp + 0x27]
mov ecx, ebp
push eax
call fcn.0047b8ae
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb4]
mov ecx, edi
mov dword [esp + 0x20], edx
mov esi, eax
call fcn.004a32d4
cmp dword [eax + 0x14], 8
jb 0x4d46b9
mov eax, dword [eax]
push eax
push dword [esp + 0x24]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0xe8]
movzx eax, al
mov ecx, edi
push eax
lea eax, [esp + 0xe0]
push eax
mov eax, dword [edi]
call dword [eax + 0x34]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + pe_nt_image_headers32]
push eax
push str._n___name_:_S___hash_:_H___sid_:_s___complete_:_B___completed_on_:_J___primary_label_:_S___files_:__
push ebp
call fcn.0047bc25
mov ecx, dword [esp + 0x60]
add esp, 0x24
mov byte [esp + 0x1f], bl
mov esi, ebx
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 4]
mov ecx, 0x9c
cdq
idiv ecx
test eax, eax
jmp 0x4d4c5a
push esi
push edi
call fcn.004d5383
test al, al
je 0x4d4c45
cmp dword [esp + 0x44], 0
je 0x4d475c
cmp dword [esp + 0x38], 0
je 0x4d475c
mov byte [esp + 0x98], bl
lea eax, [esp + 0x18]
push dword [esp + 0x98]
push eax
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.004ca10e
cmp eax, dword [esp + 0x4c]
je 0x4d4c45
mov eax, dword [esp + 0x3c]
imul esi, esi, 0x9c
add esi, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.004d4cd2
mov dword [esp + 0x28], eax
mov ecx, ebp
lea eax, [esp + 0x1f]
push eax
call fcn.0047b8ae
xor eax, eax
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], ax
lea ecx, [ebp + 0x1a8]
mov byte [esp + 0x110], 4
call fcn.004c680b
test al, al
je 0x4d48a4
mov eax, dword [edi + 0xd8]
push 0x68a2e0
add eax, 0x28
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00422e5f
add esi, 0x34
mov byte [esp + 0x110], 5
push esi
push eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x1c], esi
push eax
call fcn.00422e36
push eax
lea ecx, [esp + 0xa4]
call fcn.0044dbe6
push ebx
push 1
lea ecx, [esp + 0xe4]
call fcn.0042341c
push ebx
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0x118], 4
call fcn.0042341c
cmp dword [esp + 0xb4], 8
mov eax, dword [edi + 0xc8]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x20], eax
jae 0x4d484a
lea ecx, [esp + 0xa0]
cmp dword [esi + 0x14], 8
jb 0x4d4856
mov esi, dword [esi]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x18]
mov eax, edi
cdq
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
push ecx
push edi
mov ecx, eax
mov dword [esp + 0x48], edx
mov esi, dword [eax]
call dword [esi + 0x20]
mov esi, dword [esp + 0x34]
push eax
movzx ecx, byte [esi + 0x66]
shr ecx, 3
and ecx, 1
push ecx
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esp + 0x54]
push dword [esp + 0x4c]
push dword [esp + 0x30]
push str._n_____name_:_S___fileno_:_J___length_:_J___complete_:_B___type_:_s___fullpath_:_S__n_______info_:
push ebp
call fcn.0047bc25
add esp, 0x28
jmp 0x4d48f4
mov ecx, dword [edi + 0xc8]
lea edi, [esi + 0x34]
cmp dword [edi + 0x14], 8
jb 0x4d48b5
mov edi, dword [edi]
mov eax, dword [esp + 0x18]
push dword [esp + 0x18]
cdq
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
mov dword [esp + 0x44], edx
call dword [eax + 0x20]
push eax
movzx eax, byte [esi + 0x66]
shr eax, 3
and eax, 1
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esp + 0x50]
push dword [esp + 0x48]
push edi
push str._n_____name_:_S___fileno_:_J___length_:_J___complete_:_B___type_:_s___n_______info_:
push ebp
call fcn.0047bc25
add esp, 0x24
mov edi, dword [esp + 0x28]
mov byte [esp + 0x13], bl
test edi, edi
je 0x4d491b
lea eax, [esp + 0x13]
mov ecx, ebp
push eax
call fcn.0047b8ae
push edi
push str._bitrate_:__I
push ebp
call fcn.0047bc25
add esp, 0xc
mov eax, dword [esi + 0x94]
test eax, eax
je 0x4d49e8
cmp dword [eax + 0x14], 0
je 0x4d4952
lea eax, [esp + 0x13]
mov ecx, ebp
push eax
call fcn.0047b8ae
mov eax, dword [esi + 0x94]
push dword [eax + 0x14]
push str._duration_:__I
push ebp
call fcn.0047bc25
add esp, 0xc
mov eax, dword [esi + 0x94]
cmp dword [eax + 0x18], 0
je 0x4d498a
cmp dword [eax + 0x1c], 0
je 0x4d498a
lea eax, [esp + 0x13]
mov ecx, ebp
push eax
call fcn.0047b8ae
mov eax, dword [esi + 0x94]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push str._resolution_:___Ix_I_
push ebp
call fcn.0047bc25
add esp, 0x10
mov edi, dword [esi + 0x94]
lea eax, [edi + 0x2c]
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x14], eax
jb 0x4d49a3
mov eax, dword [eax]
mov dword [esp + 0x14], eax
add edi, 0x44
cmp dword [edi + 0x14], 0x10
jb 0x4d49ae
mov edi, dword [edi]
test eax, eax
jne 0x4d49b6
test edi, edi
je 0x4d49e8
lea eax, [esp + 0x13]
mov ecx, ebp
push eax
call fcn.0047b8ae
test edi, edi
jne 0x4d49cb
mov edi, 0x70522c
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4d49d8
mov eax, 0x70522c
push edi
push eax
push str._codecs_:___s__s_
push ebp
call fcn.0047bc25
add esp, 0x10
push str._n____
push ebp
call fcn.0047bc25
pop ecx
pop ecx
push dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x64]
push eax
call fcn.005165d4
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
sub eax, ecx
push 0x7c
cdq
pop edi
idiv edi
mov byte [esp + 0x110], 6
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4d4c1a
mov eax, ebx
mov dword [esp + 0x14], ebx
lea edi, [ecx + eax]
cmp dword [edi + 0x10], ebx
je 0x4d4bf1
cmp dword [edi + 0x14], 8
jb 0x4d4a47
mov eax, dword [edi]
jmp 0x4d4a49
mov eax, edi
push eax
call fcn.00467e43
mov dword [esp + 0x28], eax
mov ecx, ebp
lea eax, [esp + 0x1f]
push eax
call fcn.0047b8ae
cmp dword [esp + 0x28], 0
jne 0x4d4a6f
mov eax, dword [str.application_octet_stream]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xb8]
mov ecx, edi
push eax
call fcn.004d4d36
cmp dword [eax + 0x14], 0x10
mov byte [esp + 0x110], 7
jb 0x4d4a8e
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x4d4a98
mov ecx, dword [edi]
jmp 0x4d4a9a
mov ecx, edi
push dword [esp + 0x28]
push 1
push ebx
push dword [edi + 0x18]
push eax
push dword [esp + 0x54]
push dword [esp + 0x4c]
push ecx
call fcn.0045dcfa
push eax
push str._n_____name_:_S___fileno_:_J___media_:_s___length_:_J___complete_:_B___type_:_s__n_______info_:
push ebp
call fcn.0047bc25
add esp, 0x28
mov byte [esp + 0x110], 6
lea ecx, [esp + 0xb8]
push ebx
push 1
call fcn.0040a0e9
lea eax, [esp + 0x12]
mov byte [esp + 0x12], bl
push eax
mov ecx, ebp
call fcn.0047b8ae
cmp byte [edi + 0x3c], 5
je 0x4d4af4
mov eax, dword [edi + 0x44]
jmp 0x4d4af7
mov eax, dword [edi + 0x2c]
push eax
push str._bitrate_:__I
push ebp
call fcn.0047bc25
add esp, 0xc
lea eax, [esp + 0x12]
mov ecx, ebp
push eax
call fcn.0047b8ae
mov eax, dword [esi + 0x94]
test eax, eax
je 0x4d4b21
mov eax, dword [eax + 0x14]
jmp 0x4d4b23
mov eax, ebx
push eax
push str._duration_:__I
push ebp
call fcn.0047bc25
add esp, 0xc
lea eax, [esp + 0x12]
mov ecx, ebp
push eax
call fcn.0047b8ae
push dword [edi + 0x54]
push dword [edi + 0x50]
push str._resolution_:___Ix_I_
push ebp
call fcn.0047bc25
add esp, 0x10
lea eax, [esp + 0x12]
mov ecx, ebp
push eax
call fcn.0047b8ae
lea eax, [esp + 0xdc]
mov ecx, edi
push eax
call fcn.004d4d52
mov esi, eax
lea eax, [esp + 0xb8]
mov byte [esp + 0x110], 8
push eax
mov ecx, edi
call fcn.004d4d1a
sub esp, 0x18
mov byte [esp + 0x128], 9
push 6
pop ecx
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
push 6
pop ecx
mov edi, esp
mov esi, eax
push str._codecs_:___s__s_
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.0047bc25
add esp, 0x38
lea ecx, [esp + 0xb8]
push ebx
push 1
call fcn.0040a0e9
push ebx
push 1
lea ecx, [esp + 0xe4]
mov byte [esp + 0x118], 6
call fcn.0040a0e9
push str._n____
push ebp
call fcn.0047bc25
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x60]
push 0x7c
pop edx
add eax, edx
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
inc edi
mov eax, dword [esp + 0x64]
sub eax, ecx
mov dword [esp + 0x20], edi
cdq
idiv dword [esp + 0x7c]
cmp edi, eax
mov eax, dword [esp + 0x14]
jb 0x4d4a31
lea ecx, [esp + 0x60]
call fcn.004d38e5
push ebx
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x118], 1
call fcn.0042341c
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
inc esi
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 4]
mov ecx, 0x9c
cdq
idiv ecx
cmp esi, eax
mov dword [esp + 0x18], esi
jne 0x4d4715
push str._n___
push ebp
call fcn.0047bc25
pop ecx
pop ecx
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
call fcn.0045d8b6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x54]
cmp eax, dword [0x7641f4]
jne 0x4d449a
push 0x6a4af8
push ebp
call fcn.0047bc25
pop ecx
pop ecx
mov bl, 1
lea ecx, [esp + 0x54]
call fcn.0041abd3
lea ecx, [esp + 0x48]
call fcn.0041abd3
mov ecx, dword [esp + 0x108]
mov al, bl
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 4