Function at 0x42da40
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b52ee
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4f0108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x40], 0
jb 0x42dab0
mov edx, dword [edx]
lea eax, [ebp - 0x40]
push eax
push edx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x42de41
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x20
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
push 0
push dword [ebp - 0x40]
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.IPHLPAPI.DLL_SendARP]
test eax, eax
jne 0x42de41
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x42de41
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x58], eax
test ecx, ecx
je 0x42de41
movzx eax, byte [ebp + eax - 0x38]
push eax
lea eax, [ebp - 0x18]
push str._.2X
push eax
call fcn.0042efb0
lea esi, [ebp - 0x18]
add esp, 0xc
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x42db30
mov edx, dword [edi + 0x10]
sub esi, ecx
mov ecx, dword [edi + 0x14]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x50], ecx
cmp esi, eax
ja 0x42db79
lea eax, [edx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
cmp ecx, 0x10
jb 0x42db5c
mov eax, dword [edi]
lea edi, [eax + edx]
push esi
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.0047e460
mov byte [edi + esi], 0
add esp, 0xc
mov edi, dword [ebp - 0x54]
jmp 0x42dcc3
mov eax, SysReAllocString
sub eax, edx
cmp eax, esi
jb 0x42de5e
lea eax, [edx + esi]
mov ecx, eax
mov dword [ebp - 0x64], eax
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x42dbaa
mov eax, SysReAllocString
mov dword [ebp - 0x44], eax
mov eax, 0x80000023
jmp 0x42dbfb
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
shr eax, 1
mov dword [ebp - 0x48], eax
mov eax, SysReAllocString
sub eax, dword [ebp - 0x48]
cmp dword [ebp - 0x50], eax
jbe 0x42dbd1
mov eax, SysReAllocString
mov dword [ebp - 0x44], eax
mov eax, 0x80000023
jmp 0x42dbfb
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x54]
cmp ecx, eax
cmovb ecx, eax
mov dword [ebp - 0x44], ecx
lea eax, [ecx + 1]
mov dword [ebp - 0x4c], eax
cmp eax, 0x1000
jb 0x42dc1c
add eax, 0x23
cmp eax, dword [ebp - 0x4c]
jbe 0x42de63
push eax
call fcn.00479023
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x42de68
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x44]
jmp 0x42dc30
test eax, eax
je 0x42dc2e
push eax
call fcn.00479023
mov ecx, dword [ebp - 0x44]
add esp, 4
jmp 0x42dc30
xor eax, eax
cmp dword [ebp - 0x50], 0x10
mov edx, dword [ebp - 0x64]
mov dword [edi + 0x10], edx
mov edx, dword [ebp - 0x5c]
mov dword [edi + 0x14], ecx
mov dword [ebp - 0x48], eax
push edx
lea ecx, [eax + edx]
mov dword [ebp - 0x44], ecx
jb 0x42dca0
mov ecx, dword [edi]
push ecx
push eax
mov dword [ebp - 0x4c], ecx
call fcn.0047e460
push esi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x44]
call fcn.0047e460
mov eax, dword [ebp - 0x44]
add esp, 0x18
mov ecx, dword [ebp - 0x50]
inc ecx
mov byte [eax + esi], 0
mov eax, dword [ebp - 0x4c]
cmp ecx, 0x1000
jb 0x42dc94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42de68
mov eax, edx
push ecx
push eax
call fcn.0047940e
add esp, 8
jmp 0x42dcbe
push edi
push eax
call fcn.0047e460
push esi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x44]
call fcn.0047e460
mov eax, dword [ebp - 0x44]
add esp, 0x18
mov byte [eax + esi], 0
mov eax, dword [ebp - 0x48]
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
dec eax
cmp dword [ebp - 0x58], eax
je 0x42de31
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x50], edx
cmp eax, 1
jb 0x42dd10
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x42dcf4
mov eax, dword [edi]
push 1
lea esi, [ecx + eax]
push 0x4d7714
push esi
call fcn.0047e460
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x42de31
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x42de5e
lea esi, [ecx + 1]
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x42dd38
mov esi, SysReAllocString
lea eax, [esi + 0x24]
jmp 0x42dd77
mov eax, edx
shr eax, 1
mov dword [ebp - 0x4c], eax
mov eax, SysReAllocString
sub eax, dword [ebp - 0x4c]
cmp edx, eax
jbe 0x42dd55
mov esi, SysReAllocString
lea eax, [esi + 0x24]
jmp 0x42dd77
mov eax, dword [ebp - 0x4c]
add eax, edx
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x42dd98
add eax, 0x23
lea ecx, [esi + 1]
cmp eax, ecx
jbe 0x42de63
push eax
call fcn.00479023
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x42de68
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x44]
jmp 0x42ddac
test eax, eax
je 0x42ddaa
push eax
call fcn.00479023
mov ecx, dword [ebp - 0x44]
add esp, 4
jmp 0x42ddac
xor eax, eax
cmp dword [ebp - 0x50], 0x10
lea edx, [ecx + 1]
mov dword [edi + 0x14], esi
lea esi, [eax + ecx]
mov dword [ebp - 0x48], eax
mov dword [edi + 0x10], edx
mov dword [ebp - 0x4c], esi
push ecx
jb 0x42de11
mov esi, dword [edi]
push esi
push eax
call fcn.0047e460
push 1
push 0x4d7714
push dword [ebp - 0x4c]
call fcn.0047e460
mov eax, dword [ebp - 0x4c]
add esp, 0x18
mov ecx, dword [ebp - 0x50]
inc ecx
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x42de05
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x42de68
mov esi, edx
push ecx
push esi
call fcn.0047940e
add esp, 8
jmp 0x42de2c
push edi
push eax
call fcn.0047e460
push 1
push 0x4d7714
push esi
call fcn.0047e460
add esp, 0x18
mov byte [esi + 1], 0
mov eax, dword [ebp - 0x48]
mov dword [edi], eax
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x3c]
jb 0x42db10
mov eax, edi
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.00478c0a
mov esp, ebp
pop ebp
ret
call fcn.0040556b
call fcn.004054f4
call fcn.00487359
int3