Function at 0x41d4e0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5030e0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x550910]
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 0x41d531
mov eax, dword [ebx]
jmp 0x41d533
mov eax, ebx
push eax
push str.start_download_player_playerurl_is__s
push 0x302
push str.DownloaderModel::_downloadByENUrl
call fcn.0040bb40
push str..tmp
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00407f00
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 0x41d5a1
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 0x52ce88
push 0x122
push str.utility::ufile::removeFile
call fcn.0040bb40
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.0042b8b0
test al, al
jne 0x41d704
push str.download_1_error
push 0x30c
push str.DownloaderModel::_downloadByENUrl
call fcn.0040bb40
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.0042b8b0
test al, al
jne 0x41d695
push str.download_2_error
push 0x30e
push str.DownloaderModel::_downloadByENUrl
call fcn.0040bb40
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call fcn.0040ca90
mov ecx, eax
call fcn.0040cd00
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.0042b8b0
test al, al
jne 0x41d686
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push str.download__s_error
push 0x311
push str.DownloaderModel::_downloadByENUrl
call fcn.0040bb40
add esp, 0x10
cmp dword [ebp - 0x30], 8
jb 0x41d67f
push dword [ebp - 0x44]
call fcn.004c6500
add esp, 4
xor bl, bl
jmp 0x41d786
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x41d704
push dword [ebp - 0x44]
jmp 0x41d6fc
push str.download_Success_socket
lea ecx, [ebp - 0x5c]
call fcn.004068b0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.00419250
mov ecx, eax
call fcn.0041b5e0
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
call fcn.00419250
mov ecx, eax
call fcn.00420fd0
cmp dword [ebp - 0x30], 8
jb 0x41d6dc
push dword [ebp - 0x44]
call fcn.004c6500
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 0x41d704
push dword [ebp - 0x5c]
call fcn.004c6500
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x41d70e
mov ecx, dword [esi]
jmp 0x41d710
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 0x41d764
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
mov edx, eax
jb 0x41d73b
mov ecx, dword [esi]
jmp 0x41d73d
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.0040bb40
add esp, 0x1c
cmp dword [esi + 0x14], 8
jb 0x41d76c
mov esi, dword [esi]
push esi
push str.download_file_success_file___s
push 0x31b
push str.DownloaderModel::_downloadByENUrl
call fcn.0040bb40
add esp, 0x10
mov bl, 1
cmp dword [ebp - 0x18], 8
jb 0x41d797
push dword [ebp - 0x2c]
call fcn.004c6500
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.004c63a3
mov esp, ebp
pop ebp
ret 4