Function at 0x43eb80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3f66
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x78]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00411840
mov edi, eax
push str.hosts_
lea edx, [esi + 0x100]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00408890
add esp, 4
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004096c0
add edi, 0x30
cmp dword [edi + 0x14], 8
jb 0x43ebf8
mov edi, dword [edi]
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ec00
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.004086c0
mov dword [ebp - 0x60], 0
xor ecx, ecx
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 4
push 0x4edd20
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.004086c0
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x70]
call fcn.0040c2c0
lea ecx, [ebp - 0x88]
call fcn.0040c2c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0xd0]
push eax
call fcn.0048dbcc
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0
je 0x43ef95
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xd4], esi
cmp esi, 0xffffffff
jne 0x43ed51
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CreateFile___s__Err__d_
push 0x3cf
push 0x4edca8
push 1
call fcn.00407ee0
push eax
call fcn.00407c80
add esp, 0x1c
jmp 0x43ef95
push 0x15
push str.hostname_thostresult_r_n
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.0040e3a0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
push esi
call fcn.004403d0
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x43ef47
nop dword [eax]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 9
lea eax, [esi + 8]
cmp dword [esi + 0x1c], 0x10
jb 0x43edb2
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x18]
push edi
push eax
cmp edi, 0xf
ja 0x43edd5
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], edi
push eax
call fcn.004a5980
add esp, 0xc
mov byte [ebp + edi - 0x28], 0
lea eax, [ebp - 0x28]
jmp 0x43edeb
mov byte [ebp - 0xd8], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0xd8]
push edi
call fcn.0040e0a0
mov edi, dword [eax + 0x14]
mov ecx, edi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x43ee20
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
cmp edi, 0x10
jb 0x43ee07
mov eax, dword [eax]
push 1
lea edi, [eax + edx]
push 0x4ea3f8
push edi
call fcn.004a5980
add esp, 0xc
mov byte [edi + 1], 0
jmp 0x43ee3d
push 1
push 0x4ea3f8
mov byte [ebp - 0xdc], 0
mov ecx, eax
push dword [ebp - 0xdc]
push 1
call fcn.0040e0a0
cmp dword [esi + 0x34], 0x10
lea edx, [esi + 0x20]
jb 0x43ee49
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x30]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
sub eax, edi
mov dword [ebp - 0xe0], ecx
push ecx
push edx
cmp ecx, eax
ja 0x43ee8b
cmp dword [ebp - 0x14], 0x10
lea eax, [ecx + edi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
add edi, eax
push edi
call fcn.004a5980
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x28]
add esp, 0xc
mov byte [edi + eax], 0
jmp 0x43eea3
mov byte [ebp - 0xe4], 0
push dword [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e0a0
mov edx, eax
mov ecx, dword [edx + 0x14]
mov edi, dword [edx + 0x10]
sub ecx, edi
cmp ecx, 2
jb 0x43eed6
cmp dword [edx + 0x14], 0x10
lea eax, [edi + 2]
mov dword [edx + 0x10], eax
jb 0x43eebe
mov edx, dword [edx]
push 2
add edi, edx
push 0x4ea3fc
push edi
call fcn.004a5980
add esp, 0xc
mov byte [edi + 2], 0
jmp 0x43eef3
push 2
push 0x4ea3fc
mov byte [ebp - 0xe8], 0
mov ecx, edx
push dword [ebp - 0xe8]
push 2
call fcn.0040e0a0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xd4]
call fcn.004403d0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43ef3a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ef30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efba
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov eax, dword [ebp + 8]
mov esi, dword [esi]
cmp esi, dword [eax]
jne 0x43ed90
push dword [ebp - 0xd4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x43ef83
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ef79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efba
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0x40]
call fcn.0040c2c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret 4
call fcn.004b0023
int3