Function at 0x42c900
Capabilities:
Delete file
Download and write a file
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 0x449d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x44b]
mov byte [ebp - 0x44c], bl
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x24], esi
cmp eax, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0xffffffff
je 0x42c9c4
mov eax, dword [esi + 0x4c]
cmp eax, ebx
jne 0x42c960
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call fcn.00426230
mov eax, dword [esi + 0x4c]
add esp, 4
cmp eax, ebx
jne 0x42c975
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x4c]
cmp eax, ebx
jne 0x42c988
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x42c9c4
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov edx, dword [esi + 0x18]
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [ebp - 0x44c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x44c]
push edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x4c], 0x28
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0x3ff
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0xc]
mov edi, 1
push esi
lea eax, [ebp - 0x4c]
push edi
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x42ca46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42cae3
mov edx, dword [esi + 0x18]
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.0042c5f0
test eax, eax
je 0x42cae3
cmp dword [esi + 0x34], ebx
jne 0x42ca58
mov eax, dword [esi + 0x24]
mov dword [esi + 0x34], edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x42ca64
mov dword [ebp - 0x1c], edi
jmp 0x42cae3
mov ecx, dword [ebp - 0x18]
mov byte [ebp + eax - 0x44c], bl
cmp ecx, 0xffffffff
mov dword [ebp - 0x20], ebx
je 0x42ca8a
lea edx, [ebp - 0x20]
push ebx
push edx
push eax
lea eax, [ebp - 0x44c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
lea edi, [esi + 0x2678]
add edx, ecx
push edi
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x2694]
cmp ecx, ebx
je 0x42cab8
mov edx, dword [ecx]
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call dword [edx]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x42c9ca
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x42caf2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x34], ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret