Function at 0x4445d0
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x114
mov eax, dword [0x4a237c]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x120]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x128]
push edi
mov edi, dword [esp + 0x128]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
mov byte [eax], 0
test edi, edi
je 0x44484a
mov bl, byte [edi]
test bl, bl
je 0x44484a
test esi, esi
je 0x44484a
cmp byte [esi], 0
je 0x44484a
xor eax, eax
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, 0x48289c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x444658
test dl, dl
je 0x444654
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x444658
add eax, 2
add ecx, 2
test dl, dl
jne 0x444638
xor eax, eax
jmp 0x44465d
sbb eax, eax
or eax, 1
test eax, eax
je 0x444865
cmp bl, 0x5b
jne 0x4446bd
push 0x5d
push edi
call fcn.0045c4b0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x44484a
inc edi
sub ebp, edi
cmp ebp, 0x80
jae 0x44484a
push ebp
lea eax, [esp + 0xa4]
push edi
push eax
call fcn.0045c5e0
lea ebx, [esp + 0xac]
mov byte [esp + ebp + 0xac], 0
add esp, 0xc
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 2
jmp 0x4446ef
mov ebp, edi
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x4446c2
lea eax, [esp + 0x1c]
sub ebp, ecx
push eax
push edi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x4446e5
mov dword [esp + 0x14], eax
jmp 0x4446ed
cmp byte [edi + ebp - 1], 0x2e
jne 0x4446ed
dec ebp
mov ebx, edi
mov al, byte [esi]
test al, al
je 0x44484a
nop dword [eax]
xor edi, edi
test al, al
je 0x44471e
mov cl, al
cmp cl, 0x20
je 0x444714
mov al, cl
cmp cl, 9
jne 0x44471e
mov al, byte [esi + 1]
inc esi
mov cl, al
test al, al
jne 0x444708
mov edx, esi
test al, al
je 0x444812
cmp al, 0x20
je 0x44473d
cmp al, 9
je 0x44473d
cmp al, 0x2c
je 0x44473d
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
jne 0x444728
test edi, edi
je 0x444812
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4447bb
xor ebx, ebx
cmp edi, 0x80
jae 0x444812
push edi
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0045c5e0
lea eax, [esp + 0x2c]
mov byte [esp + edi + 0x2c], bl
push 0x2f
push eax
call fcn.0045c4b0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x444791
lea ecx, [edi + 1]
push ecx
call fcn.004683e8
add esp, 4
mov byte [edi], 0
mov ebx, eax
cmp dword [esp + 0x14], 2
lea eax, [esp + 0x20]
push ebx
push eax
jne 0x4447ad
mov ebx, dword [esp + 0x18]
push ebx
call fcn.00444910
add esp, 0xc
jmp 0x44480e
push dword [esp + 0x18]
call fcn.00444870
add esp, 0xc
jmp 0x44480e
cmp byte [edx + edi - 1], 0x2e
lea eax, [edi - 1]
cmovne eax, edi
mov ecx, eax
test eax, eax
je 0x4447d5
cmp byte [edx], 0x2e
jne 0x4447d5
inc edx
lea ecx, [eax - 1]
cmp ecx, ebp
jne 0x4447eb
push ebp
push ebx
push edx
call fcn.0041e150
add esp, 0xc
test eax, eax
setne al
jmp 0x44480e
jae 0x444812
mov eax, ebx
sub eax, ecx
add eax, ebp
cmp byte [eax - 1], 0x2e
jne 0x44480c
push ecx
push eax
push edx
call fcn.0041e150
add esp, 0xc
test eax, eax
je 0x44480c
mov al, 1
jmp 0x44480e
xor al, al
test al, al
jne 0x444865
mov al, byte [esi]
cmp al, 0x20
je 0x44481c
cmp al, 9
jne 0x44481f
inc esi
jmp 0x444812
test al, al
je 0x444832
cmp al, 0x2c
je 0x444836
mov eax, dword [esp + 0x18]
mov byte [eax], 1
mov al, byte [esi]
jmp 0x44483e
cmp al, 0x2c
jne 0x44483e
mov al, byte [esi + 1]
inc esi
cmp al, 0x2c
je 0x444836
mov ebx, dword [esp + 0x10]
test al, al
jne 0x444700
xor al, al
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045a753
add esp, 0x114
ret
mov al, 1
jmp 0x44484c