Function at 0x101a9460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x268
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x27c]
mov eax, dword [edi + 0x834]
xor ebp, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
mov dword [edi + 0x840], ebp
mov dword [esp + 0x18], eax
cmp eax, ebp
je 0x101a981b
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx]
cmp esi, ebp
je 0x101a9806
cmp byte [esi], 0x2d
jne 0x101a9566
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x70]
push ecx
push str._255_:_:_d
inc esi
push esi
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0x10
cmp eax, 2
je 0x101a94ed
mov edx, dword [ebx]
push edx
push str.Couldnt_parse_CURLOPT_RESOLVE_removal_entry__s__n
push edi
call fcn.1017f0b0
add esp, 0xc
jmp 0x101a9806
mov eax, dword [esp + 0x10]
push 0x106
push eax
lea eax, [esp + 0x174]
lea ecx, [esp + 0x74]
call fcn.101a8e80
lea eax, [esp + 0x174]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101a9514
sub eax, edx
mov esi, eax
cmp dword [edi + 0x84], ebp
je 0x101a9534
push 2
push 3
push edi
call fcn.10187530
add esp, 0xc
mov edx, dword [edi + 0x74]
inc esi
push esi
lea ecx, [esp + 0x170]
push ecx
push edx
call fcn.101ace60
add esp, 0xc
cmp dword [edi + 0x84], ebp
je 0x101a9806
push 3
push edi
call fcn.10187580
add esp, 8
jmp 0x101a9806
xor ebx, ebx
cmp byte [esi], 0x2b
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 1
jne 0x101a957e
inc esi
mov dword [esp + 0x24], ebp
push 0x3a
push esi
call dword [sym.imp.MSVCR100.dll_strchr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x101a9693
mov edi, ebp
sub edi, esi
cmp edi, 0x100
jge 0x101a968f
push edi
lea eax, [esp + 0x70]
push esi
push eax
call sub.MSVCR100.dll_memcpy
push 0xa
lea ecx, [esp + 0x2c]
push ecx
lea esi, [ebp + 1]
push esi
mov byte [esp + edi + 0x84], bl
call dword [sym.imp.MSVCR100.dll_strtoul]
add esp, 0x18
cmp eax, 0xffff
ja 0x101a968f
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x101a968f
cmp byte [ecx], 0x3a
jne 0x101a968f
mov dword [esp + 0x10], eax
lea edx, [ecx + 1]
mov dword [esp + 0x28], edx
cmp byte [ecx], bl
je 0x101a968f
mov edi, edi
lea esi, [ecx + 1]
push 0x2c
push esi
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
jne 0x101a9623
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101a9618
sub eax, edx
add eax, esi
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp byte [esi], 0x5b
jne 0x101a963a
cmp eax, esi
je 0x101a968f
cmp byte [eax - 1], 0x5d
jne 0x101a968f
inc esi
dec eax
sub eax, esi
mov edi, eax
je 0x101a967f
cmp edi, 0x40
jae 0x101a968f
push edi
lea eax, [esp + 0x30]
push esi
push eax
call sub.MSVCR100.dll_memcpy
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + edi + 0x40], 0
call fcn.10187e00
add esp, 0x14
test eax, eax
je 0x101a96b4
test ebx, ebx
je 0x101a9675
mov dword [ebx + 0x1c], eax
jmp 0x101a9679
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov ebx, eax
cmp byte [ecx], 0
jne 0x101a9600
cmp dword [esp + 0x20], 0
jne 0x101a96cd
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push eax
push str.Couldnt_parse_CURLOPT_RESOLVE_entry__s__n
push edi
call fcn.1017f0b0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.101879b0
jmp 0x101a9803
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push str.Resolve_address__s_found_illegal__n
push ecx
call fcn.1017f0b0
add esp, 0xc
jmp 0x101a968f
mov edx, dword [esp + 0x10]
push 0x106
push edx
lea eax, [esp + 0x174]
lea ecx, [esp + 0x74]
call fcn.101a8e80
lea eax, [esp + 0x174]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101a96f4
mov edi, dword [esp + 0x14]
sub eax, edx
xor ebp, ebp
mov esi, eax
cmp dword [edi + 0x84], ebp
je 0x101a971a
push 2
push 3
push edi
call fcn.10187530
add esp, 0xc
mov ecx, dword [edi + 0x74]
inc esi
push esi
lea eax, [esp + 0x170]
push eax
push ecx
call fcn.101acee0
add esp, 0xc
test eax, eax
je 0x101a975e
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x70]
push eax
push str.RESOLVE__s:_d_is___old_addresses_discarded__n
push edi
call fcn.1017f0b0
mov edx, dword [edi + 0x74]
push esi
lea ecx, [esp + 0x180]
push ecx
push edx
call fcn.101ace60
add esp, 0x1c
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x70]
push ecx
push ebx
push edi
call fcn.101a92a0
mov esi, eax
add esp, 0x10
cmp esi, ebp
je 0x101a978b
cmp dword [esp + 0x24], ebp
je 0x101a9788
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
dec dword [esi + 0x10]
cmp dword [edi + 0x84], ebp
je 0x101a979e
push 3
push edi
call fcn.10187580
add esp, 8
cmp esi, ebp
je 0x101a983c
mov eax, 0x1024cb20
cmp dword [esp + 0x24], ebp
jne 0x101a97b6
mov eax, str.__non_permanent_
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x78]
push ecx
push str.Added__s:_d:_s_to_DNS_cache_s_n
push edi
call fcn.1017f0b0
add esp, 0x18
cmp byte [esp + 0x6c], 0x2a
jne 0x101a9806
cmp byte [esp + 0x6d], 0
jne 0x101a9806
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x70]
push eax
push str.RESOLVE__s:_d_is_wildcard__enabling_wildcard_checks_n
mov esi, edi
push esi
call fcn.1017f0b0
mov dword [esi + 0x840], 1
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
xor ebp, ebp
mov dword [esp + 0x18], eax
cmp eax, ebp
jne 0x101a94a1
mov dword [edi + 0x834], ebp
xor eax, eax
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ce9e2
add esp, 0x268
ret
push ebx
call fcn.101879b0
add esp, 4
mov eax, 0x1b
jmp 0x101a9823