Function at 0x4337f0
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 0x4d03ad
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x514080]
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 0x433847
push dword [edi + 0x18]
mov eax, dword [eax]
push dword [ebp + 0x10]
push 1
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x34]
call esi
mov ecx, ebx
call fcn.00437ca0
test al, al
je 0x43386b
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 0x4338aa
cmp eax, esi
jne 0x4338aa
mov edi, dword [ebx]
test edi, edi
je 0x433894
mov eax, dword [edi]
push 0
push 1
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4e1514]
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.0040f690
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4339ee
call fcn.0042b190
cmp byte [eax + 0x1c], 0
je 0x4339c9
call fcn.0042b190
test byte [eax + 0x20], 8
je 0x4339c9
call fcn.0042b190
mov dword [ebp - 0x34], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x434256
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x434256
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4ec684
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.0042b520
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 0x43399e
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x4339c9
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x30]
mov ecx, ebx
push 0
push esi
push 0
call fcn.00437ac0
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.00409ce0
mov dword [ebp - 4], 0xa
cmp byte [edi + 0x84], 0
je 0x433a60
test esi, esi
jne 0x433a60
push 1
push 0x10000000
push 0x4ee384
lea ecx, [ebp - 0x7c]
call fcn.00409ee0
push 1
push 0x10000000
push str.S_1_5_18
lea ecx, [ebp - 0x7c]
call fcn.00409ee0
lea ecx, [ebp - 0x7c]
call fcn.0040a470
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x1c]
cmp dword [eax - 4], 1
jle 0x433a77
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 0x433ab4
test esi, esi
je 0x433ab4
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.00409d80
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], 0x4ec614
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xb
cmp eax, 0xffffffff
jne 0x433c16
call fcn.0042b190
cmp byte [eax + 0x1c], 0
je 0x433be2
call fcn.0042b190
test byte [eax + 0x20], 8
je 0x433be2
call fcn.0042b190
mov dword [ebp - 0x34], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x434256
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x434256
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4ec684
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.0042b520
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 0x433bba
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x433be2
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov ecx, ebx
call fcn.00437ca0
test al, al
je 0x433bf7
mov edi, 0xe0000008
jmp 0x43421d
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.00437ac0
mov edi, ebx
jmp 0x43421d
mov ebx, dword [ebx]
test esi, esi
je 0x433c25
test ebx, ebx
je 0x433c3c
push dword [ebp + 0x14]
jmp 0x433c2b
test ebx, ebx
je 0x433c3c
push 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x34]
push 0xc800
call fcn.00408530
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 0x433d1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp ebx, 0x3e5
jne 0x433d05
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0
jne 0x433ced
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x433ced
lea eax, [edi + 0x38]
mov ecx, ebx
push eax
call fcn.00437e40
mov ecx, ebx
call fcn.00437ca0
test al, al
jne 0x43400c
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x433cb5
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x30], 0
mov ebx, dword [edi + 0x2c]
mov dword [ebp - 0x10], ebx
je 0x433d08
test ebx, ebx
jle 0x433d27
mov dword [ebp - 0x24], ebx
jmp 0x433d2a
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
test ebx, ebx
jne 0x433df6
mov ebx, dword [ebp - 0x24]
jmp 0x433d31
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 0x433eb6
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 0x433e41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp ebx, 0x3e5
jne 0x433def
mov edi, dword [ebp - 0x28]
cmp byte [edi], 0
jne 0x433dd7
mov ebx, dword [ebp - 0x18]
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x433dd7
push edi
mov ecx, ebx
call fcn.00437e40
mov ecx, ebx
call fcn.00437ca0
test al, al
jne 0x434013
mov eax, dword [ebp - 0x14]
push 0xa
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi], 0
je 0x433da0
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x30], 0
mov ebx, dword [edi + 0x2c]
mov dword [ebp - 0x10], ebx
je 0x433df2
test ebx, ebx
jle 0x433e4d
mov dword [ebp - 0x20], ebx
jmp 0x433e50
mov edi, dword [ebp - 0x14]
test ebx, ebx
je 0x433e4d
mov eax, ebx
cmp ebx, 0x2ee2
je 0x433e22
mov dword [ebp - 0x10], ebx
cmp eax, 0x2efe
je 0x433e22
mov dword [ebp - 0x10], ebx
cmp eax, 0x2eff
je 0x433e22
mov dword [ebp - 0x10], ebx
cmp eax, 0x2f83
jne 0x43414f
mov edi, dword [ebp - 0x14]
cmp byte [edi + 0x8c], 0
je 0x43414f
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
jmp 0x433fed
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 0x433eb6
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 0x434022
mov eax, dword [edi + 0xc]
lea ebx, [edi + 0xc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x433e92
mov eax, dword [eax]
push dword [ebp - 0x38]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x10]
call edi
mov edi, dword [ebp - 0x14]
lea eax, [edi + 0x38]
mov ecx, ebx
push eax
call fcn.00437e40
mov ecx, ebx
call fcn.00437ca0
test al, al
je 0x434004
mov edi, 0xe0000008
jmp 0x434209
call fcn.0042b190
cmp byte [eax + 0x1c], 0
je 0x433fb9
call fcn.0042b190
test byte [eax + 0x20], 8
je 0x433fb9
call fcn.0042b190
mov dword [ebp - 0x10], eax
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x434256
mov edx, dword [ebx]
mov edi, dword [edx + 0xc]
mov ecx, edi
call dword [0x4e1514]
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 0x434256
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x4e1514]
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 0x4ec684
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.0042b520
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 0x433f8b
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
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 0x433fb6
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
mov ecx, ebx
call edi
mov edi, dword [ebp - 0x14]
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp - 0x1c]
jbe 0x434187
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [ebp + 0x10]
jae 0x434187
cmp byte [edi + 0x8c], 0
je 0x43416c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
mov ecx, edi
call fcn.00434bb0
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x43414f
lea eax, [edi + 0x38]
jmp 0x433c60
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0xe0000008
mov edi, dword [ebp - 0x10]
jmp 0x434209
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
call fcn.0042b190
cmp byte [eax + 0x1c], 0
je 0x43413a
call fcn.0042b190
test byte [eax + 0x20], 8
je 0x43413a
call fcn.0042b190
mov dword [ebp - 0x14], eax
call fcn.004046f0
mov dword [ebp - 0x30], eax
test eax, eax
je 0x434256
mov edx, dword [eax]
mov edi, dword [edx + 0xc]
mov ecx, edi
call dword [0x4e1514]
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.0042ac80
mov dword [ebp - 0x28], eax
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x434256
mov edx, dword [ebx]
mov edi, dword [edx + 0xc]
mov ecx, edi
call dword [0x4e1514]
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 0x4ec684
call fcn.004025b0
push ecx
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0042b520
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 0x43410f
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
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 0x43413a
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
mov ecx, ebx
call edi
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push 0
push edi
push 0
call fcn.00437ac0
jmp 0x434209
cmp ebx, 0xe0000008
je 0x434164
mov ecx, dword [ebp - 0x18]
push 0
push ebx
push 0
call fcn.00437ac0
mov edi, dword [ebp - 0x10]
jmp 0x434209
mov ecx, dword [ebp - 0x18]
push 0
push 0xe000000f
push 0
call fcn.00437ac0
mov edi, 0xe000000f
jmp 0x434209
test ebx, ebx
je 0x43419a
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 0x4341e9
push eax
push dword [edi + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4341e0
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.00437ac0
mov edi, ebx
jmp 0x434209
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
test ebx, ebx
je 0x434207
mov eax, dword [ebx]
push 0
push 1
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x4e1514]
mov ecx, ebx
call edi
xor edi, edi
mov byte [ebp - 4], 0xb
push esi
call fcn.004a18f2
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], 0x4ec614
test eax, eax
je 0x434240
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