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

Disassembly:
push 0xffffffffffffffff
push 0x5d33d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
mov eax, dword [0x64aa84]
push ebx
push ebp
push esi
mov dword [esp + 0x28c], eax
mov eax, dword [0x6613e8]
push edi
xor ebp, ebp
push ebp
add eax, 0xc
mov esi, ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.005789d4
mov dword [esp + 0x29c], ebp
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x29c], 2
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x29c], 4
cmp dword [esi + 0x10], ebp
jne 0x4bf72c
mov eax, dword [esi + 0x1c]
push eax
push str.Library_scanning:__s
push 3
push 0x661308
call fcn.0046abf0
add esp, 0x10
mov eax, dword [0x6613bc]
mov eax, dword [eax + 0x45c]
mov ecx, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
push eax
push ecx
call fcn.0057a315
add esp, 8
test eax, eax
je 0x4bfd9e
mov ecx, dword [0x6613bc]
add ecx, 0x460
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402dc0
mov byte [esp + 0x29c], 5
mov edx, dword [esp + 0x18]
push 0x5c
push edx
call fcn.0057b09e
add esp, 8
cmp eax, ebp
je 0x4bf7f0
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, ebp
jl 0x4bf7f0
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.0041ce60
mov byte [esp + 0x29c], 6
push eax
lea ecx, [esp + 0x1c]
call fcn.00405540
mov byte [esp + 0x29c], 5
lea ecx, [esp + 0x10]
call fcn.00401b70
push str.TDownload
call fcn.0057a0fd
add esp, 4
push eax
push str.TDownload
lea ecx, [esp + 0x20]
call fcn.00403130
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
push ecx
push eax
call fcn.0057a315
add esp, 8
test eax, eax
je 0x4bfd8d
mov edx, dword [0x6613bc]
mov eax, dword [edx + 0x45c]
mov ecx, dword [edi]
push eax
push ecx
call fcn.0057a315
add esp, 8
test eax, eax
je 0x4bfd8d
push 0x5f9e80
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0040dc60
add esp, 0xc
mov byte [esp + 0x29c], 7
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [0x652b9c]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x29c], 5
lea ecx, [esp + 0x10]
call fcn.00401b70
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call fcn.00578965
mov edx, dword [esp + 0x2a4]
mov dword [esi + 8], edx
mov eax, dword [0x6613e8]
inc dword [eax + 0x38]
mov eax, dword [0x6613e8]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x2a4], ecx
lea ecx, [esp + 0x24]
call fcn.0057897a
mov edi, dword [edi]
push str.kazaa
push edi
call fcn.004e6870
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 8
neg ebx
sbb ebx, ebx
neg ebx
cmp eax, 0xffffffff
mov dword [esp + 0x38], ebx
je 0x4bfd80
lea esp, [esp]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x6c]
push edx
push eax
lea eax, [esp + 0x1c]
push str._s_s
push eax
call fcn.0040a170
add esp, 0x10
cmp word [esp + 0x6c], 0x2e
je 0x4bfd50
test byte [esp + 0x40], 6
jne 0x4bfd50
lea ecx, [esp + 0x6c]
push str.Metadata
push ecx
call fcn.0057a315
add esp, 8
test eax, eax
je 0x4bfd50
lea edx, [esp + 0x6c]
push str.SThumbs.dat
push edx
call fcn.0057a315
add esp, 8
test eax, eax
je 0x4bfd50
test byte [esp + 0x40], 0x10
je 0x4bfa53
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.004bf1b0
mov edi, eax
test edi, edi
je 0x4bf98e
mov ecx, dword [edi + 0x28]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x30]
sub edx, ecx
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x28], edx
mov edx, dword [edi + 0x30]
sub eax, edx
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
sbb ecx, eax
mov dword [esi + 0x34], ecx
lea ecx, [esp + 0x6c]
push ecx
lea edx, [edi + 0x14]
push edx
call fcn.00431c60
add esp, 8
test al, al
je 0x4bfa24
lea eax, [esp + 0x14]
lea ecx, [edi + 0x1c]
push eax
call fcn.00405540
mov ecx, edi
call fcn.004bef10
inc dword [edi + 0xc]
mov ebp, 1
jmp 0x4bfa24
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call fcn.00578965
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [0x6613fc]
call fcn.00487210
mov edi, eax
test edi, edi
jne 0x4bf9f0
push 0x78
call fcn.005abebb
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x29c], 8
test eax, eax
je 0x4bf9e2
mov edx, dword [esp + 0x14]
push edx
push esi
mov ecx, eax
call fcn.004bf090
mov byte [esp + 0x29c], 5
mov edi, eax
jmp 0x4bfa01
xor eax, eax
mov byte [esp + 0x29c], 5
mov edi, eax
jmp 0x4bfa01
mov ecx, dword [0x6613fc]
push 0
push edi
call fcn.004872c0
mov dword [edi + 0x10], esi
mov eax, dword [edi + 0x18]
push eax
lea ecx, [esi + 0x38]
call fcn.005ab14a
mov dword [eax], edi
mov eax, dword [esi + 0xc]
inc eax
lea ecx, [esp + 0x24]
mov ebp, 1
mov dword [esi + 0xc], eax
call fcn.0057897a
mov eax, dword [esp + 0x2a4]
push eax
mov ecx, edi
call fcn.004bf690
mov ecx, dword [edi + 0x28]
mov edx, dword [esi + 0x28]
add edx, ecx
or ebp, eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x28], edx
mov edx, dword [edi + 0x30]
add eax, edx
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
jmp 0x4bfd4d
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.004bf250
mov edi, eax
test edi, edi
je 0x4bfab1
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
mov ecx, dword [esi + 0x30]
mov ebx, dword [esi + 0x34]
shrd edx, eax, 0xa
shr eax, 0xa
sub ecx, edx
sbb ebx, eax
mov dword [esi + 0x30], ecx
lea ecx, [esp + 0x6c]
mov dword [esi + 0x34], ebx
push ecx
lea ebx, [edi + 0x30]
push ebx
call fcn.00431c60
add esp, 8
test al, al
je 0x4bfd06
lea edx, [esp + 0x6c]
push edx
mov ecx, ebx
call fcn.004055d0
mov ebp, 1
jmp 0x4bfd06
test ebx, ebx
je 0x4bfb6f
lea eax, [esp + 0x6c]
push str..dat
push eax
call fcn.004e6870
add esp, 8
test eax, eax
jne 0x4bfd50
lea ecx, [esp + 0x6c]
push 0x5f9e54
push ecx
call fcn.004e6870
add esp, 8
test eax, eax
jne 0x4bfd50
lea edx, [esp + 0x6c]
push str..kg_
push edx
call fcn.004e6870
add esp, 8
test eax, eax
jne 0x4bfd50
lea eax, [esp + 0x6c]
push str..tpt
push eax
call fcn.004e6870
add esp, 8
test eax, eax
jne 0x4bfd50
lea ecx, [esp + 0x6c]
push str..tdi
push ecx
call fcn.004e6870
add esp, 8
test eax, eax
jne 0x4bfd50
lea edx, [esp + 0x6c]
push str..tii
push edx
call fcn.004e6870
add esp, 8
test eax, eax
jne 0x4bfd50
lea eax, [esp + 0x6c]
push str..tmp
push eax
call fcn.004e6870
add esp, 8
test eax, eax
jne 0x4bfd50
push 0xf
lea ecx, [esp + 0x70]
push str.__INCOMPLETE___
push ecx
call fcn.0057ab90
add esp, 0xc
test eax, eax
je 0x4bfd50
lea edx, [esp + 0x6c]
push 0x5f9dfc
push edx
call fcn.004e6870
add esp, 8
test eax, eax
jne 0x4bfd50
lea eax, [esp + 0x6c]
push str..vgd
push eax
call fcn.004e6870
add esp, 8
test eax, eax
jne 0x4bfd50
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00402dc0
mov byte [esp + 0x2a0], 5
call fcn.004e4810
add esp, 4
test eax, eax
jne 0x4bfd50
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4bfbfc
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4bfd50
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call fcn.00578965
push 0x5e3ca8
lea eax, [esi + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040dc60
mov byte [esp + 0x2a8], 0xa
lea ecx, [esp + 0x78]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0040dc60
add esp, 0x18
mov byte [esp + 0x29c], 0xc
lea ecx, [esp + 0x34]
call fcn.00401b70
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6613f8]
push eax
call fcn.004bd030
mov edi, eax
test edi, edi
jne 0x4bfca0
push 0x150
call fcn.005abebb
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x29c], 0xd
test eax, eax
je 0x4bfc92
lea ecx, [esp + 0x6c]
push ecx
push esi
mov ecx, eax
call fcn.004bd3d0
mov byte [esp + 0x29c], 0xc
mov edi, eax
jmp 0x4bfcae
xor eax, eax
mov byte [esp + 0x29c], 0xc
mov edi, eax
jmp 0x4bfcae
mov ecx, dword [0x6613f8]
push 0
push edi
call fcn.004bc1b0
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.00448ef0
mov byte [esp + 0x29c], 0xe
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x54]
call fcn.005ab14a
mov dword [eax], edi
mov byte [esp + 0x29c], 0xc
lea ecx, [esp + 0x3c]
call fcn.00401b70
mov eax, dword [esi + 0x28]
inc eax
lea ecx, [esp + 0x24]
mov dword [esi + 0x28], eax
mov ebp, 1
call fcn.0057897a
mov byte [esp + 0x29c], 5
lea ecx, [esp + 0x10]
call fcn.00401b70
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
xor eax, eax
or eax, edx
xor ebx, ebx
push ebx
or ecx, ebx
lea edx, [esp + 0x58]
push edx
push ecx
push eax
mov eax, dword [esp + 0x2b4]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.004bc060
mov edx, dword [edi + 0x38]
mov ebx, dword [esp + 0x38]
or ebp, eax
mov eax, dword [edi + 0x3c]
mov edi, dword [esi + 0x30]
shrd edx, eax, 0xa
shr eax, 0xa
add edi, edx
mov dword [esi + 0x30], edi
adc dword [esi + 0x34], eax
mov ecx, dword [0x6613e8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x4bfd75
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
push eax
call dword [0x652ba0]
test eax, eax
jne 0x4bf8b0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [0x6613e8]
mov eax, dword [edx + 0x4c]
test eax, eax
jne 0x4bfddb
mov byte [esp + 0x29c], 4
lea ecx, [esp + 0x18]
call fcn.00401b70
mov byte [esp + 0x29c], 2
lea ecx, [esp + 0x20]
call fcn.00401b70
mov byte [esp + 0x29c], 0
lea ecx, [esp + 0x14]
call fcn.00401b70
mov dword [esp + 0x29c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0057897a
xor eax, eax
jmp 0x4bffba
mov eax, dword [esi + 0x44]
neg eax
sbb eax, eax
mov dword [esp + 0x1c], eax
je 0x4bfe9f
lea esp, [esp]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004be9c0
mov ebx, dword [esp + 0x2a4]
mov edi, eax
cmp dword [edi + 8], ebx
je 0x4bfe91
lea ecx, [edi + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402dc0
mov byte [esp + 0x29c], 0xf
lea ecx, [esp + 0x10]
call fcn.0041ce00
mov edx, dword [edi + 0x28]
mov eax, dword [esi + 0x28]
mov ebp, dword [esi + 0x30]
sub eax, edx
mov edx, dword [esi + 0x34]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x30]
sub ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x30], ebp
mov ecx, dword [edi + 0x34]
sbb edx, ecx
test eax, eax
mov dword [esi + 0x34], edx
jne 0x4bfe60
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call fcn.00578965
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esi + 0x38]
call fcn.005ab04d
mov ecx, edi
call fcn.004bec50
mov eax, dword [esi + 0xc]
inc eax
mov ebp, 1
mov dword [esi + 0xc], eax
mov byte [esp + 0x29c], 5
lea ecx, [esp + 0x10]
call fcn.00401b70
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4bfdf0
jmp 0x4bfea6
mov ebx, dword [esp + 0x2a4]
mov eax, dword [esi + 0x60]
neg eax
sbb eax, eax
mov dword [esp + 0x1c], eax
je 0x4bff55
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004beb20
mov edi, eax
cmp dword [edi + 0x18], ebx
je 0x4bff49
lea ecx, [edi + 0x30]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402dc0
mov byte [esp + 0x29c], 0x10
lea ecx, [esp + 0x10]
call fcn.0041ce00
mov edx, dword [esi + 0x28]
mov ebp, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
dec edx
mov dword [esi + 0x28], edx
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
shrd edx, eax, 0xa
shr eax, 0xa
sub ebp, edx
sbb ecx, eax
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ecx
jne 0x4bff1f
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call fcn.00578965
mov ecx, edi
call fcn.004bc110
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0x54]
call fcn.005ab04d
mov ebp, 1
mov byte [esp + 0x29c], 5
lea ecx, [esp + 0x10]
call fcn.00401b70
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4bfeb7
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4bff71
push ebp
push 0x5f9dcc
push 3
push 0x661308
call fcn.0046abf0
add esp, 0x10
mov byte [esp + 0x29c], 4
lea ecx, [esp + 0x18]
call fcn.00401b70
mov byte [esp + 0x29c], 2
lea ecx, [esp + 0x20]
call fcn.00401b70
mov byte [esp + 0x29c], 0
lea ecx, [esp + 0x14]
call fcn.00401b70
mov dword [esp + 0x29c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0057897a
mov eax, ebp
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x290]
call fcn.0057981f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret 4