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

Disassembly:
sub esp, 0x264
mov eax, dword [0x630160]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x278]
mov ebp, dword [edi + 0xe08]
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [edi + 0xeac], ebx
mov dword [esp + 0x18], ebp
cmp ebp, ebx
je 0x4c4713
mov esi, dword [ebp]
cmp esi, ebx
je 0x4c46b0
cmp byte [esi], 0x2d
jne 0x4c443d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x6c]
push ecx
push str._255_:_:_d
inc esi
push esi
call fcn.00419f0b
add esp, 0x10
cmp eax, 2
je 0x4c43ca
mov edx, dword [ebp]
push edx
push str.Couldnt_parse_CURLOPT_RESOLVE_removal_entry__s
push edi
call fcn.004c81e0
add esp, 0xc
jmp 0x4c46b0
mov eax, dword [esp + 0x10]
push 0x106
push eax
lea eax, [esp + 0x170]
lea ecx, [esp + 0x70]
call fcn.004c3aa0
lea eax, [esp + 0x170]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c43f1
sub eax, edx
mov esi, eax
cmp dword [edi + 0x78], ebx
je 0x4c440e
push 2
push 3
push edi
call fcn.004be450
add esp, 0xc
mov edx, dword [edi + 0x68]
inc esi
push esi
lea ecx, [esp + 0x16c]
push ecx
push edx
call fcn.004c2c40
add esp, 0xc
cmp dword [edi + 0x78], ebx
je 0x4c46b0
push 3
push edi
call fcn.004be490
add esp, 8
jmp 0x4c46b0
cmp byte [esi], 0x2b
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 1
jne 0x4c4453
inc esi
mov dword [esp + 0x24], ebx
push 0x3a
push esi
call fcn.0041cb40
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x4c46dd
mov edi, ebp
sub edi, esi
cmp edi, 0x100
jge 0x4c46d9
push edi
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.00422ff0
push 0xa
lea ecx, [esp + 0x30]
push ecx
lea esi, [ebp + 1]
push esi
mov byte [esp + edi + 0x80], 0
call fcn.0041bb1f
add esp, 0x18
cmp eax, 0xffff
ja 0x4c46d9
mov ecx, dword [esp + 0x20]
cmp ecx, esi
je 0x4c46d9
cmp byte [ecx], 0x3a
jne 0x4c46d9
mov dword [esp + 0x10], eax
cmp byte [ecx], 0
lea ebp, [ecx + 1]
je 0x4c46d9
nop
lea esi, [ecx + 1]
push 0x2c
push esi
call fcn.0041cb40
add esp, 8
test eax, eax
jne 0x4c44f2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c44e7
sub eax, edx
add eax, esi
mov ecx, eax
mov dword [esp + 0x20], ecx
cmp byte [esi], 0x5b
jne 0x4c4511
cmp eax, esi
je 0x4c46d9
cmp byte [eax - 1], 0x5d
jne 0x4c46d9
inc esi
dec eax
sub eax, esi
mov edi, eax
je 0x4c455e
cmp edi, 0x40
jae 0x4c46d9
push edi
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00422ff0
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + edi + 0x3c], 0
call fcn.004e25a0
add esp, 0x14
test eax, eax
je 0x4c46c2
test ebx, ebx
je 0x4c4554
mov dword [ebx + 0x1c], eax
jmp 0x4c4558
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
mov ebx, eax
cmp byte [ecx], 0
jne 0x4c44d0
cmp dword [esp + 0x1c], 0
je 0x4c46d9
mov edx, dword [esp + 0x10]
push 0x106
push edx
lea eax, [esp + 0x170]
lea ecx, [esp + 0x70]
call fcn.004c3aa0
lea eax, [esp + 0x170]
add esp, 8
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c45a0
mov edi, dword [esp + 0x14]
sub eax, edx
cmp dword [edi + 0x78], 0
mov esi, eax
je 0x4c45c2
push 2
push 3
push edi
call fcn.004be450
add esp, 0xc
mov ecx, dword [edi + 0x68]
inc esi
push esi
lea eax, [esp + 0x16c]
push eax
push ecx
call fcn.004c2cc0
add esp, 0xc
test eax, eax
je 0x4c4606
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x6c]
push eax
push str.RESOLVE__s:_d_is___old_addresses_discarded_
push edi
call fcn.004c81e0
mov edx, dword [edi + 0x68]
push esi
lea ecx, [esp + 0x17c]
push ecx
push edx
call fcn.004c2c40
add esp, 0x1c
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x6c]
push ecx
push ebx
push edi
call fcn.004c3eb0
mov esi, eax
xor eax, eax
add esp, 0x10
cmp esi, eax
je 0x4c4635
cmp dword [esp + 0x24], eax
je 0x4c4632
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
dec dword [esi + 0x10]
cmp dword [edi + 0x78], eax
je 0x4c4645
push 3
push edi
call fcn.004be490
add esp, 8
test esi, esi
je 0x4c4703
cmp dword [esp + 0x24], 0
mov eax, 0x62336f
jne 0x4c465e
mov eax, str.__non_permanent_
mov edx, dword [esp + 0x10]
push eax
push ebp
push edx
lea eax, [esp + 0x74]
push eax
push str.Added__s:_d:_s_to_DNS_cache_s
push edi
call fcn.004c81e0
add esp, 0x18
cmp byte [esp + 0x68], 0x2a
jne 0x4c46aa
cmp byte [esp + 0x69], 0
jne 0x4c46aa
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x6c]
push edx
push str.RESOLVE__s:_d_is_wildcard__enabling_wildcard_checks
mov esi, edi
push esi
call fcn.004c81e0
add esp, 0x10
mov dword [esi + 0xeac], 1
mov ebp, dword [esp + 0x18]
xor ebx, ebx
mov eax, dword [ebp + 4]
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x4c4713
mov ebp, eax
jmp 0x4c4381
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push str.Resolve_address__s_found_illegal_
push ecx
call fcn.004c81e0
add esp, 0xc
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push eax
push str.Couldnt_parse_CURLOPT_RESOLVE_entry__s_
push edi
call fcn.004c8260
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004e2180
add esp, 0x10
mov eax, 0x31
jmp 0x4c471b
push ebx
call fcn.004e2180
add esp, 4
mov eax, 0x1b
jmp 0x4c471b
mov dword [edi + 0xe08], ebx
xor eax, eax
mov ecx, dword [esp + 0x270]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00418878
add esp, 0x264
ret