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

Disassembly:
sub esp, 0x268
mov eax, dword [0x1008602c]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
mov ebx, dword [esp + 0x270]
push ebp
push esi
push edi
mov esi, dword [ebx + 0xca0]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0
mov byte [ebx + 0xd08], 0
mov dword [esp + 0x24], esi
test esi, esi
je 0x100206bf
mov esi, dword [esi]
test esi, esi
je 0x100206ac
mov al, byte [esi]
mov byte [esp + 0x17], al
cmp al, 0x2d
jne 0x100203b1
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esi + 1]
push str._255_:_:_d
push eax
call fcn.1000d160
add esp, 0x10
cmp eax, 2
je 0x100202f5
mov eax, dword [esp + 0x24]
push dword [eax]
push str.Couldnt_parse_CURLOPT_RESOLVE_removal_entry__s__n
push ebx
call fcn.10017c70
add esp, 0xc
jmp 0x100206ac
mov ebp, dword [esp + 0x18]
lea esi, [esp + 0x6c]
lea edi, [esp + 0x16c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10020307
sub esi, ecx
cmp esi, 0xff
jbe 0x1002031f
mov esi, 0xff
jmp 0x10020323
test esi, esi
je 0x10020349
lea ebx, [esp + 0x6c]
lea eax, [esp + 0x16c]
sub ebx, eax
movzx eax, byte [ebx + edi]
push eax
call fcn.1005db6b
mov byte [edi], al
add esp, 4
inc edi
sub esi, 1
jne 0x10020330
mov ebx, dword [esp + 0x10]
push ebp
push 0x100737f8
push 7
push edi
call fcn.10028fc0
lea esi, [esp + 0x17c]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10020364
sub esi, ecx
cmp dword [ebx + 0x78], 0
je 0x10020380
push 2
push 3
push ebx
call fcn.1001c880
add esp, 0xc
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x170]
push eax
push dword [ebx + 0x68]
call fcn.1001fb70
add esp, 0xc
cmp dword [ebx + 0x78], 0
je 0x100206ac
push 3
push ebx
call fcn.1001c8c0
add esp, 8
jmp 0x100206ac
xor ebp, ebp
mov dword [esp + 0x1c], 0
cmp al, 0x2b
jne 0x100203c0
inc esi
push 0x3a
push esi
call fcn.10054510
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1002068a
mov edi, ebx
sub edi, esi
cmp edi, 0x100
jge 0x1002068a
push edi
lea eax, [esp + 0x70]
push esi
push eax
call fcn.10053f90
add esp, 0xc
cmp edi, 0x100
jae 0x100206f4
push 0xa
lea eax, [esp + 0x24]
mov byte [esp + edi + 0x70], 0
push eax
inc ebx
push ebx
call fcn.1005e82f
add esp, 0xc
cmp eax, 0xffff
ja 0x1002068a
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x1002068a
cmp byte [ecx], 0x3a
jne 0x1002068a
mov dword [esp + 0x18], eax
lea eax, [ecx + 1]
cmp byte [ecx], 0
mov dword [esp + 0x28], eax
je 0x1002068a
nop word [eax + eax]
lea edi, [ecx + 1]
push 0x2c
push edi
call fcn.10054510
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002047c
mov eax, edi
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10020470
sub eax, edx
lea esi, [eax + edi]
mov ecx, esi
mov dword [esp + 0x20], ecx
cmp byte [edi], 0x5b
jne 0x1002049a
cmp esi, edi
je 0x1002068a
dec esi
cmp byte [esi], 0x5d
jne 0x1002068a
inc edi
sub esi, edi
je 0x100204da
cmp esi, 0x40
jae 0x1002068a
push esi
lea eax, [esp + 0x30]
push edi
push eax
call fcn.10053f90
push dword [esp + 0x24]
lea eax, [esp + 0x3c]
mov byte [esp + esi + 0x3c], 0
push eax
call fcn.1002c900
add esp, 0x14
test eax, eax
je 0x10020525
test ebp, ebp
je 0x10020519
mov dword [ebp + 0x1c], eax
mov ebp, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp byte [ecx], 0
jne 0x10020450
test eax, eax
je 0x1002068a
mov ebp, dword [esp + 0x18]
lea esi, [esp + 0x6c]
lea edi, [esp + 0x16c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10020501
sub esi, ecx
cmp esi, 0xff
jbe 0x10020541
mov esi, 0xff
jmp 0x10020545
mov ecx, dword [esp + 0x20]
mov ebp, eax
mov dword [esp + 0x1c], eax
jmp 0x100204de
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push str.Resolve_address__s_found_illegal__n
push ebx
call fcn.10017c70
add esp, 0xc
jmp 0x1002068e
test esi, esi
je 0x10020567
lea ebx, [esp + 0x6c]
lea eax, [esp + 0x16c]
sub ebx, eax
movzx eax, byte [ebx + edi]
push eax
call fcn.1005db6b
mov byte [edi], al
add esp, 4
inc edi
sub esi, 1
jne 0x10020552
push ebp
push 0x100737f8
push 7
push edi
call fcn.10028fc0
lea esi, [esp + 0x17c]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10020582
mov ebx, dword [esp + 0x10]
sub esi, ecx
cmp dword [ebx + 0x78], 0
je 0x100205a2
push 2
push 3
push ebx
call fcn.1001c880
add esp, 0xc
inc esi
lea eax, [esp + 0x16c]
push esi
push eax
push dword [ebx + 0x68]
call fcn.1001fd30
add esp, 0xc
test eax, eax
je 0x100205e3
push dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push str.RESOLVE__s:_d_is___old_addresses_discarded__n
push ebx
call fcn.10017c70
push esi
lea eax, [esp + 0x180]
push eax
push dword [ebx + 0x68]
call fcn.1001fb70
add esp, 0x1c
push dword [esp + 0x18]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x70]
push eax
push edi
push ebx
call fcn.1001ff10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10020618
cmp byte [esp + 0x17], 0x2b
je 0x10020615
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
dec dword [esi + 0x10]
cmp dword [ebx + 0x78], 0
je 0x10020629
push 3
push ebx
call fcn.1001c8c0
add esp, 8
test esi, esi
je 0x100206e4
cmp byte [esp + 0x17], 0x2b
mov ecx, str.__non_permanent_
mov eax, 0x100713a9
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_n
push ebx
call fcn.10017c70
add esp, 0x18
cmp byte [esp + 0x6c], 0x2a
jne 0x100206ac
cmp byte [esp + 0x6d], 0
jne 0x100206ac
push dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push str.RESOLVE__s:_d_is_wildcard__enabling_wildcard_checks_n
push ebx
call fcn.10017c70
mov byte [ebx + 0xd08], 1
jmp 0x100206a9
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push dword [eax]
push str.Couldnt_parse_CURLOPT_RESOLVE_entry__s__n
push ebx
call fcn.10017c70
mov edi, dword [esp + 0x28]
push edi
call fcn.1002c530
add esp, 0x10
mov esi, dword [esp + 0x24]
mov esi, dword [esi + 4]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x100202a4
mov dword [ebx + 0xca0], 0
xor eax, eax
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10052640
add esp, 0x268
ret
push edi
call fcn.1002c530
add esp, 4
mov eax, 0x1b
jmp 0x100206cb
call fcn.10052bec
int3