Function at 0x4cbac0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8168
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
test eax, eax
jl 0x4cc048
cmp eax, dword [ecx + 0x180]
jge 0x4cc048
mov ecx, dword [ecx + 0x17c]
mov edx, dword [ecx + eax*4]
mov ebx, dword [edx]
test ebx, ebx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1c], ebx
je 0x4cc048
cmp dword [ebx + 0x58], 0
je 0x4cc048
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x4cbb60
call fcn.005387f0
test eax, eax
jne 0x4cc048
mov ecx, dword [ebx + 0xf8]
push 0x63cd58
call fcn.0053b620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
call fcn.00402700
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x14]
cmp dword [eax - 0xc], 0
lea edi, [ebx + 0x14]
mov dword [ebp - 0x18], edi
jne 0x4cbc7d
lea ecx, [ebp + 8]
mov esi, ebx
call fcn.00508940
push 0x5d616c
lea ecx, [ebp - 0x24]
push 0x63c664
push ecx
call fcn.00401ba0
add esp, 0xc
lea esi, [ebx + 0x10]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00402310
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00401f20
lea edx, [ebx + 4]
push edx
mov ecx, edi
mov edi, dword [ebp + 8]
push 0x63c664
mov edx, ebx
call fcn.0044f8e0
add esp, 8
test eax, eax
jne 0x4cbc10
push eax
push eax
push 0x5f195c
call fcn.0055e834
mov ecx, esi
call fcn.00402180
mov ecx, dword [ebp - 0x18]
call fcn.00402180
lea ecx, [ebp + 8]
call fcn.00401f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push esi
push ecx
call fcn.00401ae0
add esp, 0xc
push str..down
push eax
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 3
call fcn.00401ba0
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [eax]
push 0x1001
push eax
lea ecx, [ebp - 0x3c]
call fcn.0055e147
lea ecx, [ebp - 0x24]
call fcn.00401f20
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00401f20
lea ecx, [ebp - 0x3c]
call fcn.0055dc4b
mov dword [ebp - 4], 0
jmp 0x4cbc7d
mov eax, dword [ebx + 0x10]
mov eax, dword [eax - 0xc]
lea ecx, [ebx + 0x10]
add eax, 0xffffffff
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.00414630
mov esi, dword [eax]
call fcn.0044ae30
lea ecx, [ebp - 0x24]
call fcn.00401f20
lea ecx, [ebp - 0x20]
call fcn.00402700
xor esi, esi
mov byte [ebp - 4], 6
cmp dword [ebx + 0x58], esi
mov dword [ebp - 0x24], esi
jle 0x4cbd2a
test esi, esi
jl 0x4cbdba
cmp esi, dword [ebx + 0x58]
jge 0x4cbdba
mov eax, dword [ebx + 0x54]
lea eax, [eax + esi*4]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
mov edi, eax
call fcn.00450060
add esp, 8
test eax, eax
je 0x4cbd1f
lea eax, [ebx + 0x14]
push eax
lea esi, [ebx + 0x10]
lea ecx, [ebp - 0x1c]
push esi
push ecx
call fcn.00401ae0
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
add esp, 0xc
push 1
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.00401f20
test edi, edi
jne 0x4cbdbf
mov esi, dword [ebp - 0x24]
add esi, 1
cmp esi, dword [ebx + 0x58]
mov dword [ebp - 0x24], esi
jl 0x4cbcb8
lea edi, [ebx + 0x50]
call fcn.0047cea0
cmp dword [ebx + 0x58], 0
jle 0x4cbfff
push 0x5f1984
lea ecx, [ebp - 0x1c]
call fcn.004023b0
lea ecx, [ebp - 0x18]
call fcn.00402700
push 4
lea edx, [ebp - 0x2c]
lea esi, [ebx + 0x14]
push edx
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00401a60
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call fcn.00402330
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.00401f20
mov eax, dword [ebp + 8]
push str..mp3
push eax
call fcn.00577334
add esp, 8
test eax, eax
je 0x4cbef3
mov ecx, dword [ebp + 8]
push str..wma
push ecx
call fcn.00577334
add esp, 8
test eax, eax
je 0x4cbef3
cmp dword [edi + 8], 0
jg 0x4cbedb
call fcn.00555520
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx]
mov dword [ebx + 0x24], eax
cmp dword [ecx - 0xc], 0
jne 0x4cbeb7
lea eax, [ebx + 0x14]
push eax
lea edx, [ebp - 0x24]
push esi
push edx
mov dword [ebp - 0x18], eax
call fcn.00401ae0
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
lea ecx, [ebx + 4]
push ebx
mov edx, eax
call fcn.00508c00
add esp, 4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00401f20
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x4cbeb7
lea ecx, [ebp - 0x24]
call fcn.00402700
lea ecx, [ebp - 0x1c]
call fcn.00402700
push ebx
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00508610
mov edi, dword [ebp - 0x24]
lea eax, [ebx + 4]
push eax
push esi
lea ecx, [ebp - 0x1c]
mov edx, ebx
call fcn.0044f8e0
add esp, 8
test eax, eax
je 0x4cbea7
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x2c]
push esi
push edx
call fcn.00401ae0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00401ae0
add esp, 0xc
mov byte [ebp - 4], 0xb
mov edi, dword [edi]
mov eax, dword [eax]
push edi
mov ecx, eax
call fcn.0044b860
add esp, 4
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00401f20
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00401f20
test esi, esi
je 0x4cbea7
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.00402330
lea ecx, [ebp - 0x1c]
call fcn.00401f20
lea ecx, [ebp - 0x24]
call fcn.00401f20
lea ecx, [ebp - 0x20]
call fcn.00401f20
lea ecx, [ebp + 8]
call fcn.00401f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi]
mov ecx, dword [ebx + 0x10]
mov eax, dword [edi + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ebp - 0x1c]
push ecx
push edx
push eax
push str.URL:_s_r_nThreads:_s_r_nDirectory:_s_r_nFileName:_s_r_n
jmp 0x4cbf14
cmp dword [edi + 8], 0
jg 0x4cbefe
call fcn.00555520
mov edx, dword [esi]
mov ecx, dword [ebx + 0x10]
mov eax, dword [edi + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ebp - 0x1c]
push ecx
push edx
push eax
push str.URL:_s_r_nThreads:_s_r_nLocalFile:_s_s_r_n
lea ecx, [ebp - 0x18]
push ecx
call fcn.00404650
mov ecx, dword [ebp - 0x18]
add esp, 0x18
push 2
push ebx
push 0x63cd58
call fcn.0053a520
test eax, eax
mov dword [ebx + 0xf8], eax
je 0x4cbfb9
mov esi, 1
cmp dword [ebx + 0x58], esi
jle 0x4cbf90
test esi, esi
jl 0x4cbdba
cmp esi, dword [edi + 8]
jge 0x4cbdba
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [edx + esi*4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x18]
push str.URL:_s_r_nThreads:_s
push eax
call fcn.00404650
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0xf8]
add esp, 0x10
push ecx
push eax
mov ecx, 0x63cd58
call fcn.0053ab40
add esi, 1
cmp esi, dword [ebx + 0x58]
jl 0x4cbf44
mov edx, dword [ebx + 0xf8]
call fcn.005388e0
mov ecx, dword [ebx + 0xf8]
push 0x63cd58
call fcn.0053b620
mov eax, ebx
cdq
mov dword [0x63c438], eax
mov dword [0x63c43c], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cbfdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cbfff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cc022
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cc048
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4