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

Disassembly:
sub esp, 0x268
mov eax, dword [0x759990]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
mov ebx, dword [esp + 0x270]
push ebp
push esi
push edi
mov ebp, dword [ebx + 0xc94]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov byte [ebx + 0xd27], 0
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x66824c
mov esi, dword [ebp]
test esi, esi
je 0x66823d
cmp byte [esi], 0x2d
jne 0x667fc3
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esi + 1]
push str._255_:_:_d
push eax
call fcn.00626bd4
add esp, 0x10
cmp eax, 2
je 0x667f4e
push dword [ebp]
push str.Couldnt_parse_CURLOPT_RESOLVE_removal_entry__s
push ebx
call fcn.0065f950
add esp, 0xc
jmp 0x66823d
push 0x106
lea eax, [esp + 0x170]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
call fcn.00668900
lea esi, [esp + 0x17c]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x667f76
sub esi, ecx
cmp dword [ebx + 0x78], 0
je 0x667f92
push 2
push 3
push ebx
call fcn.00664290
add esp, 0xc
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x170]
push eax
push dword [ebx + 0x68]
call fcn.006678d0
add esp, 0xc
cmp dword [ebx + 0x78], 0
je 0x66823d
push 3
push ebx
call fcn.006642d0
add esp, 8
jmp 0x66823d
xor ebp, ebp
mov dword [esp + 0x1c], 0
cmp byte [esi], 0x2b
mov byte [esp + 0x13], 1
jne 0x667fdd
inc esi
mov byte [esp + 0x13], 0
push 0x3a
push esi
call fcn.00626500
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x6682a9
mov edi, ebx
sub edi, esi
cmp edi, 0x100
jge 0x6682a9
push edi
lea eax, [esp + 0x70]
push esi
push eax
call fcn.00620420
add esp, 0xc
cmp edi, 0x100
jae 0x6682d2
push 0xa
lea eax, [esp + 0x28]
mov byte [esp + edi + 0x70], 0
push eax
inc ebx
push ebx
call fcn.00635198
add esp, 0xc
cmp eax, 0xffff
ja 0x6682a9
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x6682a9
cmp byte [ecx], 0x3a
jne 0x6682a9
mov dword [esp + 0x18], eax
lea eax, [ecx + 1]
cmp byte [ecx], 0
mov dword [esp + 0x28], eax
je 0x6682a9
lea edi, [ecx + 1]
push 0x2c
push edi
call fcn.00626500
mov esi, eax
add esp, 8
test esi, esi
jne 0x66808c
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x668080
sub eax, edx
lea esi, [eax + edi]
mov ecx, esi
mov dword [esp + 0x24], ecx
cmp byte [edi], 0x5b
jne 0x6680aa
cmp esi, edi
je 0x6682a9
dec esi
cmp byte [esi], 0x5d
jne 0x6682a9
inc edi
sub esi, edi
je 0x6680f2
cmp esi, 0x40
jae 0x6682a9
push esi
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00620420
push dword [esp + 0x24]
lea eax, [esp + 0x3c]
mov byte [esp + esi + 0x3c], 0
push eax
call fcn.00674020
add esp, 0x14
test eax, eax
je 0x668280
test ebp, ebp
je 0x668271
mov dword [ebp + 0x1c], eax
mov ebp, eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp byte [ecx], 0
jne 0x668067
test eax, eax
je 0x6682a9
push 0x106
lea eax, [esp + 0x170]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
call fcn.00668900
lea esi, [esp + 0x17c]
add esp, 0x10
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x668130
mov ebx, dword [esp + 0x14]
sub esi, ecx
cmp dword [ebx + 0x78], 0
je 0x668150
push 2
push 3
push ebx
call fcn.00664290
add esp, 0xc
inc esi
lea eax, [esp + 0x16c]
push esi
push eax
push dword [ebx + 0x68]
call fcn.00667a30
add esp, 0xc
test eax, eax
je 0x668191
push dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push str.RESOLVE__s:_d_is___old_addresses_discarded
push ebx
call fcn.0065f950
push esi
lea eax, [esp + 0x180]
push eax
push dword [ebx + 0x68]
call fcn.006678d0
add esp, 0x1c
push dword [esp + 0x18]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x70]
push eax
push edi
push ebx
call fcn.00667bb0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6681c6
cmp byte [esp + 0x13], 0
je 0x6681c3
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
dec dword [esi + 0x10]
cmp dword [ebx + 0x78], 0
je 0x6681d7
push 3
push ebx
call fcn.006642d0
add esp, 8
test esi, esi
je 0x668299
cmp byte [esp + 0x13], 0
mov ecx, str.__non_permanent_
mov eax, 0x70d2d8
cmove eax, ecx
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x74]
push dword [esp + 0x20]
push eax
push str.Added__s:_d:_s_to_DNS_cache_s
push ebx
call fcn.0065f950
add esp, 0x18
cmp byte [esp + 0x6c], 0x2a
jne 0x668239
cmp byte [esp + 0x6d], 0
jne 0x668239
push dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push str.RESOLVE__s:_d_is_wildcard__enabling_wildcard_checks
push ebx
call fcn.0065f950
add esp, 0x10
mov byte [ebx + 0xd27], 1
mov ebp, dword [esp + 0x20]
mov ebp, dword [ebp + 4]
mov dword [esp + 0x20], ebp
test ebp, ebp
jne 0x667f04
mov dword [ebx + 0xc94], 0
xor eax, eax
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00622d3e
add esp, 0x268
ret
mov ecx, dword [esp + 0x24]
mov ebp, eax
mov dword [esp + 0x1c], eax
jmp 0x6680f6
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push str.Resolve_address__s_found_illegal
push esi
call fcn.0065f950
add esp, 0xc
jmp 0x6682ad
push edi
call fcn.00673c20
add esp, 4
mov eax, 0x1b
jmp 0x668258
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push dword [eax]
push str.Couldnt_parse_CURLOPT_RESOLVE_entry__s
push esi
call fcn.0065f880
mov edi, dword [esp + 0x28]
push edi
call fcn.00673c20
add esp, 0x10
mov eax, 0x31
jmp 0x668258
call fcn.0062443c
int3