Function at 0x493220
Capabilities:
Connect to http server
Create http request
Resolve dns
Send data
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x5b93c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x530
push ebx
push ebp
push esi
lea eax, [esp + 0x20]
push edi
push eax
call fcn.0048a380
mov ecx, dword [eax]
mov dword [esp + 0x54c], 0
push ecx
push str._sCrash_
push 0x645354
call fcn.00588507
add esp, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x548], 0xffffffff
call fcn.0058df3f
mov edx, dword [0x645354]
push edx
call fcn.005822aa
add esp, 4
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x63b4a0]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1c]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x1e]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
mov eax, dword [esp + 0x28]
and eax, 0xffff
mov ecx, 0x64
cdq
idiv ecx
lea eax, [esp + 0x50]
mov dword [esp + 0x55c], 1
push edx
mov edx, dword [0x645354]
push edx
push str._s_02d__02d__02d__02d
push eax
call fcn.00569261
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x42]
mov eax, dword [esp + 0x40]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x42]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x42]
push eax
mov eax, dword [esp + 0x44]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
cdq
mov ecx, 0x64
idiv ecx
push edx
lea edx, [esp + 0x4c]
push str._02d__02d__02d__02d
push edx
call fcn.00588507
add esp, 0x44
lea eax, [esp + 0x3c]
push eax
call fcn.00493580
mov esi, dword [esp + 0x554]
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.004937c0
lea edx, [esp + 0x48]
push edx
call fcn.004938c0
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.004939d0
lea ecx, [esp + 0x54]
push ecx
call fcn.00493b90
lea edx, [esp + 0x58]
push edx
call fcn.00493c60
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.00493fe0
lea ecx, [esp + 0x64]
push esi
push ecx
call fcn.004940e0
add esp, 0x30
lea ecx, [esp + 0x2c]
call fcn.005924e5
push 0
push 0
push 0
push 1
push 0
mov byte [esp + 0x55c], 2
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
je 0x493533
push str.ftppbxctiserver1.cti8.com
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x493577
push str.210.51.181.198
call sub.WSOCK32.dll_inet_addr
push 0
push 0
push 1
push str.cti88888
push str.cti8
push 0x15
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
test esi, esi
je 0x493577
mov edi, dword [sym.imp.WININET.dll_FtpSetCurrentDirectoryA]
push str.www__CRASH_CNC_
push esi
call edi
test eax, eax
jne 0x49347d
push str.www__CRASH_CNC_
push esi
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
test eax, eax
je 0x493571
push str.www__CRASH_CNC_
push esi
call edi
test eax, eax
je 0x493571
mov edx, dword [esp + 0x10]
push 0
push 2
push 0x40000000
push edx
push esi
call dword [sym.imp.WININET.dll_FtpOpenFileA]
mov ebp, eax
test ebp, ebp
je 0x493524
lea eax, [esp + 0x28]
push eax
push 4
push str.RIFF
push ebp
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x493524
push 0
lea ecx, [esp + 0x40]
push 0x8000
push ecx
lea ecx, [esp + 0x38]
call fcn.00592697
test eax, eax
je 0x493524
lea edx, [esp + 0x140]
push 0x400
push edx
lea ecx, [esp + 0x34]
call fcn.005927b4
mov edi, eax
mov dword [esp + 0x28], 0
test edi, edi
jbe 0x493509
lea eax, [esp + 0x28]
lea ecx, [esp + 0x140]
push eax
push edi
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x49351b
cmp edi, 0x400
jne 0x493524
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4934cc
lea ecx, [esp + 0x2c]
call fcn.005928b2
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call edi
push esi
call edi
push ebx
call edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x548], 1
call fcn.005925da
lea ecx, [esp + 0x10]
mov dword [esp + 0x548], 0xffffffff
call fcn.0058df3f
mov ecx, dword [esp + 0x540]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x53c
ret
mov ebp, dword [esp + 0x24]
jmp 0x493524
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x493530