Function at 0x40c3e0
Capabilities:
Delete file

Disassembly:
sub esp, 0x448
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x148]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x148]
push eax
call fcn.0040d560
add esp, 4
lea ecx, [esp + 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
xor edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], eax
mov eax, dword [0x4973cc]
push eax
mov dword [esp + 0x20], edx
call sub.WSOCK32.dll_inet_ntoa
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x4973d8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sub.WSOCK32.dll_inet_ntoa
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x4973dc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x4973d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [0x4973e0]
mov ecx, dword [0x4973d4]
push esi
push edx
mov dword [esp + 0x40], ecx
push ecx
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
push str.IP1_s_IP2_s_PORT1__d_PORT2__d_PORT3__d_PORT4__d
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], esi
call section..text
lea eax, [esp + 0x164]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0040d150
mov edx, dword [ebp + 0xac]
lea eax, [esp + 0x178]
push edx
push eax
call fcn.0040d280
mov ecx, dword [ebp + 0xa8]
lea edx, [esp + 0x180]
push ecx
push edx
call fcn.0040d2e0
add esp, 0x40
lea eax, [esp + 0x148]
push 1
push eax
call fcn.0040d340
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x4c]
add esp, 8
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x24c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x350]
rep stosd dword es:[edi], eax
mov ecx, dword [0x497e04]
mov eax, dword [ecx - 8]
mov ecx, 0x497e04
push eax
call fcn.0046b6d8
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x458]
and ecx, 3
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
jne 0x40c5e2
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x43], 0x5c
je 0x40c5e2
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x44]
mov byte [esp + ecx + 0x44], 0x5c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x44], al
lea ecx, [esp + 0x44]
lea edx, [esp + 0x148]
push ecx
push edx
call fcn.0040d3a0
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x43], 0x5c
jne 0x40c61e
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x43], al
lea eax, [esp + 0x24c]
lea ecx, [esp + 0x350]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.0044d8f0
lea eax, [esp + 0x258]
lea ecx, [esp + 0x154]
push eax
push ecx
call fcn.0040d410
mov ecx, dword [ebp + 0xa0]
add esp, 0x14
xor eax, eax
test ecx, ecx
je 0x40c661
mov eax, 1
mov ecx, dword [ebp + 0xa4]
test ecx, ecx
je 0x40c66d
or al, 2
mov ecx, dword [ebp + 0x9c]
test ecx, ecx
je 0x40c679
or al, 4
mov ecx, dword [ebp + 0x98]
test ecx, ecx
je 0x40c685
or al, 8
mov ecx, dword [ebp + 0xa8]
test ecx, ecx
je 0x40c691
or al, 0x10
mov ecx, dword [ebp + 0xac]
test ecx, ecx
je 0x40c69d
or al, 0x20
or al, 0x40
lea edx, [esp + 0x148]
push eax
push edx
call fcn.0040d480
mov eax, dword [ebp + 0x90]
lea ecx, [esp + 0x150]
push eax
push ecx
call fcn.0040d4f0
mov edx, dword [ebp + 0xb8]
lea eax, [esp + 0x158]
push edx
push eax
call fcn.0040d5e0
mov ecx, dword [ebp + 0xb4]
lea edx, [esp + 0x160]
push ecx
push edx
call fcn.0040d650
add esp, 0x20
pop edi
pop esi
pop ebp
add esp, 0x448
ret 4