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

Disassembly:
sub esp, 0x16c
mov eax, dword [0x5a83f8]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
mov ebp, dword [esp + 0x178]
push esi
push edi
mov esi, dword [ebp + 0xc4c]
mov byte [ebp + 0xd08], 0
mov dword [esp + 0x14], esi
test esi, esi
je 0x439d62
mov esi, dword [esi]
mov dword [esp + 0x28], esi
test esi, esi
je 0x439d4f
cmp byte [esi], 0x2d
jne 0x439ad7
lea eax, [esi + 1]
push 0x3a
push eax
call fcn.004efd70
mov edi, eax
add esp, 8
test edi, edi
je 0x439ac1
mov eax, dword [esp + 0x14]
mov esi, edi
push 0xa
inc edi
push 0
sub esi, dword [eax]
push edi
call fcn.004fe22a
add esp, 0xc
mov ebx, eax
sub esi, 1
je 0x439ac1
cmp ebx, 0xffff
ja 0x439ac1
test edi, edi
je 0x439ac1
mov eax, dword [esp + 0x14]
mov ecx, 0xff
mov eax, dword [eax]
inc eax
cmp esi, 0xff
cmova esi, ecx
push esi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004367c0
push ebx
push 0x5525c8
lea eax, [esp + 0x84]
add eax, esi
push 7
push eax
call fcn.00435230
add esp, 0x1c
cmp dword [ebp + 0x84], 0
lea edi, [eax + 1]
je 0x439a90
push 2
push 3
push ebp
call fcn.00437a40
add esp, 0xc
lea eax, [edi + esi]
push eax
lea eax, [esp + 0x74]
push eax
push dword [ebp + 0x74]
call fcn.004392b0
add esp, 0xc
cmp dword [ebp + 0x84], 0
je 0x439d4f
push 3
push ebp
call fcn.00437a80
add esp, 8
jmp 0x439d4f
mov eax, dword [esp + 0x14]
push dword [eax]
push str.Bad_syntax_CURLOPT_RESOLVE_removal_entry__s
push ebp
call fcn.0042ffe0
jmp 0x439d4c
xor ebx, ebx
mov dword [esp + 0x18], 0
cmp byte [esi], 0x2b
mov byte [esp + 0x13], 1
jne 0x439af4
inc esi
mov byte [esp + 0x13], bl
mov dword [esp + 0x28], esi
push 0x3a
push esi
call fcn.004efd70
add esp, 8
test eax, eax
je 0x439d9a
mov ecx, eax
sub ecx, esi
lea esi, [eax + 1]
push 0xa
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push eax
push esi
call fcn.004fe22a
add esp, 0xc
mov dword [esp + 0x20], eax
cmp eax, 0xffff
ja 0x439d9a
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x439d9a
cmp byte [ecx], 0x3a
jne 0x439d9a
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
nop dword [eax]
lea edi, [ecx + 1]
push 0x2c
push edi
call fcn.004efd70
mov esi, eax
add esp, 8
test esi, esi
jne 0x439b7c
mov eax, edi
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439b70
sub eax, edx
lea esi, [eax + edi]
mov ecx, esi
mov dword [esp + 0x1c], ecx
cmp byte [edi], 0x5b
jne 0x439b9a
cmp esi, edi
je 0x439d9a
dec esi
cmp byte [esi], 0x5d
jne 0x439d9a
inc edi
sub esi, edi
je 0x439bed
cmp esi, 0x40
jae 0x439d9a
push esi
lea eax, [esp + 0x34]
push edi
push eax
call fcn.004effe0
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
push edi
push eax
mov byte [esp + esi + 0x44], 0
call fcn.00443570
add esp, 0x14
test eax, eax
je 0x439d87
test ebx, ebx
je 0x439be1
mov dword [ebx + 0x1c], eax
mov ebx, eax
mov ecx, dword [esp + 0x1c]
jmp 0x439bf1
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x439bf5
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp byte [ecx], 0
jne 0x439b50
test eax, eax
je 0x439d9a
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x439c16
mov esi, eax
jmp 0x439c29
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x439c20
sub esi, ecx
cmp esi, 0xff
mov eax, 0xff
cmova esi, eax
lea eax, [esp + 0x70]
push esi
push ebx
push eax
call fcn.004367c0
push edi
push 0x5525c8
lea eax, [esp + 0x84]
add eax, esi
push 7
push eax
call fcn.00435230
add esp, 0x1c
cmp dword [ebp + 0x84], 0
lea edi, [eax + 1]
je 0x439c76
push 2
push 3
push ebp
call fcn.00437a40
add esp, 0xc
add esi, edi
lea eax, [esp + 0x70]
push esi
push eax
push dword [ebp + 0x74]
call fcn.00439410
mov edi, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x439cb6
push edi
push ebx
push dword [esp + 0x2c]
push str.RESOLVE__.s:_d___old_addresses_discarded
push ebp
call fcn.0042ffe0
push esi
lea eax, [esp + 0x88]
push eax
push dword [ebp + 0x74]
call fcn.004392b0
add esp, 0x20
push edi
push dword [esp + 0x28]
push ebx
push dword [esp + 0x24]
push ebp
call fcn.00439590
mov esi, eax
add esp, 0x14
test esi, esi
je 0x439ce7
cmp byte [esp + 0x13], 0
je 0x439ce4
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
dec dword [esi + 0x10]
cmp dword [ebp + 0x84], 0
je 0x439cfb
push 3
push ebp
call fcn.00437a80
add esp, 8
test esi, esi
je 0x439dbe
cmp byte [esp + 0x13], 0
mov ecx, str.__non_permanent_
mov esi, dword [esp + 0x24]
mov eax, 0x54d877
cmove eax, ecx
push eax
push dword [esp + 0x30]
push edi
push ebx
push esi
push str.Added__.s:_d:_s_to_DNS_cache_s
push ebp
call fcn.0042ffe0
add esp, 0x1c
cmp esi, 1
jne 0x439d4f
cmp byte [ebx], 0x2a
jne 0x439d4f
push edi
push str.RESOLVE_:_d_using_wildcard
push ebp
call fcn.0042ffe0
mov byte [ebp + 0xd08], 1
add esp, 0xc
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 4]
mov dword [esp + 0x14], esi
test esi, esi
jne 0x4399d8
mov dword [ebp + 0xc4c], 0
xor eax, eax
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046ec22
add esp, 0x16c
ret
lea eax, [esp + 0x30]
push eax
push str.Resolve_address__s_found_illegal
push ebp
call fcn.0042ffe0
add esp, 0xc
mov eax, dword [esp + 0x14]
push dword [eax]
push str.Couldnt_parse_CURLOPT_RESOLVE_entry__s
push ebp
call fcn.0042ff10
push dword [esp + 0x24]
call fcn.00443320
add esp, 0x10
mov eax, 0x31
jmp 0x439d6e
push dword [esp + 0x18]
call fcn.00443320
add esp, 4
mov eax, 0x1b
jmp 0x439d6e