Function at 0x4519fd
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov eax, 0x5628a6
call fcn.0053c1d0
sub esp, 0x218
mov eax, dword [0x5af710]
push ebx
push esi
xor esi, esi
xor eax, ebp
cmp dword [0x5b21d8], esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0xa8], esi
jne 0x451ba4
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x188]
call fcn.00404a20
mov eax, 0x572a6c
push eax
push str.Netbios
push 0x572a4c
push eax
push 0x572a48
push 0x10000000
push 0x572a40
push dword [ebp - 0xac]
mov dword [ebp - 4], esi
mov esi, 0x572a3c
push esi
push dword [ebp - 0xae]
mov ebx, 0x572a38
push esi
push dword [ebp - 0xb0]
mov edi, 0x572a34
push ebx
push dword [ebp - 0xb2]
push edi
push dword [ebp - 0xb6]
push edi
push dword [ebp - 0xb8]
push ebx
push 0x4b
push esi
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa0], esp
push str..KillMac.cpp
call fcn.00405500
lea eax, [ebp - 0xf8]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 1
jb 0x451ade
mov eax, dword [eax + 4]
jmp 0x451ae1
add eax, 4
push eax
lea eax, [ebp - 0x188]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
mov byte [ebp - 4], 0
jmp 0x451ecc
push 0x41
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.0053c340
add esp, 0xc
push 0x40
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
je 0x451d3f
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
pop esi
push esi
lea ecx, [ebp - 0x188]
call fcn.00404a20
mov eax, 0x572a6c
push eax
push str.gethostname
push 0x572a4c
push eax
push 0x572a48
push 0x10000000
push 0x572a40
push dword [ebp - 0xac]
mov dword [ebp - 4], esi
mov esi, 0x572a3c
push esi
push dword [ebp - 0xae]
mov ebx, 0x572a38
push esi
push dword [ebp - 0xb0]
mov edi, 0x572a34
push ebx
push dword [ebp - 0xb2]
push edi
push dword [ebp - 0xb6]
push edi
push dword [ebp - 0xb8]
push ebx
push 0x52
push esi
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa0], esp
push str..KillMac.cpp
call fcn.00405500
lea eax, [ebp - 0xf8]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 3
jb 0x451c79
mov eax, dword [eax + 4]
jmp 0x451c7c
add eax, 4
push eax
lea eax, [ebp - 0x188]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
mov byte [ebp - 4], 2
jmp 0x451ecc
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
cmp eax, esi
mov dword [ebp - 0xa4], eax
jne 0x451f15
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x188]
call fcn.00404a20
mov eax, 0x572a6c
push eax
push str.gethostbyname
push 0x572a4c
push eax
push 0x572a48
push 0x10000000
push 0x572a40
push dword [ebp - 0xac]
mov esi, 0x572a3c
push esi
push dword [ebp - 0xae]
mov ebx, 0x572a38
push esi
push dword [ebp - 0xb0]
mov edi, 0x572a34
push ebx
push dword [ebp - 0xb2]
mov dword [ebp - 4], 4
push edi
push dword [ebp - 0xb6]
push edi
push dword [ebp - 0xb8]
push ebx
push 0x59
push esi
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa0], esp
push str..KillMac.cpp
call fcn.00405500
lea eax, [ebp - 0xf8]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 5
jb 0x451e0b
mov eax, dword [eax + 4]
jmp 0x451e0e
add eax, 4
push eax
lea eax, [ebp - 0x188]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
mov byte [ebp - 4], 4
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0xf8]
call fcn.00402c50
lea eax, [ebp - 0x188]
push eax
call fcn.00407930
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x13c]
call fcn.004028d0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0x572840
call fcn.0054dfcb
xor eax, eax
jmp 0x4522e7
mov ecx, dword [eax + 0xc]
cmp dword [ecx], esi
mov dword [ebp - 0xa0], esi
je 0x4522e1
mov dword [ebp - 0x9c], esi
mov esi, 0x572a3c
mov ebx, 0x572a38
mov edi, 0x572a34
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ecx + edx]
mov dl, byte [ecx]
cmp dl, 0x7f
je 0x4522bf
test dl, dl
je 0x4522bf
cmp dl, 0xa9
jne 0x451f66
cmp byte [ecx + 1], 0xfe
je 0x4522bf
lea ecx, [ebp - 0x108]
call fcn.00456660
push 0x64
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 6
call fcn.004566b0
push 6
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.0053c340
mov ecx, dword [ebp - 0x9c]
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 0xc]
mov eax, dword [ecx + eax]
push dword [eax]
lea ecx, [ebp - 0x108]
call fcn.00456730
test eax, eax
je 0x4522aa
push 6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0053c280
add esp, 0xc
test eax, eax
je 0x4522aa
push 6
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xf8]
push 6
push eax
call fcn.0050495c
add esp, 0x10
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 7
jb 0x452003
mov eax, dword [eax + 4]
jmp 0x452006
add eax, 4
push eax
lea ecx, [ebp - 0xc8]
call fcn.004071e0
push 0
push 1
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 9
call fcn.00402c50
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + eax]
push 2
push dword [eax]
lea eax, [ebp - 0xc4]
push eax
call fcn.005048e9
add esp, 0xc
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xa
jb 0x452059
mov eax, dword [eax + 4]
jmp 0x45205c
add eax, 4
push eax
lea ecx, [ebp - 0xcc]
call fcn.004071e0
push 0
push 1
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xc
call fcn.00402c50
call fcn.005504da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x9c], eax
push dword [ebp - 0xc8]
lea eax, [ebp - 0x9c]
push dword [ebp - 0xcc]
mov byte [ebp - 4], 0xd
push str._s__s__l__tm__vrv
push eax
call fcn.0040b350
add esp, 0x10
cmp dword [0x5b21c0], 0x217
jne 0x45226a
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x224]
call fcn.00404a20
mov eax, 0x572a6c
push eax
push dword [ebp - 0x9c]
mov byte [ebp - 4], 0xe
push 0x572a4c
push eax
push 0x572a48
push 0x217
push 0x572a40
push dword [ebp - 0xd0]
push esi
push dword [ebp - 0xd2]
push esi
push dword [ebp - 0xd4]
push ebx
push dword [ebp - 0xd6]
push edi
push dword [ebp - 0xda]
push edi
push dword [ebp - 0xdc]
push ebx
push 0x7c
push esi
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa0], esp
push str..KillMac.cpp
call fcn.00405500
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xf
jb 0x452167
mov eax, dword [eax + 4]
jmp 0x45216a
add eax, 4
push eax
lea eax, [ebp - 0x224]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
push 0
push 1
lea ecx, [ebp - 0x1a4]
call fcn.00402c50
lea eax, [ebp - 0x224]
push eax
call fcn.00407930
pop ecx
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0xd
call fcn.004028d0
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x572840
call fcn.0054dfcb
push dword [ebp - 0x9c]
call fcn.00451089
pop ecx
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
mov dword [ebp - 0xa0], 1
call fcn.00401250
mov ecx, dword [ebp - 0xcc]
add ecx, 0xfffffff0
call fcn.00401250
mov ecx, dword [ebp - 0xc8]
add ecx, 0xfffffff0
call fcn.00401250
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.00456680
mov eax, dword [ebp - 0xa4]
inc dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa8]
mov ecx, dword [eax + 0xc]
shl edx, 2
cmp dword [ecx + edx], 0
mov dword [ebp - 0x9c], edx
jne 0x451f3b
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aaae
leave
ret