Function at 0x100639d0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
mov eax, dword [0x100dbe80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1a8], eax
add eax, eax
push edi
mov dword [ebp - 0x1ac], 0xffffffff
mov edi, 0x1c8
cmp dword [esi + 0xb8], 2
lea ecx, [esi + 0x154]
lea edx, [esi + eax*8]
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x198], ecx
jne 0x10063a47
cmp dword [ecx], 0xffffffff
mov eax, 0x1b8
cmovne eax, edi
cmp dword [eax + esi], 2
je 0x10063a47
mov eax, dword [esi + 0xac]
jmp 0x10063a50
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x198], ecx
mov edi, dword [edx + 0x1a0]
push 1
push 2
push 0
push 1
push 5
mov dword [ebp - 0x1a4], eax
call fcn.10079f10
add esp, 0x14
cmp byte [esi + 0x27b], 0
je 0x10063aab
push str.wine_get_version
push 0x100bea50
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10063aab
push 3
push 2
push eax
push 3
push 6
call fcn.10079f10
add esp, 0x14
test al, al
je 0x10063aab
mov al, 1
jmp 0x10063aad
xor al, al
mov byte [edi + 0x46], al
mov edx, 0x1c8
mov ecx, dword [esi + 0xb8]
cmp ecx, 2
jne 0x10063adc
cmp dword [esi + 0x154], 0xffffffff
mov eax, 0x1b8
cmovne eax, edx
cmp dword [eax + esi], ecx
je 0x10063adc
mov eax, dword [esi + 0x228]
jmp 0x10063ae2
mov eax, dword [esi + 0x1e8]
test eax, eax
jne 0x10063b18
cmp ecx, 2
jne 0x10063b0a
mov ecx, dword [ebp - 0x198]
mov eax, 0x1b8
cmp dword [ecx], 0xffffffff
cmovne eax, edx
cmp dword [eax + esi], 2
je 0x10063b0a
mov eax, dword [esi + 0x248]
jmp 0x10063b10
mov eax, dword [esi + 0x208]
test eax, eax
jne 0x10063b18
xor al, al
jmp 0x10063b34
push 3
push 2
push 0
push 1
push 6
call fcn.10079f10
add esp, 0x14
test al, al
je 0x10063fbd
mov al, 1
mov byte [edi + 0x47], al
mov dword [edi], 0
cmp dword [esi + 0xb8], 2
jne 0x10063b6a
mov ecx, dword [ebp - 0x198]
mov eax, 0x1b8
cmp dword [ecx], 0xffffffff
mov ecx, 0x1c8
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x10063b6a
mov al, byte [ebx + 0x494]
jmp 0x10063b70
mov al, byte [ebx + 0x42c]
test al, al
je 0x10063bfa
push ebx
call fcn.10047d00
add esp, 4
cmp dword [esi + 0xb8], 2
jne 0x10063bad
mov ecx, dword [ebp - 0x198]
mov eax, 0x1b8
mov byte [ebp - 0x19c], 1
cmp dword [ecx], 0xffffffff
mov ecx, 0x1c8
cmovne eax, ecx
cmp dword [eax + esi], 2
jne 0x10063bb4
mov byte [ebp - 0x19c], 0
push dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a0]
push 0
push eax
push dword [ebp - 0x19c]
push esi
push ebx
call fcn.10047880
add esp, 0x18
test al, al
jne 0x10063be8
mov eax, dword [ebp - 0x1a0]
mov dword [edi], eax
mov eax, dword [ebp - 0x1a0]
inc dword [eax + 0x14]
push ebx
call fcn.10047d30
add esp, 4
cmp dword [edi], 0
jne 0x10063c90
push dword [ebp - 0x1a8]
push esi
push ebx
call fcn.10062b70
add esp, 0xc
test eax, eax
jne 0x10063fd0
cmp dword [esi + 0xb8], 2
jne 0x10063c3f
mov ecx, dword [ebp - 0x198]
mov eax, 0x1b8
cmp dword [ecx], 0xffffffff
mov ecx, 0x1c8
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x10063c3f
mov eax, dword [esi + 0xac]
jmp 0x10063c42
mov eax, dword [esi + 0x64]
push 0
push eax
push ebx
call fcn.10047dd0
add esp, 0xc
test eax, eax
jne 0x10063c76
push str.Failed_to_set_SNI
push ebx
call fcn.1004c930
add esp, 8
mov eax, 0x23
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c2f5
mov esp, ebp
pop ebp
ret
push eax
call fcn.100a3db0
mov ecx, dword [edi]
add esp, 4
mov dword [ecx + 0x10], eax
mov eax, dword [edi]
cmp dword [eax + 0x10], 0
je 0x10063efd
lea eax, [ebp - 0x1e4]
push eax
push dword [ebp - 0x1a4]
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x10063cbe
lea eax, [ebp - 0x194]
push eax
push dword [ebp - 0x1a4]
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp byte [edi + 0x46], 0
je 0x10063d19
push 9
mov dword [ebp - 0x80], 2
mov byte [ebp - 0x7a], 8
mov dword [ebp - 0x79], 0x70747468
mov dword [ebp - 0x75], 0x312e312f
call fcn.1004f220
mov word [ebp - 0x7c], ax
add esp, 4
movzx eax, ax
add eax, 6
mov dword [ebp - 0x1b8], 0x13
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x1b4], 0x12
mov dword [ebp - 0x1b0], eax
jmp 0x10063d37
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1dc], 1
mov dword [edi + 0x38], 0x811c
cmp dword [esi + 0xb8], 2
jne 0x10063dc9
mov eax, dword [ebp - 0x198]
mov ecx, 0x1c8
cmp dword [eax], 0xffffffff
mov eax, 0x1b8
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x10063dc9
mov cl, byte [ebx + 0x4bf]
jmp 0x10063dcf
mov cl, byte [ebx + 0x457]
mov eax, dword [edi + 0x38]
test cl, cl
mov edx, 0x819c
cmove eax, edx
push 0x10
push 1
mov dword [edi + 0x38], eax
call dword [0x100dbe48]
mov edx, eax
add esp, 8
mov dword [edi + 4], edx
test edx, edx
jne 0x10063e19
push str.schannel:_unable_to_allocate_memory
push ebx
call fcn.1004c930
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c2f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
lea eax, [edx + 8]
push eax
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 0x1e0]
push eax
push edx
xor edx, edx
lea eax, [ebp - 0x1d0]
cmp byte [edi + 0x46], dl
push 0
cmove eax, edx
push eax
mov eax, dword [0x100dcfc8]
push edx
push edx
push dword [edi + 0x38]
mov eax, dword [eax + 0x18]
push dword [ecx + 0x10]
push edx
push ecx
call eax
mov dword [ebp - 0x19c], eax
cmp eax, 0x90312
je 0x10063f13
push dword [edi + 4]
call dword [0x100dbe3c]
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x184]
add esp, 4
mov dword [edi + 4], 0
push 0x100
push ecx
push eax
cmp eax, 0x80090300
je 0x10063ee9
cmp eax, 0x80090322
je 0x10063ebf
call fcn.10079820
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push ebx
call fcn.1004c930
add esp, 0x18
mov eax, 0x23
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c2f5
mov esp, ebp
pop ebp
ret
call fcn.10079820
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
push ebx
call fcn.1004c930
add esp, 0x18
mov eax, 0x3c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c2f5
mov esp, ebp
pop ebp
ret
call fcn.10079820
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push ebx
call fcn.1004c930
add esp, 0x18
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c2f5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1ac]
push eax
push dword [ebp - 0x1c4]
mov eax, dword [ebp - 0x1a8]
push dword [ebp - 0x1bc]
push dword [esi + eax*4 + 0x150]
push ebx
call fcn.1004ce60
mov ecx, dword [0x100dcfc8]
add esp, 0x14
mov esi, eax
push dword [ebp - 0x1bc]
mov ecx, dword [ecx + 0x40]
call ecx
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1c4]
test esi, esi
jne 0x10063f97
cmp ecx, eax
jne 0x10063f97
mov eax, dword [ebp - 0x1d4]
mov dword [edi + 0x40], 0
mov word [edi + 0x44], 0
mov byte [edi + 0x34], 0
pop edi
pop esi
mov dword [eax + 0x19c], 1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c2f5
mov esp, ebp
pop ebp
ret
push ecx
push eax
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
push ebx
call fcn.1004c930
add esp, 0x10
mov eax, 0x23
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c2f5
mov esp, ebp
pop ebp
ret
push str.schannel:_this_version_of_Windows_is_too_old_to_support_certificate_verification_via_CA_bundle_file.
push ebx
call fcn.1004c930
mov eax, 0x4d
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008c2f5
mov esp, ebp
pop ebp
ret