Function at 0x10034250
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1006d860]
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 0x10034500
mov bl, byte [edi]
test bl, bl
je 0x10034500
test esi, esi
je 0x10034500
cmp byte [esi], 0
je 0x10034500
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x10c], eax
mov eax, 0x100703fc
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100342d0
test dl, dl
je 0x100342cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100342d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100342b0
xor eax, eax
jmp 0x100342d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100342ec
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10052617
mov esp, ebp
pop ebp
ret
cmp bl, 0x5b
jne 0x1003434d
push 0x5d
push edi
call fcn.10053ef0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10034500
inc edi
sub ebx, edi
mov dword [ebp - 0x110], ebx
cmp ebx, 0x80
jae 0x10034500
push ebx
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.10053530
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 0x1003438e
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10034352
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 0x1003437e
mov dword [ebp - 0x10c], eax
jmp 0x1003438c
cmp byte [edi + ebx - 1], 0x2e
jne 0x1003438c
dec ebx
mov dword [ebp - 0x110], ebx
mov edx, edi
cmp byte [esi], 0
je 0x10034500
mov al, byte [esi]
xor edi, edi
test al, al
je 0x100343b0
nop
cmp al, 0x20
je 0x100343a8
cmp al, 9
jne 0x100343b0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100343a0
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x100344c2
lea esp, [esp]
cmp al, 0x20
je 0x100343d5
cmp al, 9
je 0x100343d5
cmp al, 0x2c
je 0x100343d5
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
jne 0x100343c0
test edi, edi
je 0x100344c2
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x1003446b
dec eax
cmp eax, 1
ja 0x100344c2
xor ebx, ebx
cmp edi, 0x80
jae 0x100344c2
push edi
push ecx
lea eax, [ebp - 0x84]
push eax
call fcn.10053530
lea eax, [ebp - 0x84]
mov byte [ebp + edi - 0x84], bl
push 0x2f
push eax
call fcn.10053ef0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10034440
lea ecx, [edi + 1]
push ecx
call fcn.100565e5
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 0x10034461
call fcn.100345c0
add esp, 0xc
jmp 0x100344ba
call fcn.10034520
add esp, 0xc
jmp 0x100344ba
cmp byte [ecx + edi - 1], 0x2e
jne 0x10034473
dec edi
test edi, edi
je 0x1003447e
cmp byte [ecx], 0x2e
jne 0x1003447e
inc ecx
dec edi
cmp edi, ebx
jne 0x1003448f
push ebx
push edx
push ecx
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
jmp 0x100344b5
jae 0x100344c2
mov eax, edx
sub eax, edi
add eax, ebx
cmp byte [eax - 1], 0x2e
jne 0x100344b3
push edi
push eax
push ecx
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100344b3
mov eax, 1
jmp 0x100344b5
xor eax, eax
test eax, eax
setne al
test al, al
jne 0x100342d9
mov al, byte [esi]
cmp al, 0x20
je 0x100344cc
cmp al, 9
jne 0x100344cf
inc esi
jmp 0x100344c2
mov al, byte [esi]
test al, al
je 0x100344ea
cmp al, 0x2c
je 0x100344e4
mov eax, dword [ebp - 0x114]
mov byte [eax], 1
jmp 0x100344ea
inc esi
cmp byte [esi], 0x2c
je 0x100344e4
cmp byte [esi], 0
je 0x10034500
mov ebx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x108]
jmp 0x10034397
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10052617
mov esp, ebp
pop ebp
ret