Function at 0x469b00
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4c506c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x6e], 0
mov byte [ebp - 0x6d], 0
mov dword [ebp - 0x94], 0
push edi
test esi, esi
je 0x46a1e5
mov edi, esi
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x469b40
sub edi, ecx
cmp edi, 0x7a1200
ja 0x46a1e5
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov ecx, dword [ebp - 0x74]
mov ebx, eax
add esp, 4
mov dword [ecx + 0x28], ebx
test ebx, ebx
je 0x46a3d4
lea eax, [edi + 1]
add eax, ebx
mov dword [ebp - 0x78], eax
push 0x29
mov byte [eax], 0
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.00468680
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x7c], edx
test al, al
je 0x469d51
lea edi, [ebp - 0x48]
mov byte [ebp - 0x6d], 1
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x469ba8
lea eax, [ebp - 0x48]
sub edi, ecx
push str.file
push eax
call fcn.00447ae0
add esp, 8
test eax, eax
je 0x469d55
mov al, byte [ebp - 0x6d]
add esi, 5
mov ecx, ebx
mov byte [ebp - 0x6d], al
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x469bd7
push str.file
mov dword [ebp - 0x78], 0
call dword [0x4c500c]
mov esi, dword [ebp - 0x74]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x46a3d4
mov al, byte [ebx]
cmp al, 0x2f
jne 0x469cda
cmp byte [ebx + 1], al
jne 0x469c88
mov cl, byte [ebx + 2]
add ebx, 2
mov al, cl
cmp cl, 0x2f
je 0x469c84
cmp cl, 0x61
jl 0x469c2c
cmp cl, 0x7a
jle 0x469c34
mov al, cl
sub al, 0x41
cmp al, 0x19
ja 0x469c52
mov al, byte [ebx + 1]
cmp al, 0x3a
je 0x469c3f
cmp al, 0x7c
jne 0x469c52
mov dl, byte [ebx + 2]
mov al, cl
cmp dl, 0x2f
je 0x469c84
cmp dl, 0x5c
je 0x469c84
test dl, dl
je 0x469c84
push 0xa
push ebx
push str.localhost_
call fcn.00447cb0
add esp, 0xc
test eax, eax
jne 0x469c7e
push 0xa
push ebx
push str.127.0.0.1_
call fcn.00447cb0
add esp, 0xc
test eax, eax
je 0x46a1e5
mov al, byte [ebx + 9]
add ebx, 9
cmp al, 0x2f
jne 0x469cda
mov al, byte [ebx + 1]
lea edx, [ebx + 1]
cmp al, 0x61
jl 0x469c96
cmp al, 0x7a
jle 0x469c9c
sub al, 0x41
cmp al, 0x19
ja 0x469cda
mov al, byte [ebx + 2]
cmp al, 0x3a
je 0x469ca7
cmp al, 0x7c
jne 0x469cda
mov al, byte [ebx + 3]
cmp al, 0x2f
je 0x469cb6
cmp al, 0x5c
je 0x469cb6
test al, al
jne 0x469cda
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469cc0
sub ecx, esi
lea eax, [ecx + 1]
push eax
push edx
push ebx
call fcn.00477960
add esp, 0xc
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x7c]
push ecx
push ebx
call fcn.00469a60
add esp, 8
test al, al
jne 0x46a1e5
test byte [ebp - 0x7c], 0x80
je 0x469f4e
cmp byte [ebx], al
je 0x469f4e
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469d06
sub ecx, edx
lea eax, [ecx + ecx*2]
push eax
call dword [section..data]
add esp, 4
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x46a3d4
cmp byte [ebx], 0
mov dh, 1
mov byte [ebp - 0x6e], 1
mov esi, eax
mov edi, ebx
je 0x469f43
nop dword [eax]
cmp edi, ebx
jae 0x469e85
mov al, byte [edi]
mov byte [esi], al
jmp 0x469f32
xor edi, edi
jmp 0x469d58
mov edx, dword [ebp - 0x7c]
cmp byte [ebp - 0x6d], 0
mov byte [ebx], 0
je 0x469dd8
inc esi
xor eax, eax
add esi, edi
je 0x46a1e5
nop dword [eax]
cmp byte [esi], 0x2f
jne 0x469d80
cmp eax, 4
jge 0x469d80
inc eax
add esi, 1
jne 0x469d70
dec eax
cmp eax, 2
ja 0x46a1e5
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x94], eax
call fcn.0043e760
mov ecx, dword [ebp - 0x7c]
add esp, 4
test eax, eax
jne 0x469dbe
test cl, 8
jne 0x469dbe
pop edi
pop esi
mov eax, 5
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475c6f
mov esp, ebp
pop ebp
ret
push ecx
lea eax, [ebp - 0x48]
push eax
call fcn.00469a60
add esp, 8
test al, al
jne 0x46a1e5
mov edx, dword [ebp - 0x7c]
jmp 0x469dfa
test edx, 0x204
je 0x46a1e5
test dl, 4
mov edi, str.https
mov eax, 0
cmove edi, eax
mov dword [ebp - 0x94], edi
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x469e16
cmp al, 0x2f
je 0x469e16
cmp al, 0x3f
je 0x469e16
cmp al, 0x23
je 0x469e16
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x469e02
mov edi, esi
sub edi, ecx
je 0x469e32
push edi
push ecx
push dword [ebp - 0x78]
call fcn.00477960
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov byte [edi + eax], 0
jmp 0x469e3e
test edx, 0x400
je 0x46a1e5
mov edi, esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x469e43
sub edi, ecx
push edi
push esi
push ebx
call fcn.00477960
mov eax, dword [ebp - 0x94]
add esp, 0xc
mov byte [edi + ebx], 0
test eax, eax
je 0x469cd7
push eax
call dword [0x4c500c]
mov esi, dword [ebp - 0x74]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x46a3d4
jmp 0x469cda
mov dl, byte [edi]
cmp dl, 0x20
je 0x469f1d
xor ecx, ecx
movzx eax, dh
cmp dl, 0x3f
cmovne ecx, eax
movzx eax, dl
push eax
mov byte [ebp - 0x81], cl
mov dword [ebp - 0x88], eax
call fcn.0046a6a0
add esp, 4
test eax, eax
jne 0x469f04
push dword [ebp - 0x88]
call fcn.0046a740
add esp, 4
test eax, eax
jne 0x469f04
push dword [ebp - 0x88]
call fcn.0046a6e0
add esp, 4
test eax, eax
jne 0x469f04
movzx eax, byte [edi]
push eax
push str.___02x
push 4
push esi
call fcn.004549d0
mov cl, byte [ebp - 0x6d]
mov eax, 3
mov dh, byte [ebp - 0x81]
add esp, 0x10
mov byte [ebp - 0x6d], cl
add esi, eax
jmp 0x469f33
mov al, byte [edi]
mov cl, byte [ebp - 0x6d]
mov dh, byte [ebp - 0x81]
mov byte [esi], al
mov eax, 1
mov byte [ebp - 0x6d], cl
add esi, eax
jmp 0x469f33
test dh, dh
je 0x469f2f
mov word [esi], 0x3225
mov byte [esi + 2], 0x30
add esi, 3
jmp 0x469f33
mov byte [esi], 0x2b
inc esi
inc edi
cmp byte [edi], 0
jne 0x469d40
mov eax, dword [ebp - 0x8c]
mov byte [esi], 0
mov ebx, eax
mov esi, dword [ebp - 0x74]
mov dword [esi + 0x2c], eax
push 0x23
push ebx
call fcn.00477830
add esp, 8
test eax, eax
je 0x469f7b
mov byte [eax], 0
inc eax
cmp byte [eax], 0
je 0x469f7b
push eax
call dword [0x4c500c]
add esp, 4
mov dword [esi + 0x24], eax
test eax, eax
je 0x46a3d4
push 0x3f
push ebx
call fcn.00477830
add esp, 8
test eax, eax
je 0x469fa3
mov byte [eax], 0
inc eax
push eax
call dword [0x4c500c]
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x46a3d4
cmp byte [ebx], 0
je 0x46a057
test byte [ebp - 0x7c], 0x10
jne 0x46a02e
push ebx
call fcn.004733e0
mov esi, eax
add esp, 4
test esi, esi
je 0x46a3d4
mov edx, ebx
mov ecx, esi
nop dword [eax]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x469ff0
test al, al
je 0x469fec
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x469ff0
add ecx, 2
add edx, 2
test al, al
jne 0x469fd0
xor eax, eax
jmp 0x469ff5
sbb eax, eax
or eax, 1
test eax, eax
je 0x46a021
cmp byte [ebp - 0x6e], 0
je 0x46a015
mov ebx, dword [ebp - 0x74]
push dword [ebx + 0x2c]
call dword [0x4c5004]
add esp, 4
mov dword [ebx + 0x2c], 0
mov ecx, dword [ebp - 0x74]
mov ebx, esi
mov dword [ecx + 0x2c], esi
mov esi, ecx
jmp 0x46a045
push esi
call dword [0x4c5004]
mov esi, dword [ebp - 0x74]
add esp, 4
cmp byte [ebp - 0x6e], 0
je 0x46a039
mov esi, dword [ebp - 0x74]
jmp 0x46a045
push ebx
call dword [0x4c500c]
add esp, 4
mov ebx, eax
mov dword [esi + 0x1c], ebx
test ebx, ebx
je 0x46a3d4
mov dword [esi + 0x2c], 0
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x46a53b
push dword [ebp - 0x7c]
push ebx
call fcn.00469a60
add esp, 8
test al, al
jne 0x46a1e5
xor edi, edi
push 0x40
push ebx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], edi
call fcn.00477830
mov esi, eax
mov dword [ebp - 0x80], ebx
add esp, 8
test esi, esi
je 0x46a13b
mov ebx, dword [ebp - 0x74]
inc esi
mov edi, esi
mov dword [ebp - 0x78], edi
mov eax, dword [ebx]
test eax, eax
je 0x46a0cf
push eax
call fcn.0043e760
add esp, 4
test eax, eax
je 0x46a0cf
test dword [eax + 0x4c], 0x400
je 0x46a0cf
lea eax, [ebp - 0x88]
jmp 0x46a0d1
xor eax, eax
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x80]
sub esi, eax
dec esi
push esi
push eax
call fcn.0043f3c0
add esp, 0x14
test eax, eax
mov eax, dword [ebp - 0x90]
je 0x46a104
mov ebx, dword [ebp - 0x78]
mov edi, 3
jmp 0x46a141
test eax, eax
je 0x46a11d
mov ecx, dword [ebp - 0x7c]
test cl, 0x20
je 0x46a11a
mov ebx, dword [ebp - 0x78]
mov edi, 8
jmp 0x46a141
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x46a12a
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x46a137
mov dword [ebx + 0xc], eax
mov ebx, edi
jmp 0x46a180
mov eax, dword [ebp - 0x90]
push eax
mov dword [ebp - 0x78], ebx
call dword [0x4c5004]
push dword [ebp - 0x8c]
call dword [0x4c5004]
push dword [ebp - 0x88]
call dword [0x4c5004]
add esp, 0xc
test edi, edi
je 0x46a17d
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475c6f
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6e]
push eax
push str.__45_0123456789abcdefABCDEF:.__c_n
push edi
call fcn.00411690
add esp, 0x10
cmp eax, 1
jne 0x46a1fb
mov al, byte [ebp - 0x6e]
cmp al, 0x5d
jne 0x46a1a7
mov esi, dword [ebp - 0x80]
jmp 0x46a1d5
cmp al, 0x25
jne 0x46a1e5
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6e]
push eax
lea eax, [esi + ebx]
push str._____c_n
push eax
call fcn.00411690
add esp, 0x10
cmp eax, 1
jne 0x46a1e5
cmp byte [ebp - 0x6e], 0x5d
jne 0x46a1e5
add esi, dword [ebp - 0x80]
add esi, edi
test esi, esi
je 0x46a22d
mov al, byte [esi]
test al, al
je 0x46a22d
cmp al, 0x3a
je 0x46a20c
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475c6f
mov esp, ebp
pop ebp
ret
push 0x3a
push edi
call fcn.00477830
mov esi, eax
add esp, 8
test esi, esi
je 0x46a22d
mov al, byte [esi + 1]
lea edi, [esi + 1]
test al, al
jne 0x46a365
mov byte [esi], al
movzx eax, byte [ebp - 0x6d]
xor eax, 1
shl eax, 2
test eax, eax
jne 0x46a1ea
mov edi, dword [ebp - 0x78]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46a232
sub ecx, edx
jne 0x46a24c
mov ebx, dword [ebp - 0x7c]
test ebx, 0x400
jne 0x46a434
mov esi, edi
mov ebx, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x46a253
sub esi, ecx
cmp byte [edi], 0x5b
jne 0x46a400
cmp esi, 4
jb 0x46a1e5
sub esi, 2
lea ebx, [edi + 1]
mov dword [ebp - 0x80], ebx
cmp byte [esi + ebx], 0x5d
jne 0x46a1e5
push str.0123456789abcdefABCDEF:.
push ebx
call fcn.004887c0
add esp, 8
cmp esi, eax
je 0x46a342
mov esi, eax
add eax, ebx
mov dword [ebp - 0x98], eax
cmp byte [eax], 0x25
jne 0x46a1e5
push 2
lea edi, [eax + 1]
xor ebx, ebx
push 0x4acbfc
push edi
call fcn.004865d0
add esp, 0xc
test eax, eax
jne 0x46a2d3
mov cl, byte [edi + 2]
lea eax, [edi + 2]
test cl, cl
je 0x46a2d3
cmp cl, 0x5d
cmovne edi, eax
mov al, byte [edi]
test al, al
je 0x46a1e5
lea ecx, [ebp - 0x1c]
sub ecx, edi
cmp al, 0x5d
je 0x46a2f7
cmp ebx, 0xf
jge 0x46a2f7
mov byte [ecx + edi], al
inc ebx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x46a2e2
test ebx, ebx
je 0x46a1e5
cmp byte [edi], 0x5d
jne 0x46a1e5
cmp ebx, 0x10
jae 0x46a571
lea eax, [ebp - 0x1c]
mov byte [ebp + ebx - 0x1c], 0
push eax
call dword [0x4c500c]
mov ecx, dword [ebp - 0x74]
add esp, 4
mov dword [ecx + 0x14], eax
test eax, eax
je 0x46a3d4
mov eax, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
mov word [eax], 0x5d
lea eax, [ebp - 0x6c]
mov byte [esi + ebx], 0
push eax
push ebx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x46a1e5
mov byte [esi + ebx], 0x5d
jmp 0x46a416
movzx eax, al
push eax
call fcn.0046a6c0
add esp, 4
test eax, eax
je 0x46a3ea
push 0xa
lea eax, [ebp - 0x98]
push eax
push edi
call fcn.00486648
mov edi, eax
add esp, 0xc
lea ecx, [edi - 1]
cmp ecx, 0xfffe
ja 0x46a3ea
mov eax, dword [ebp - 0x98]
cmp byte [eax], 0
jne 0x46a3ea
push edi
mov byte [esi], 0
push 0x4a8c9c
mov byte [eax], 0
lea eax, [ebp - 0xc]
push 7
push eax
call fcn.004549d0
mov ebx, dword [ebp - 0x74]
lea eax, [ebp - 0xc]
push eax
mov dword [ebx + 0x30], edi
call dword [0x4c500c]
add esp, 0x14
mov dword [ebx + 0x18], eax
test eax, eax
jne 0x46a22a
pop edi
pop esi
mov eax, 7
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475c6f
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475c6f
mov esp, ebp
pop ebp
ret
push 0x4ab398
push edi
call fcn.0047c8b0
add esp, 8
cmp esi, eax
jne 0x46a1e5
cmp byte [ebx], 0
jne 0x46a431
pop edi
pop esi
mov eax, 0xe
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475c6f
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x7c]
push 0x11
lea eax, [ebp - 0x5c]
push eax
push edi
call fcn.004698d0
add esp, 0xc
test al, al
je 0x46a44d
lea eax, [ebp - 0x5c]
push eax
jmp 0x46a44e
push edi
call dword [0x4c500c]
mov esi, dword [ebp - 0x74]
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
je 0x46a3d4
test ebx, 0x200
je 0x46a53b
cmp dword [ebp - 0x94], 0
jne 0x46a53b
push 4
push edi
push str.ftp.
call fcn.00447cb0
add esp, 0xc
test eax, eax
je 0x46a49c
mov ecx, 0x4a7048
jmp 0x46a527
push 5
push edi
push str.dict.
call fcn.00447cb0
add esp, 0xc
test eax, eax
je 0x46a4b7
mov ecx, str.dict
jmp 0x46a527
push 5
push edi
push str.ldap.
call fcn.00447cb0
add esp, 0xc
test eax, eax
je 0x46a4d2
mov ecx, str.ldap
jmp 0x46a527
push 5
push edi
push str.imap.
call fcn.00447cb0
add esp, 0xc
test eax, eax
je 0x46a4ed
mov ecx, str.imap
jmp 0x46a527
push 5
push edi
push str.smtp.
call fcn.00447cb0
add esp, 0xc
test eax, eax
je 0x46a508
mov ecx, str.smtp
jmp 0x46a527
push 5
push edi
push str.pop3.
call fcn.00447cb0
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x4c500c]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x46a3d4
push dword [esi + 0x28]
call dword [0x4c5004]
push dword [esi + 0x2c]
mov dword [esi + 0x28], 0
call dword [0x4c5004]
mov ecx, dword [ebp - 4]
add esp, 8
mov dword [esi + 0x2c], 0
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.00475c6f
mov esp, ebp
pop ebp
ret
call fcn.0047626b
int3