Function at 0x433e20
Capabilities:
Copy file
Delete file
Download and write a file
Get file size
Move file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 0xc]
lea ebx, [edi + 0xc]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], eax
test eax, eax
je 0x433e77
push dword [edi + 0x18]
mov eax, dword [eax]
push dword [ebp + 0x10]
push 1
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x34]
call esi
mov ecx, ebx
call fcn.004382f0
test al, al
je 0x433e9b
mov eax, 0xe0000008
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
test eax, eax
je 0x433eda
cmp eax, esi
jne 0x433eda
mov edi, dword [ebx]
test edi, edi
je 0x433ec4
mov eax, dword [edi]
push 0
push 1
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
xor eax, 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 0x10
push ecx
lea ecx, [edi + 0x1c]
call fcn.0040f8c0
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43401e
call fcn.0042b3e0
cmp byte [eax + 0x1c], 0
je 0x433ff9
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x433ff9
call fcn.0042b3e0
mov dword [ebp - 0x34], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x434886
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
push 0x19
push str.CreateSubFolders___failed
call fcn.004025b0
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x434886
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
push 0
push 0x4ed694
call fcn.004025b0
push ecx
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push eax
call fcn.0042b770
mov byte [ebp - 4], 2
or edx, 0xffffffff
mov ecx, dword [ebp - 0x24]
mov eax, edx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x433fce
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
or edx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edx
dec edx
test edx, edx
jg 0x433ff9
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x30]
mov ecx, ebx
push 0
push esi
push 0
call fcn.00438110
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov dword [ebp - 0x4c], 0xc
cmp eax, esi
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x44], 0
sbb eax, eax
neg eax
add eax, 2
mov dword [ebp - 0x34], eax
call fcn.00409f20
mov dword [ebp - 4], 0xa
cmp byte [edi + 0x84], 0
je 0x434090
test esi, esi
jne 0x434090
push 1
push 0x10000000
push 0x4ef394
lea ecx, [ebp - 0x7c]
call fcn.0040a110
push 1
push 0x10000000
push str.S_1_5_18
lea ecx, [ebp - 0x7c]
call fcn.0040a110
lea ecx, [ebp - 0x7c]
call fcn.0040a6a0
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x1c]
cmp dword [eax - 4], 1
jle 0x4340a7
push dword [eax - 0xc]
call fcn.00402410
lea ecx, [edi + 0x1c]
push 0
push 0x80
push dword [ebp - 0x34]
xor edx, edx
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x48], edx
cmove eax, edx
push eax
push edx
push 0xc0000000
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x4340e4
test esi, esi
je 0x4340e4
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00409fc0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], 0x4ed624
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xb
cmp eax, 0xffffffff
jne 0x434246
call fcn.0042b3e0
cmp byte [eax + 0x1c], 0
je 0x434212
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x434212
call fcn.0042b3e0
mov dword [ebp - 0x34], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x434886
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x20]
push 0x2b
push str.Creation_of_file_to_download_on_disk_failed
call fcn.004025b0
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x434886
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x24]
push 0
push 0x4ed694
call fcn.004025b0
push ecx
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push eax
call fcn.0042b770
mov byte [ebp - 4], 0xe
or edx, 0xffffffff
mov ecx, dword [ebp - 0x24]
mov eax, edx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4341ea
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
or edx, 0xffffffff
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edx
dec edx
test edx, edx
jg 0x434212
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov ecx, ebx
call fcn.004382f0
test al, al
je 0x434227
mov edi, 0xe0000008
jmp 0x43484d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
push 0
push ebx
push 0
mov dword [ebp - 0x10], ebx
call fcn.00438110
mov edi, ebx
jmp 0x43484d
mov ebx, dword [ebx]
test esi, esi
je 0x434255
test ebx, ebx
je 0x43426c
push dword [ebp + 0x14]
jmp 0x43425b
test ebx, ebx
je 0x43426c
push 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x34]
push 0xc800
call fcn.00408760
mov esi, dword [ebp - 0x34]
lea eax, [edi + 0x38]
mov dword [ebp - 0x28], eax
nop dword [eax]
mov ebx, dword [ebp - 0x14]
mov edi, dword [edi + 4]
mov byte [eax], 0
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
lea eax, [ebp - 0x24]
mov byte [ebx + 0x41], 0
push eax
push edi
mov dword [ebx + 0x34], 8
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x43434c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp ebx, 0x3e5
jne 0x434335
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0
jne 0x43431d
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x43431d
lea eax, [edi + 0x38]
mov ecx, ebx
push eax
call fcn.00438490
mov ecx, ebx
call fcn.004382f0
test al, al
jne 0x43463c
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x4342e5
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x30], 0
mov ebx, dword [edi + 0x2c]
mov dword [ebp - 0x10], ebx
je 0x434338
test ebx, ebx
jle 0x434357
mov dword [ebp - 0x24], ebx
jmp 0x43435a
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
test ebx, ebx
jne 0x434426
mov ebx, dword [ebp - 0x24]
jmp 0x434361
mov edi, ebx
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x20], 0
test ebx, ebx
je 0x4344e6
mov edi, dword [edi + 4]
cmp ebx, 0xc800
mov eax, 0xc800
cmova ebx, eax
mov eax, dword [ebp - 0x28]
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x41], 0
mov dword [eax + 0x34], 3
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x434471
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp ebx, 0x3e5
jne 0x43441f
mov edi, dword [ebp - 0x28]
cmp byte [edi], 0
jne 0x434407
mov ebx, dword [ebp - 0x18]
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x434407
push edi
mov ecx, ebx
call fcn.00438490
mov ecx, ebx
call fcn.004382f0
test al, al
jne 0x434643
mov eax, dword [ebp - 0x14]
push 0xa
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi], 0
je 0x4343d0
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x30], 0
mov ebx, dword [edi + 0x2c]
mov dword [ebp - 0x10], ebx
je 0x434422
test ebx, ebx
jle 0x43447d
mov dword [ebp - 0x20], ebx
jmp 0x434480
mov edi, dword [ebp - 0x14]
test ebx, ebx
je 0x43447d
mov eax, ebx
cmp ebx, 0x2ee2
je 0x434452
mov dword [ebp - 0x10], ebx
cmp eax, 0x2efe
je 0x434452
mov dword [ebp - 0x10], ebx
cmp eax, 0x2eff
je 0x434452
mov dword [ebp - 0x10], ebx
cmp eax, 0x2f83
jne 0x43477f
mov edi, dword [ebp - 0x14]
cmp byte [edi + 0x8c], 0
je 0x43477f
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
jmp 0x43461d
mov edi, dword [ebp - 0x14]
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4344e6
push 0
lea eax, [ebp - 0x38]
push eax
push ebx
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x434652
mov eax, dword [edi + 0xc]
lea ebx, [edi + 0xc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4344c2
mov eax, dword [eax]
push dword [ebp - 0x38]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x10]
call edi
mov edi, dword [ebp - 0x14]
lea eax, [edi + 0x38]
mov ecx, ebx
push eax
call fcn.00438490
mov ecx, ebx
call fcn.004382f0
test al, al
je 0x434634
mov edi, 0xe0000008
jmp 0x434839
call fcn.0042b3e0
cmp byte [eax + 0x1c], 0
je 0x4345e9
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x4345e9
call fcn.0042b3e0
mov dword [ebp - 0x10], eax
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x434886
mov edx, dword [ebx]
mov edi, dword [edx + 0xc]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x30]
push 0x21
push str.AsyncDownloadThread_read_0_bytes.
call fcn.004025b0
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x434886
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x2c]
push 0
push 0x4ed694
call fcn.004025b0
push ecx
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
call fcn.0042b770
mov byte [ebp - 4], 0x19
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4345bb
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
mov byte [ebp - 4], 0x16
or eax, 0xffffffff
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4345e6
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
mov edi, dword [ebp - 0x14]
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp - 0x1c]
jbe 0x4347b7
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [ebp + 0x10]
jae 0x4347b7
cmp byte [edi + 0x8c], 0
je 0x43479c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
mov ecx, edi
call fcn.004351e0
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x43477f
lea eax, [edi + 0x38]
jmp 0x434290
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0xe0000008
mov edi, dword [ebp - 0x10]
jmp 0x434839
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
call fcn.0042b3e0
cmp byte [eax + 0x1c], 0
je 0x43476a
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x43476a
call fcn.0042b3e0
mov dword [ebp - 0x14], eax
call fcn.004046f0
mov dword [ebp - 0x30], eax
test eax, eax
je 0x434886
mov edx, dword [eax]
mov edi, dword [edx + 0xc]
mov ecx, edi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x30]
call edi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x2c]
push 0x26
push str.Failed_to_saved_in_file_the_bytes_read
call fcn.004025b0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0042aed0
mov dword [ebp - 0x28], eax
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x434886
mov edx, dword [ebx]
mov edi, dword [edx + 0xc]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x30]
push 0
push 0x4ed694
call fcn.004025b0
push ecx
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0042b770
mov byte [ebp - 4], 0x23
or eax, 0xffffffff
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43473f
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
mov byte [ebp - 4], 0x16
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43476a
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push 0
push edi
push 0
call fcn.00438110
jmp 0x434839
cmp ebx, 0xe0000008
je 0x434794
mov ecx, dword [ebp - 0x18]
push 0
push ebx
push 0
call fcn.00438110
mov edi, dword [ebp - 0x10]
jmp 0x434839
mov ecx, dword [ebp - 0x18]
push 0
push 0xe000000f
push 0
call fcn.00438110
mov edi, 0xe000000f
jmp 0x434839
test ebx, ebx
je 0x4347ca
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], eax
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x434819
push eax
push dword [edi + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x434810
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea ecx, [edi + 0xc]
push 0
push ebx
push 0
mov dword [ebp - 0x10], ebx
call fcn.00438110
mov edi, ebx
jmp 0x434839
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
test ebx, ebx
je 0x434837
mov eax, dword [ebx]
push 0
push 1
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
xor edi, edi
mov byte [ebp - 4], 0xb
push esi
call fcn.004a2092
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], 0x4ed624
test eax, eax
je 0x434870
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x3c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00402720
int3