Function at 0x41dc10
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510520
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x55c4e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ebx, [edi + 0x2d4]
mov byte [edi + 0x360], 0
mov dword [edi + 0x354], 0
cmp dword [ebx + 0x14], 8
jb 0x41dc61
mov eax, dword [ebx]
jmp 0x41dc63
mov eax, ebx
push eax
push str.start_download_player_playerurl_is__s
push 0x30f
push str.DownloaderModel::_downloadByENUrl
call fcn.0040b730
push str..tmp
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00407e90
add esp, 0x14
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41dcd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push eax
cmovae ecx, dword [ebp - 0x2c]
push ecx
push 0x53b318
push 0x122
push str.utility::ufile::removeFile
call fcn.0040b730
add esp, 0x14
push 0
push 0x1f4
push 2
push ecx
push ebx
lea ecx, [ebp - 0x2c]
push ecx
push edi
lea ecx, [edi + 0x1a0]
call fcn.0042c040
test al, al
jne 0x41de34
push str.download_1_error
push 0x319
push str.DownloaderModel::_downloadByENUrl
call fcn.0040b730
add esp, 0xc
lea eax, [ebp - 0x2c]
push 1
push 0x1f4
push 2
push ecx
push ebx
push eax
push edi
lea ecx, [edi + 0x204]
call fcn.0042c040
test al, al
jne 0x41ddc5
push str.download_2_error
push 0x31b
push str.DownloaderModel::_downloadByENUrl
call fcn.0040b730
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call fcn.0040c680
mov ecx, eax
call fcn.0040c8f0
push 0
push 0x1f4
push 2
push ecx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
lea ecx, [edi + 0x1a0]
call fcn.0042c040
test al, al
jne 0x41ddb6
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push str.download__s_error
push 0x31e
push str.DownloaderModel::_downloadByENUrl
call fcn.0040b730
add esp, 0x10
cmp dword [ebp - 0x30], 8
jb 0x41ddaf
push dword [ebp - 0x44]
call fcn.004c5e80
add esp, 4
xor bl, bl
jmp 0x41deb6
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x41de34
push dword [ebp - 0x44]
jmp 0x41de2c
push str.download_Success_socket
lea ecx, [ebp - 0x5c]
call fcn.00406440
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.004193f0
mov ecx, eax
call fcn.0041b7d0
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
call fcn.004193f0
mov ecx, eax
call fcn.00421500
cmp dword [ebp - 0x30], 8
jb 0x41de0c
push dword [ebp - 0x44]
call fcn.004c5e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x41de34
push dword [ebp - 0x5c]
call fcn.004c5e80
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x41de3e
mov ecx, dword [esi]
jmp 0x41de40
mov ecx, esi
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 3
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x41de94
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
mov edx, eax
jb 0x41de6b
mov ecx, dword [esi]
jmp 0x41de6d
mov ecx, esi
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push edx
cmovae eax, dword [ebp - 0x2c]
push 3
push ecx
push eax
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0xbe
push str.utility::ufile::moveFile
call fcn.0040b730
add esp, 0x1c
cmp dword [esi + 0x14], 8
jb 0x41de9c
mov esi, dword [esi]
push esi
push str.download_file_success_file___s
push 0x328
push str.DownloaderModel::_downloadByENUrl
call fcn.0040b730
add esp, 0x10
mov bl, 1
cmp dword [ebp - 0x18], 8
jb 0x41dec7
push dword [ebp - 0x2c]
call fcn.004c5e80
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d2943
mov esp, ebp
pop ebp
ret 4