Function at 0x423090
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513470
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5634e0]
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 + 0x2d8]
mov byte [edi + 0x37c], 0
mov dword [edi + 0x370], 0
cmp dword [ebx + 0x14], 8
jb 0x4230e1
mov eax, dword [ebx]
jmp 0x4230e3
mov eax, ebx
push eax
push str.start_download_player_playerurl_is__s
push 0x30e
push str.DownloaderModel::_downloadByENUrl
call fcn.0040c770
push str..tmp
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00408d20
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 0x423151
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 0x53e398
push 0x122
push str.utility::ufile::removeFile
call fcn.0040c770
add esp, 0x14
push 0
push 0x1f4
push 2
push ecx
push ebx
lea ecx, [ebp - 0x2c]
push ecx
push edi
lea ecx, [edi + 0x1a4]
call fcn.004316a0
test al, al
jne 0x4232b4
push str.download_1_error
push 0x318
push str.DownloaderModel::_downloadByENUrl
call fcn.0040c770
add esp, 0xc
lea eax, [ebp - 0x2c]
push 1
push 0x1f4
push 2
push ecx
push ebx
push eax
push edi
lea ecx, [edi + 0x208]
call fcn.004316a0
test al, al
jne 0x423245
push str.download_2_error
push 0x31a
push str.DownloaderModel::_downloadByENUrl
call fcn.0040c770
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call fcn.00410f70
mov ecx, eax
call fcn.004111e0
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 + 0x1a4]
call fcn.004316a0
test al, al
jne 0x423236
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push str.download__s_error
push 0x31d
push str.DownloaderModel::_downloadByENUrl
call fcn.0040c770
add esp, 0x10
cmp dword [ebp - 0x30], 8
jb 0x42322f
push dword [ebp - 0x44]
call fcn.004c8900
add esp, 4
xor bl, bl
jmp 0x423336
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x4232b4
push dword [ebp - 0x44]
jmp 0x4232ac
push str.download_Success_socket
lea ecx, [ebp - 0x5c]
call fcn.00407200
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.0041e540
mov ecx, eax
call fcn.00420690
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
call fcn.0041e540
mov ecx, eax
call fcn.00426980
cmp dword [ebp - 0x30], 8
jb 0x42328c
push dword [ebp - 0x44]
call fcn.004c8900
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 0x4232b4
push dword [ebp - 0x5c]
call fcn.004c8900
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x4232be
mov ecx, dword [esi]
jmp 0x4232c0
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 0x423314
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
mov edx, eax
jb 0x4232eb
mov ecx, dword [esi]
jmp 0x4232ed
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.0040c770
add esp, 0x1c
cmp dword [esi + 0x14], 8
jb 0x42331c
mov esi, dword [esi]
push esi
push str.download_file_success_file___s
push 0x327
push str.DownloaderModel::_downloadByENUrl
call fcn.0040c770
add esp, 0x10
mov bl, 1
cmp dword [ebp - 0x18], 8
jb 0x423347
push dword [ebp - 0x2c]
call fcn.004c8900
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.004d5413
mov esp, ebp
pop ebp
ret 4