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

Disassembly:
sub esp, 0x268
mov eax, dword [0x57f0b4]
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 + 0xcb8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0
mov byte [ebx + 0xd48], 0
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x4e885c
mov esi, dword [ebp]
test esi, esi
je 0x4e884d
mov al, byte [esi]
mov byte [esp + 0x17], al
cmp al, 0x2d
jne 0x4e8581
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esi + 1]
push str._255_:_:_d
push eax
call fcn.004d4470
add esp, 0x10
cmp eax, 2
je 0x4e84c3
push dword [ebp]
push str.Couldnt_parse_CURLOPT_RESOLVE_removal_entry__s
push ebx
call fcn.004de5c0
add esp, 0xc
jmp 0x4e884d
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 0x4e84d5
sub esi, ecx
cmp esi, 0xff
jbe 0x4e84ed
mov esi, 0xff
jmp 0x4e84f1
test esi, esi
je 0x4e8519
lea ebx, [esp + 0x6c]
lea eax, [esp + 0x16c]
sub ebx, eax
nop
movzx eax, byte [ebx + edi]
push eax
call fcn.00529fcb
mov byte [edi], al
add esp, 4
inc edi
sub esi, 1
jne 0x4e8500
mov ebx, dword [esp + 0x10]
push ebp
push 0x551944
push 7
push edi
call fcn.004e2c90
lea esi, [esp + 0x17c]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4e8534
sub esi, ecx
cmp dword [ebx + 0x78], 0
je 0x4e8550
push 2
push 3
push ebx
call fcn.004e4820
add esp, 0xc
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x170]
push eax
push dword [ebx + 0x68]
call fcn.004e7d30
add esp, 0xc
cmp dword [ebx + 0x78], 0
je 0x4e8849
push 3
push ebx
call fcn.004e4860
add esp, 8
jmp 0x4e8849
xor ebp, ebp
mov dword [esp + 0x20], 0
cmp al, 0x2b
jne 0x4e8590
inc esi
push 0x3a
push esi
call fcn.0051a760
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4e88aa
mov edi, ebx
sub edi, esi
cmp edi, 0x100
jge 0x4e88aa
push edi
lea eax, [esp + 0x70]
push esi
push eax
call fcn.0051ad20
add esp, 0xc
cmp edi, 0x100
jae 0x4e88d3
push 0xa
lea eax, [esp + 0x28]
mov byte [esp + edi + 0x70], 0
push eax
inc ebx
push ebx
call fcn.0052248d
add esp, 0xc
cmp eax, 0xffff
ja 0x4e88aa
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x4e88aa
cmp byte [ecx], 0x3a
jne 0x4e88aa
mov dword [esp + 0x18], eax
lea eax, [ecx + 1]
cmp byte [ecx], 0
mov dword [esp + 0x28], eax
je 0x4e88aa
nop word [eax + eax]
lea edi, [ecx + 1]
push 0x2c
push edi
call fcn.0051a760
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e864c
mov eax, edi
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e8640
sub eax, edx
lea esi, [eax + edi]
mov ecx, esi
mov dword [esp + 0x24], ecx
cmp byte [edi], 0x5b
jne 0x4e866a
cmp esi, edi
je 0x4e88aa
dec esi
cmp byte [esi], 0x5d
jne 0x4e88aa
inc edi
sub esi, edi
je 0x4e86ae
cmp esi, 0x40
jae 0x4e88aa
push esi
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0051ad20
push dword [esp + 0x24]
lea eax, [esp + 0x3c]
mov byte [esp + esi + 0x3c], 0
push eax
call fcn.004f2370
add esp, 0x14
test eax, eax
je 0x4e8881
test ebp, ebp
je 0x4e86ed
mov dword [ebp + 0x1c], eax
mov ebp, eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp byte [ecx], 0
jne 0x4e8620
test eax, eax
je 0x4e88aa
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 0x4e86d5
sub esi, ecx
cmp esi, 0xff
jbe 0x4e86f9
mov esi, 0xff
jmp 0x4e86fd
mov ecx, dword [esp + 0x24]
mov ebp, eax
mov dword [esp + 0x20], eax
jmp 0x4e86b2
test esi, esi
je 0x4e8725
lea ebx, [esp + 0x6c]
lea eax, [esp + 0x16c]
sub ebx, eax
nop word [eax + eax]
movzx eax, byte [ebx + edi]
push eax
call fcn.00529fcb
mov byte [edi], al
add esp, 4
inc edi
sub esi, 1
jne 0x4e8710
push ebp
push 0x551944
push 7
push edi
call fcn.004e2c90
lea esi, [esp + 0x17c]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4e8740
mov ebx, dword [esp + 0x10]
sub esi, ecx
cmp dword [ebx + 0x78], 0
je 0x4e8760
push 2
push 3
push ebx
call fcn.004e4820
add esp, 0xc
inc esi
lea eax, [esp + 0x16c]
push esi
push eax
push dword [ebx + 0x68]
call fcn.004e7eb0
add esp, 0xc
test eax, eax
je 0x4e87a1
push dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push str.RESOLVE__s:_d_is___old_addresses_discarded
push ebx
call fcn.004de5c0
push esi
lea eax, [esp + 0x180]
push eax
push dword [ebx + 0x68]
call fcn.004e7d30
add esp, 0x1c
push dword [esp + 0x18]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x70]
push eax
push edi
push ebx
call fcn.004e8030
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4e87d6
cmp byte [esp + 0x17], 0x2b
je 0x4e87d3
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
dec dword [esi + 0x10]
cmp dword [ebx + 0x78], 0
je 0x4e87e7
push 3
push ebx
call fcn.004e4860
add esp, 8
test esi, esi
je 0x4e889a
cmp byte [esp + 0x17], 0x2b
mov ecx, str.__non_permanent_
mov eax, 0x563af1
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.004de5c0
add esp, 0x18
cmp byte [esp + 0x6c], 0x2a
jne 0x4e8849
cmp byte [esp + 0x6d], 0
jne 0x4e8849
push dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push str.RESOLVE__s:_d_is_wildcard__enabling_wildcard_checks
push ebx
call fcn.004de5c0
add esp, 0x10
mov byte [ebx + 0xd48], 1
mov ebp, dword [esp + 0x1c]
mov ebp, dword [ebp + 4]
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x4e8474
mov dword [ebx + 0xcb8], 0
xor eax, eax
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00518690
add esp, 0x268
ret
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push str.Resolve_address__s_found_illegal
push esi
call fcn.004de5c0
add esp, 0xc
jmp 0x4e88ae
push edi
call fcn.004f1fa0
add esp, 4
mov eax, 0x1b
jmp 0x4e8868
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push dword [eax]
push str.Couldnt_parse_CURLOPT_RESOLVE_entry__s
push esi
call fcn.004de4f0
mov edi, dword [esp + 0x2c]
push edi
call fcn.004f1fa0
add esp, 0x10
mov eax, 0x31
jmp 0x4e8868
call fcn.00518acb
int3