Function at 0x100345a0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1007e7e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x108], edi
mov dword [ebp - 0x114], eax
mov byte [eax], 0
test edi, edi
je 0x10034850
mov bl, byte [edi]
test bl, bl
je 0x10034850
test esi, esi
je 0x10034850
cmp byte [esi], 0
je 0x10034850
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x10c], eax
mov eax, 0x1006baec
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10034620
test dl, dl
je 0x1003461c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10034620
add eax, 2
add ecx, 2
test dl, dl
jne 0x10034600
xor eax, eax
jmp 0x10034625
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003463c
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100526c8
mov esp, ebp
pop ebp
ret
cmp bl, 0x5b
jne 0x1003469d
push 0x5d
push edi
call fcn.100542b0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10034850
inc edi
sub ebx, edi
mov dword [ebp - 0x110], ebx
cmp ebx, 0x80
jae 0x10034850
push ebx
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.100538f0
lea edx, [ebp - 0x104]
mov byte [ebp + ebx - 0x104], 0
mov eax, 2
mov dword [ebp - 0x108], edx
add esp, 0xc
mov dword [ebp - 0x10c], eax
jmp 0x100346de
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100346a2
lea eax, [ebp - 0x118]
sub ebx, ecx
push eax
push edi
push 2
mov dword [ebp - 0x110], ebx
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x100346ce
mov dword [ebp - 0x10c], eax
jmp 0x100346dc
cmp byte [edi + ebx - 1], 0x2e
jne 0x100346dc
dec ebx
mov dword [ebp - 0x110], ebx
mov edx, edi
cmp byte [esi], 0
je 0x10034850
mov al, byte [esi]
xor edi, edi
test al, al
je 0x10034700
nop
cmp al, 0x20
je 0x100346f8
cmp al, 9
jne 0x10034700
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100346f0
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x10034812
lea esp, [esp]
cmp al, 0x20
je 0x10034725
cmp al, 9
je 0x10034725
cmp al, 0x2c
je 0x10034725
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
jne 0x10034710
test edi, edi
je 0x10034812
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x100347bb
dec eax
cmp eax, 1
ja 0x10034812
xor ebx, ebx
cmp edi, 0x80
jae 0x10034812
push edi
push ecx
lea eax, [ebp - 0x84]
push eax
call fcn.100538f0
lea eax, [ebp - 0x84]
mov byte [ebp + edi - 0x84], bl
push 0x2f
push eax
call fcn.100542b0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10034790
lea ecx, [edi + 1]
push ecx
call fcn.10056b05
add esp, 4
mov byte [edi], 0
mov ebx, eax
cmp dword [ebp - 0x10c], 2
lea eax, [ebp - 0x84]
push ebx
push eax
push dword [ebp - 0x108]
jne 0x100347b1
call fcn.10034910
add esp, 0xc
jmp 0x1003480a
call fcn.10034870
add esp, 0xc
jmp 0x1003480a
cmp byte [ecx + edi - 1], 0x2e
jne 0x100347c3
dec edi
test edi, edi
je 0x100347ce
cmp byte [ecx], 0x2e
jne 0x100347ce
inc ecx
dec edi
cmp edi, ebx
jne 0x100347df
push ebx
push edx
push ecx
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
jmp 0x10034805
jae 0x10034812
mov eax, edx
sub eax, edi
add eax, ebx
cmp byte [eax - 1], 0x2e
jne 0x10034803
push edi
push eax
push ecx
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10034803
mov eax, 1
jmp 0x10034805
xor eax, eax
test eax, eax
setne al
test al, al
jne 0x10034629
mov al, byte [esi]
cmp al, 0x20
je 0x1003481c
cmp al, 9
jne 0x1003481f
inc esi
jmp 0x10034812
mov al, byte [esi]
test al, al
je 0x1003483a
cmp al, 0x2c
je 0x10034834
mov eax, dword [ebp - 0x114]
mov byte [eax], 1
jmp 0x1003483a
inc esi
cmp byte [esi], 0x2c
je 0x10034834
cmp byte [esi], 0
je 0x10034850
mov ebx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x108]
jmp 0x100346e7
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100526c8
mov esp, ebp
pop ebp
ret