Function at 0x100344f0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1007e820]
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 0x100347a0
mov bl, byte [edi]
test bl, bl
je 0x100347a0
test esi, esi
je 0x100347a0
cmp byte [esi], 0
je 0x100347a0
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x10c], eax
mov eax, 0x1006bb0c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10034570
test dl, dl
je 0x1003456c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10034570
add eax, 2
add ecx, 2
test dl, dl
jne 0x10034550
xor eax, eax
jmp 0x10034575
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003458c
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100528f7
mov esp, ebp
pop ebp
ret
cmp bl, 0x5b
jne 0x100345ed
push 0x5d
push edi
call fcn.100542e0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100347a0
inc edi
sub ebx, edi
mov dword [ebp - 0x110], ebx
cmp ebx, 0x80
jae 0x100347a0
push ebx
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.10053390
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 0x1003462e
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100345f2
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 0x1003461e
mov dword [ebp - 0x10c], eax
jmp 0x1003462c
cmp byte [edi + ebx - 1], 0x2e
jne 0x1003462c
dec ebx
mov dword [ebp - 0x110], ebx
mov edx, edi
cmp byte [esi], 0
je 0x100347a0
mov al, byte [esi]
xor edi, edi
test al, al
je 0x10034650
nop
cmp al, 0x20
je 0x10034648
cmp al, 9
jne 0x10034650
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10034640
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x10034762
lea esp, [esp]
cmp al, 0x20
je 0x10034675
cmp al, 9
je 0x10034675
cmp al, 0x2c
je 0x10034675
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
jne 0x10034660
test edi, edi
je 0x10034762
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x1003470b
dec eax
cmp eax, 1
ja 0x10034762
xor ebx, ebx
cmp edi, 0x80
jae 0x10034762
push edi
push ecx
lea eax, [ebp - 0x84]
push eax
call fcn.10053390
lea eax, [ebp - 0x84]
mov byte [ebp + edi - 0x84], bl
push 0x2f
push eax
call fcn.100542e0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100346e0
lea ecx, [edi + 1]
push ecx
call fcn.10056ab5
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 0x10034701
call fcn.10034860
add esp, 0xc
jmp 0x1003475a
call fcn.100347c0
add esp, 0xc
jmp 0x1003475a
cmp byte [ecx + edi - 1], 0x2e
jne 0x10034713
dec edi
test edi, edi
je 0x1003471e
cmp byte [ecx], 0x2e
jne 0x1003471e
inc ecx
dec edi
cmp edi, ebx
jne 0x1003472f
push ebx
push edx
push ecx
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
jmp 0x10034755
jae 0x10034762
mov eax, edx
sub eax, edi
add eax, ebx
cmp byte [eax - 1], 0x2e
jne 0x10034753
push edi
push eax
push ecx
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10034753
mov eax, 1
jmp 0x10034755
xor eax, eax
test eax, eax
setne al
test al, al
jne 0x10034579
mov al, byte [esi]
cmp al, 0x20
je 0x1003476c
cmp al, 9
jne 0x1003476f
inc esi
jmp 0x10034762
mov al, byte [esi]
test al, al
je 0x1003478a
cmp al, 0x2c
je 0x10034784
mov eax, dword [ebp - 0x114]
mov byte [eax], 1
jmp 0x1003478a
inc esi
cmp byte [esi], 0x2c
je 0x10034784
cmp byte [esi], 0
je 0x100347a0
mov ebx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x108]
jmp 0x10034637
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100528f7
mov esp, ebp
pop ebp
ret