Function at 0x4333e0
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 0x4cfaad
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 0x433437
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.00437890
test al, al
je 0x43345b
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 0x43349a
cmp eax, esi
jne 0x43349a
mov edi, dword [ebx]
test edi, edi
je 0x433484
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.0040f6a0
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4335de
call fcn.0042ad70
cmp byte [eax + 0x1c], 0
je 0x4335b9
call fcn.0042ad70
test byte [eax + 0x20], 8
je 0x4335b9
call fcn.0042ad70
mov dword [ebp - 0x34], eax
call fcn.00404710
mov edi, eax
test edi, edi
je 0x433e46
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.004025d0
call fcn.00404710
mov edi, eax
test edi, edi
je 0x433e46
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.004025d0
push ecx
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push eax
call fcn.0042b100
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 0x43358e
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 0x4335b9
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.004376b0
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.00409d00
mov dword [ebp - 4], 0xa
cmp byte [edi + 0x84], 0
je 0x433650
test esi, esi
jne 0x433650
push 1
push 0x10000000
push str.S_1_1_0
lea ecx, [ebp - 0x7c]
call fcn.00409ef0
push 1
push 0x10000000
push str.S_1_5_18
lea ecx, [ebp - 0x7c]
call fcn.00409ef0
lea ecx, [ebp - 0x7c]
call fcn.0040a480
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x1c]
cmp dword [eax - 4], 1
jle 0x433667
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 0x4336a4
test esi, esi
je 0x4336a4
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.00409da0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], 0x4ec614
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xb
cmp eax, 0xffffffff
jne 0x433806
call fcn.0042ad70
cmp byte [eax + 0x1c], 0
je 0x4337d2
call fcn.0042ad70
test byte [eax + 0x20], 8
je 0x4337d2
call fcn.0042ad70
mov dword [ebp - 0x34], eax
call fcn.00404710
mov edi, eax
test edi, edi
je 0x433e46
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.004025d0
call fcn.00404710
mov edi, eax
test edi, edi
je 0x433e46
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.004025d0
push ecx
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push eax
call fcn.0042b100
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 0x4337aa
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 0x4337d2
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.00437890
test al, al
je 0x4337e7
mov edi, 0xe0000008
jmp 0x433e0d
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.004376b0
mov edi, ebx
jmp 0x433e0d
mov ebx, dword [ebx]
test esi, esi
je 0x433815
test ebx, ebx
je 0x43382c
push dword [ebp + 0x14]
jmp 0x43381b
test ebx, ebx
je 0x43382c
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.00408550
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 0x43390c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp ebx, 0x3e5
jne 0x4338f5
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0
jne 0x4338dd
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4338dd
lea eax, [edi + 0x38]
mov ecx, ebx
push eax
call fcn.00437a30
mov ecx, ebx
call fcn.00437890
test al, al
jne 0x433bfc
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x4338a5
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x30], 0
mov ebx, dword [edi + 0x2c]
mov dword [ebp - 0x10], ebx
je 0x4338f8
test ebx, ebx
jle 0x433917
mov dword [ebp - 0x24], ebx
jmp 0x43391a
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
test ebx, ebx
jne 0x4339e6
mov ebx, dword [ebp - 0x24]
jmp 0x433921
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 0x433aa6
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 0x433a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp ebx, 0x3e5
jne 0x4339df
mov edi, dword [ebp - 0x28]
cmp byte [edi], 0
jne 0x4339c7
mov ebx, dword [ebp - 0x18]
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4339c7
push edi
mov ecx, ebx
call fcn.00437a30
mov ecx, ebx
call fcn.00437890
test al, al
jne 0x433c03
mov eax, dword [ebp - 0x14]
push 0xa
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi], 0
je 0x433990
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x30], 0
mov ebx, dword [edi + 0x2c]
mov dword [ebp - 0x10], ebx
je 0x4339e2
test ebx, ebx
jle 0x433a3d
mov dword [ebp - 0x20], ebx
jmp 0x433a40
mov edi, dword [ebp - 0x14]
test ebx, ebx
je 0x433a3d
mov eax, ebx
cmp ebx, 0x2ee2
je 0x433a12
mov dword [ebp - 0x10], ebx
cmp eax, 0x2efe
je 0x433a12
mov dword [ebp - 0x10], ebx
cmp eax, 0x2eff
je 0x433a12
mov dword [ebp - 0x10], ebx
cmp eax, 0x2f83
jne 0x433d3f
mov edi, dword [ebp - 0x14]
cmp byte [edi + 0x8c], 0
je 0x433d3f
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
jmp 0x433bdd
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 0x433aa6
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 0x433c12
mov eax, dword [edi + 0xc]
lea ebx, [edi + 0xc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x433a82
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.00437a30
mov ecx, ebx
call fcn.00437890
test al, al
je 0x433bf4
mov edi, 0xe0000008
jmp 0x433df9
call fcn.0042ad70
cmp byte [eax + 0x1c], 0
je 0x433ba9
call fcn.0042ad70
test byte [eax + 0x20], 8
je 0x433ba9
call fcn.0042ad70
mov dword [ebp - 0x10], eax
call fcn.00404710
mov ebx, eax
test ebx, ebx
je 0x433e46
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.004025d0
call fcn.00404710
mov ebx, eax
test ebx, ebx
je 0x433e46
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.004025d0
push ecx
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
call fcn.0042b100
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 0x433b7b
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 0x433ba6
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 0x433d77
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [ebp + 0x10]
jae 0x433d77
cmp byte [edi + 0x8c], 0
je 0x433d5c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
mov ecx, edi
call fcn.004347a0
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x433d3f
lea eax, [edi + 0x38]
jmp 0x433850
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0xe0000008
mov edi, dword [ebp - 0x10]
jmp 0x433df9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
call fcn.0042ad70
cmp byte [eax + 0x1c], 0
je 0x433d2a
call fcn.0042ad70
test byte [eax + 0x20], 8
je 0x433d2a
call fcn.0042ad70
mov dword [ebp - 0x14], eax
call fcn.00404710
mov dword [ebp - 0x30], eax
test eax, eax
je 0x433e46
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.004025d0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0042a860
mov dword [ebp - 0x28], eax
call fcn.00404710
mov ebx, eax
test ebx, ebx
je 0x433e46
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.004025d0
push ecx
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0042b100
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 0x433cff
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 0x433d2a
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.004376b0
jmp 0x433df9
cmp ebx, 0xe0000008
je 0x433d54
mov ecx, dword [ebp - 0x18]
push 0
push ebx
push 0
call fcn.004376b0
mov edi, dword [ebp - 0x10]
jmp 0x433df9
mov ecx, dword [ebp - 0x18]
push 0
push 0xe000000f
push 0
call fcn.004376b0
mov edi, 0xe000000f
jmp 0x433df9
test ebx, ebx
je 0x433d8a
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 0x433dd9
push eax
push dword [edi + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x433dd0
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.004376b0
mov edi, ebx
jmp 0x433df9
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
test ebx, ebx
je 0x433df7
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.004a0fd2
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 0x433e30
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.00402740
int3