Function at 0x4431e0
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x114
mov eax, dword [0x4a0368]
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 0x44345a
mov bl, byte [edi]
test bl, bl
je 0x44345a
test esi, esi
je 0x44345a
cmp byte [esi], 0
je 0x44345a
xor eax, eax
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, 0x48184c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x443268
test dl, dl
je 0x443264
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x443268
add eax, 2
add ecx, 2
test dl, dl
jne 0x443248
xor eax, eax
jmp 0x44326d
sbb eax, eax
or eax, 1
test eax, eax
je 0x443475
cmp bl, 0x5b
jne 0x4432cd
push 0x5d
push edi
call fcn.0045ab10
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x44345a
inc edi
sub ebp, edi
cmp ebp, 0x80
jae 0x44345a
push ebp
lea eax, [esp + 0xa4]
push edi
push eax
call fcn.0045ac40
lea ebx, [esp + 0xac]
mov byte [esp + ebp + 0xac], 0
add esp, 0xc
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 2
jmp 0x4432ff
mov ebp, edi
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x4432d2
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 0x4432f5
mov dword [esp + 0x14], eax
jmp 0x4432fd
cmp byte [edi + ebp - 1], 0x2e
jne 0x4432fd
dec ebp
mov ebx, edi
mov al, byte [esi]
test al, al
je 0x44345a
nop dword [eax]
xor edi, edi
test al, al
je 0x44332e
mov cl, al
cmp cl, 0x20
je 0x443324
mov al, cl
cmp cl, 9
jne 0x44332e
mov al, byte [esi + 1]
inc esi
mov cl, al
test al, al
jne 0x443318
mov edx, esi
test al, al
je 0x443422
cmp al, 0x20
je 0x44334d
cmp al, 9
je 0x44334d
cmp al, 0x2c
je 0x44334d
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
jne 0x443338
test edi, edi
je 0x443422
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4433cb
xor ebx, ebx
cmp edi, 0x80
jae 0x443422
push edi
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0045ac40
lea eax, [esp + 0x2c]
mov byte [esp + edi + 0x2c], bl
push 0x2f
push eax
call fcn.0045ab10
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4433a1
lea ecx, [edi + 1]
push ecx
call fcn.0046597f
add esp, 4
mov byte [edi], 0
mov ebx, eax
cmp dword [esp + 0x14], 2
lea eax, [esp + 0x20]
push ebx
push eax
jne 0x4433bd
mov ebx, dword [esp + 0x18]
push ebx
call fcn.00443520
add esp, 0xc
jmp 0x44341e
push dword [esp + 0x18]
call fcn.00443480
add esp, 0xc
jmp 0x44341e
cmp byte [edx + edi - 1], 0x2e
lea eax, [edi - 1]
cmovne eax, edi
mov ecx, eax
test eax, eax
je 0x4433e5
cmp byte [edx], 0x2e
jne 0x4433e5
inc edx
lea ecx, [eax - 1]
cmp ecx, ebp
jne 0x4433fb
push ebp
push ebx
push edx
call fcn.0041cd30
add esp, 0xc
test eax, eax
setne al
jmp 0x44341e
jae 0x443422
mov eax, ebx
sub eax, ecx
add eax, ebp
cmp byte [eax - 1], 0x2e
jne 0x44341c
push ecx
push eax
push edx
call fcn.0041cd30
add esp, 0xc
test eax, eax
je 0x44341c
mov al, 1
jmp 0x44341e
xor al, al
test al, al
jne 0x443475
mov al, byte [esi]
cmp al, 0x20
je 0x44342c
cmp al, 9
jne 0x44342f
inc esi
jmp 0x443422
test al, al
je 0x443442
cmp al, 0x2c
je 0x443446
mov eax, dword [esp + 0x18]
mov byte [eax], 1
mov al, byte [esi]
jmp 0x44344e
cmp al, 0x2c
jne 0x44344e
mov al, byte [esi + 1]
inc esi
cmp al, 0x2c
je 0x443446
mov ebx, dword [esp + 0x10]
test al, al
jne 0x443310
xor al, al
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00459004
add esp, 0x114
ret
mov al, 1
jmp 0x44345c